[Bug 2236684] New: Vim-9.0.1822 Perl module segfaults in S_parse_gv_stash_name()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
          Reporter: zdohnal@xxxxxxxxxx
        QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: iarnell@xxxxxxxxx, jplesnik@xxxxxxxxxx, kasal@xxxxxx,
                    mmaslano@xxxxxxxxxx, mspacek@xxxxxxxxxx,
                    perl-devel@xxxxxxxxxxxxxxxxxxxxxxx, ppisar@xxxxxxxxxx,
                    psabata@xxxxxxxxxx, rhughes@xxxxxxxxxx,
                    spotrh@xxxxxxxxx
  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/vim-data-9.0.1822-1.fc40.noarch.rpm
https://kojipkgs.fedoraproject.org//packages/vim/9.0.1822/1.fc40/noarch/vim-filesystem-9.0.1822-1.fc40.noarch.rpm
https://kojipkgs.fedoraproject.org//packages/vim/9.0.1822/1.fc40/x86_64/vim-common-9.0.1822-1.fc40.x86_64.rpm
https://kojipkgs.fedoraproject.org//packages/vim/9.0.1822/1.fc40/x86_64/vim-enhanced-9.0.1822-1.fc40.x86_64.rpm
https://kojipkgs.fedoraproject.org//packages/vim/9.0.1822/1.fc40/x86_64/vim-minimal-9.0.1822-1.fc40.x86_64.rpm
$ 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=report-spam&short_desc=Report%20of%20Bug%202236684%23c0
_______________________________________________
perl-devel mailing list -- perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to perl-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite Information]

  Powered by Linux