https://bugzilla.redhat.com/show_bug.cgi?id=1206915
Bug ID: 1206915 Summary: Segfault during upgrade; Segmentation fault (core dumped) perl -MXML::SAX -e "XML::SAX->add_parser(q($p))->save_parsers()" 2> /dev/null Product: Fedora Version: 22 Component: perl-XML-SAX Assignee: jplesnik@redhat.com Reporter: rh@treblig.org QA Contact: extras-qa@fedoraproject.org CC: jplesnik@redhat.com, mmaslano@redhat.com, perl-devel@lists.fedoraproject.org, ppisar@redhat.com, psabata@redhat.com
Description of problem: I'm doing an upgrade from f21 to f22 on my desktop using /usr/bin/python /bin/yum --releasever=22 distro-sync;
I noticed the following scroll past:
Updating : perl-XML-DOM-1.44-22.fc22.noarch 1086/6554 Updating : perl-XML-SAX-0.99-13.fc22.noarch 1087/6554 /var/tmp/rpm-tmp.snqBZr: line 1: 8137 Segmentation fault (core dumped) perl -MXML::SAX -e "XML::SAX->add_parser(q($p))->save_parsers()" 2> /dev/null /var/tmp/rpm-tmp.snqBZr: line 1: 8139 Segmentation fault (core dumped) perl -MXML::SAX -e "XML::SAX->add_parser(q($p))->save_parsers()" 2> /dev/null
dmesg shows: [13717.710503] perl[8137]: segfault at 5 ip 00007f577661fe0e sp 00007ffe05f01e40 error 4 in LibXML.so[7f57765dd000+69000] [13717.814099] perl[8139]: segfault at 5 ip 00007f773b509e0e sp 00007ffdadceee30 error 4 in LibXML.so[7f773b4c7000+69000]
Version-Release number of selected component (if applicable): rpm -qa | grep perl-XML-SAX
perl-XML-SAX-0.99-13.fc22.noarch perl-XML-SAX-Base-1.08-12.fc22.noarch perl-XML-SAX-0.99-12.fc21.noarch perl-XML-SAX-Base-1.08-11.fc21.noarch
[dg@major ~]$ rpm -qa | grep LibXML perl-XML-LibXML-2.0118-1.fc22.x86_64 perl-XML-LibXML-2.0116-3.fc21.x86_64
(These rpm -qa's were taken as the upgrade was still running)
How reproducible: Not sure, I've only done the update once
Steps to Reproduce: 1. Take a happy f21 install 2. Do upgrade to f22 using yum distro-sync 3. Watch the messages as they scroll
Actual results: Segmentation fault (core dumped) perl -MXML::SAX -e "XML::SAX->add_parser(q($p))->save_parsers()" 2> /dev/null
Expected results: No seg fault
Additional info:
https://bugzilla.redhat.com/show_bug.cgi?id=1206915
Jan Pokorný jpokorny@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jpokorny@redhat.com
--- Comment #1 from Jan Pokorný jpokorny@redhat.com --- Same observation, this time during "fedup" upgrade (phase between reboots), with officially blessed Fedora 22.
perl-XML-SAX-0.99-13.fc22.noarch.rpm
Note that the installation order was as follows:
[...] perl-XML-SAX-Base-1.08-12.fc22.noarch.rpm [...] perl-XML-SAX-0.99-13.fc22.noarch.rpm perl-XML-LibXML-2.0121-1.fc22.x86_64.rpm [...]
https://bugzilla.redhat.com/show_bug.cgi?id=1206915
Jitka Plesnikova jplesnik@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rjones@redhat.com
--- Comment #2 from Jitka Plesnikova jplesnik@redhat.com --- *** Bug 1235260 has been marked as a duplicate of this bug. ***
https://bugzilla.redhat.com/show_bug.cgi?id=1206915
--- Comment #3 from Jitka Plesnikova jplesnik@redhat.com --- The issue is caused due to triggerin scriptlet in perl-XML-LibXML which is executed after updating of perl-XML-SAX.
$ rpm -q --triggerscripts perl-XML-LibXML triggerin scriptlet (using /bin/sh) -- perl-XML-SAX for p in XML::LibXML::SAX::Parser XML::LibXML::SAX ; do perl -MXML::SAX -e "XML::SAX->add_parser(q($p))->save_parsers()" \ 2>/dev/null || : done
The scriptlet is run from old perl-XML-LibXML, but newer Perl and perl-XML-SAX were on the system. Old perl-XML-LibXML code segfaults with new major release of Perl.
The trigger was added for BZ#121168
The version of Perl in Fedoras: F21: 5.18 F22: 5.20 Rawhide: 5.22
I don't know how to fix it properly right now.
https://bugzilla.redhat.com/show_bug.cgi?id=1206915
Petr Pisar ppisar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |customercare@resellerdeskto | |p.de
--- Comment #4 from Petr Pisar ppisar@redhat.com --- *** Bug 1313077 has been marked as a duplicate of this bug. ***
https://bugzilla.redhat.com/show_bug.cgi?id=1206915
Jitka Plesnikova jplesnik@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |NEW Version|22 |23 Resolution|EOL |--- Keywords| |Reopened
https://bugzilla.redhat.com/show_bug.cgi?id=1206915
Fedora End Of Life jkurik@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |EOL Last Closed| |2016-07-19 09:16:01
--- Comment #5 from Fedora End Of Life jkurik@fedoraproject.org --- Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug.
Thank you for reporting this bug and we are sorry it could not be fixed.
https://bugzilla.redhat.com/show_bug.cgi?id=1206915
--- Comment #6 from Fedora End Of Life jkurik@fedoraproject.org --- This message is a reminder that Fedora 23 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 23. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '23'.
Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 23 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
https://bugzilla.redhat.com/show_bug.cgi?id=1206915
Jitka Plesnikova jplesnik@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|23 |rawhide
https://bugzilla.redhat.com/show_bug.cgi?id=1206915
--- Comment #8 from customercare@resellerdesktop.de --- Still not fixed in fc24 packages:
Today:
dnf --allowerasing --releasever=24 --setopt=deltarpm=false distro-sync
...
Aktualisieren : libselinux-python-2.5-12.fc24.i686 606/2081 Aktualisieren : python-talloc-2.1.9-1.fc24.i686 607/2081 Installieren : guile-5:2.0.13-1.fc24.i686 608/2081 Aktualisieren : make-1:4.1-5.fc24.i686 609/2081 Aktualisieren : openssl-1:1.0.2k-1.fc24.i686 610/2081 Aktualisieren : perl-IO-Socket-SSL-2.025-1.fc24.noarch 611/2081 Aktualisieren : perl-Net-HTTP-6.16-1.fc24.noarch 612/2081 Aktualisieren : perl-libwww-perl-6.15-2.fc24.noarch 613/2081 Aktualisieren : perl-XML-SAX-0.99-16.fc24.noarch 614/2081 /var/tmp/rpm-tmp.olvilZ: Zeile 1: 9276 Speicherzugriffsfehler (Speicherabzug geschrieben) perl -MXML::SAX -e "XML::SAX->add_parser(q($p))->save_parsers()" 2> /dev/null /var/tmp/rpm-tmp.olvilZ: Zeile 1: 9278 Speicherzugriffsfehler (Speicherabzug geschrieben) perl -MXML::SAX -e "XML::SAX->add_parser(q($p))->save_parsers()" 2> /dev/null Aktualisieren : perl-Net-SMTP-SSL-1.03-2.fc24.noarch 615/2081 Aktualisieren : perl-MailTools-2.18-1.fc24.noarch 616/2081 Aktualisieren : perl-Log-Dispatch-2.54-4.fc24.noarch 617/2081 Aktualisieren : perl-Log-Dispatch-FileRotate-1.19-20.fc24.noarch 618/2081 Aktualisieren : perl-Log-Log4perl-1.47-1.fc24.noarch 619/2081 Aktualisieren : perl-XML-LibXML-1:2.0128-1.fc24.i686 620/2081 Aktualisieren : mariadb-3:10.1.24-3.fc24.i686 621/2081 Aktualisieren : alsa-lib-1.1.1-1.fc24.i686 622/2081 Aktualisieren : t1lib-5.1.2-18.fc24.i686
https://bugzilla.redhat.com/show_bug.cgi?id=1206915
--- Comment #9 from Fedora End Of Life jkurik@fedoraproject.org --- This message is a reminder that Fedora 26 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 26. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '26'.
Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 26 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
https://bugzilla.redhat.com/show_bug.cgi?id=1206915
Jitka Plesnikova jplesnik@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|26 |27
https://bugzilla.redhat.com/show_bug.cgi?id=1206915
--- Comment #10 from Ben Cotton bcotton@redhat.com --- This message is a reminder that Fedora 27 is nearing its end of life. On 2018-Nov-30 Fedora will stop maintaining and issuing updates for Fedora 27. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '27'.
Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 27 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
https://bugzilla.redhat.com/show_bug.cgi?id=1206915
Jitka Plesnikova jplesnik@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|27 |28
perl-devel@lists.fedoraproject.org