https://bugzilla.redhat.com/show_bug.cgi?id=2236684
Bug ID: 2236684
Summary: Vim-9.0.1822 Perl module segfaults in
S_parse_gv_stash_name()
Product: Fedora
Version: rawhide
OS: Linux
Status: NEW
Component: perl
Severity: medium
Assignee: jplesnik(a)redhat.com
Reporter: zdohnal(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: iarnell(a)gmail.com, jplesnik(a)redhat.com, kasal(a)ucw.cz,
mmaslano(a)redhat.com, mspacek(a)redhat.com,
perl-devel(a)lists.fedoraproject.org, ppisar(a)redhat.com,
psabata(a)redhat.com, rhughes(a)redhat.com,
spotrh(a)gmail.com
Target Milestone: ---
Classification: Fedora
Vim upstream fixed issue with dynamic Perl load in
https://github.com/vim/vim/commit/55460da26c2756ec057c03c7d8641eda861bfcd2 -
previously Perl was dynamically linked with VIm, which ended up with Vim
depending on perl-libs, which was unintentional.
Since the new patchlevel Vim started to segfault when perl module is used. The
segfault happens with Perl in all current Fedora releases (F37+).
I've tried to compile Perl 5.38 by myself from upstream tarball and segfault
disappeared. The issue is not present in Ubuntu either (compiled upstream Vim
with their local Perl).
I'll attach 'perl -V' from my compilation (Fedora 40) and from Ubuntu 23.04,
and backtrace from Fedora 40 with packaged Perl.
Reproducible: Always
Steps to Reproduce:
$ sudo dnf -y install
https://kojipkgs.fedoraproject.org//packages/vim/9.0.1822/1.fc40/noarch/v...
https://kojipkgs.fedoraproject.org//packages/vim/9.0.1822/1.fc40/noarch/v...
https://kojipkgs.fedoraproject.org//packages/vim/9.0.1822/1.fc40/x86_64/v...
https://kojipkgs.fedoraproject.org//packages/vim/9.0.1822/1.fc40/x86_64/v...
https://kojipkgs.fedoraproject.org//packages/vim/9.0.1822/1.fc40/x86_64/v...
$ sudo dnf -y install perl-devel
$ vim -c 'perl print 'hello'' -c 'q!'
Vim: Caught deadly signal SEGV
Vim: Finished.
Segmentation fault (core dumped)
Actual Results:
Segfault
Expected Results:
No segfault, return value 0
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2236684
Report this comment as SPAM:
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=rep...