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: [Expat-discuss] segmentation fault
by Cory 'G' Watson other posts by this author
Jan 19 2004 2:56PM messages near this date
view in the new Beta List Site
Re: Segmentation Fault w/XML::XPath | Re: [Expat-discuss] segmentation fault
On Jan 16, 2004, at 7:22 PM, Karl Waclawek wrote:

> > 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?

I tried to reproduce this as straight C, using the backtrace from gdb 
as a guide.  No dice.  I will try building my own libexpat, rather than 
using debian's package.

Anyone on the Perl list have any ideas?  This _only_ happens when 
started under a mod_perl'ed Apache.

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
Matt Sergeant
Volker Kroll
Cory 'G' Watson

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