[Expat-discuss] segmentation fault

Karl Waclawek karl at waclawek.net
Fri Jan 16 20:22:43 EST 2004


> The following perl crashes my mod_perl-ed apache, but seems to point to 
> a bug in libexpat.  I'm using Debian's unstable 1.95.6 package.  Not 
> sure why they are behind :/
> 
> (I've also cc'ed the perl-xml list, JIC)
> 
> use XML::XPath;
> 
> my $xp = XML::XPath->new(xml => "<?xml version=\"1.0\" 
> encoding=\"UTF-8\" ?><config><name>Foo</name></config>"); 
> my $res = $xp->getNodeText("/config/name");
> 
> That segfaults my apache every time, but works find when run on the 
> command line.

I don't think we have any perl experts on the Expat team.
Can you reproduce this problem with a simple C program?

Karl




More information about the Expat-discuss mailing list