perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cory 'G' Watson" <gp...@loggerithim.org>
Subject Re: Segmentation Fault w/XML::XPath
Date Mon, 19 Jan 2004 17:02:59 GMT

On Jan 19, 2004, at 10:51 AM, Ruslan U. Zakirov wrote:

> Cory 'G' Watson wrote:
>> The following perl crashes my mod_perl-ed apache at startup.  I've 
>> sent the same info to the libexpat and perl-xml lists, but noone 
>> seems to have any good ideas.  So now I'll try you guys ;)
>> 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 have something like this.
> You have to rebuild your apache with --disable-rule=EXPAT
> 	Best regards. Ruslan.

This fixed my problem.  Thank you Ruslan!

Cory 'G' Watson

"The universal aptitude for ineptitude makes any human accomplishment 
an incredible miracle." - Dr. John Paul Stapp


-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html


Mime
View raw message