[Bug 1206915] Segfault during upgrade; Segmentation fault (core dumped) perl -MXML::SAX -e "XML::SAX->add_parser(q($p))->save_parsers()" 2> /dev/null

bugzilla at redhat.com bugzilla at redhat.com
Thu Jun 25 12:29:16 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1206915



--- Comment #3 from Jitka Plesnikova <jplesnik at 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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the perl-devel mailing list