ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-xml
perl-xml
Re: Segmentation Fault w/XML::XPath
by Cory 'G' Watson other posts by this author
Jan 19 2004 5:02PM messages near this date
view in the new Beta List Site
Re: Yet another parser | Re: [Expat-discuss] segmentation fault
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

_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Cory 'G' Watson
Ruslan U. Zakirov
Cory 'G' Watson
Cory 'G' Watson

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved