[Bug 234439] Using perl's XML::LibXML Xpath function makes perl to crash
bugzilla at redhat.com
bugzilla at redhat.com
Wed Feb 27 15:23:07 UTC 2008
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.
Summary: Using perl's XML::LibXML Xpath function makes perl to crash
https://bugzilla.redhat.com/show_bug.cgi?id=234439
zby at post.cz changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
------- Additional Comments From zby at post.cz 2008-02-27 10:23 EST -------
I have upgraded my XML::LibXML off of the CPAN and the same task finished as
expected. I recommend to FC6 owners and perl XML::LibXML users doing the same thing.
[zby at DDFF ~]$ find . -type f -name current.xml
./.openoffice.org2/user/config/soffice.cfg/global/accelerator/en-US/current.xml
./.openoffice.org2/user/config/soffice.cfg/global/accelerator/cs/current.xml
./.openoffice.org2/user/config/soffice.cfg/modules/scalc/accelerator/en-US/current.xml
./.openoffice.org2/user/config/soffice.cfg/modules/scalc/accelerator/cs/current.xml
./.openoffice.org2/user/config/soffice.cfg/modules/swriter/accelerator/en-US/current.xml
./.openoffice.org2/user/config/soffice.cfg/modules/swriter/accelerator/cs/current.xml
./.openoffice.org2/user/config/soffice.cfg/modules/sdraw/accelerator/en-US/current.xml
./.openoffice.org2/user/config/soffice.cfg/modules/dbapp/accelerator/en-US/current.xml
./.openoffice.org2/user/config/soffice.cfg/modules/StartModule/accelerator/en-US/current.xml
./.openoffice.org2/user/config/soffice.cfg/modules/StartModule/accelerator/cs/current.xml
./.openoffice.org2/user/config/soffice.cfg/modules/simpress/accelerator/en-US/current.xml
./.openoffice.org2/user/config/soffice.cfg/modules/simpress/accelerator/cs/current.xml
[zby at DDFF ~]$ perl -MXML::LibXML -Mstrict -e 'my $x
=XML::LibXML->new()->parse_file(".openoffice.org2/user/config/soffice.cfg/global/accelerator/en-US/current.xml");
my @nodes=$x->findnodes("//*[count(\"accel::code\")]")->get_nodelist; print
STDOUT scalar(@nodes)."\n";'
Invalid type
xmlXPathCompiledEval: 2 objects left on the stack.
[zby at DDFF ~]$ perl -MXML::LibXML -e 'print $XML::LibXML::VERSION."\n";'
1.66
[zby at DDFF ~]$
I think I will not come back to the version with this flaw. Also, based on the
fact that there are new versions of Fedora I suppose that I will not need to
bother with this problem any further.
As far as me, you may close this report.
Thank you.
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Fedora-perl-devel-list
mailing list