Re: XML::Parse segmentation fault
On Mon, 9 Oct 2000, Herrington, Jack wrote: Is there some inherint problem with XML::Parser and mod_perl? Yes. You need to recompile Apache with RULE_EXPAT=no. I'm hoping that now that expat has a standard distribution that the Apache team will be proactive in fixing this bug. -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||** http://axkit.org ** ** XSLT, XPathScript, XSP ** // \\| // ** Personal Web Site: http://sergeant.org/ ** \\// //\\ // \\
RE: XML::Parse segmentation fault
-Original Message- From: Matt Sergeant [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 10, 2000 3:20 AM To: Herrington, Jack Cc: '[EMAIL PROTECTED]' Subject: Re: XML::Parse segmentation fault On Mon, 9 Oct 2000, Herrington, Jack wrote: Is there some inherint problem with XML::Parser and mod_perl? Yes. You need to recompile Apache with RULE_EXPAT=no. according to Changes, this should be automatic as of 1.23... are you using an older version or are the conflicts still aparent in 1.23 or 1.24? --Geoff I'm hoping that now that expat has a standard distribution that the Apache team will be proactive in fixing this bug. -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||** http://axkit.org ** ** XSLT, XPathScript, XSP ** // \\| // ** Personal Web Site: http://sergeant.org/ ** \\// //\\ // \\
RE: XML::Parse segmentation fault
On Tue, 10 Oct 2000, Geoffrey Young wrote: On Mon, 9 Oct 2000, Herrington, Jack wrote: Is there some inherint problem with XML::Parser and mod_perl? Yes. You need to recompile Apache with RULE_EXPAT=no. according to Changes, this should be automatic as of 1.23... Of course only if you compile Apache from mod_perl's Makefile.PL. From what I've heard, Greg Stein is now aware of the problem and willing to work it out for the next Apache release. But whether that happens remains to be seen... -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||** http://axkit.org ** ** XSLT, XPathScript, XSP ** // \\| // ** Personal Web Site: http://sergeant.org/ ** \\// //\\ // \\
XML::Parse segmentation fault
This code works as a perl script executed off the command line: use XML::Parser; my $parser = new XML::Parser(); $parser-parse( "form/form" ); This code fails with a segmentation fault when called from mod_perl: package CBL::mod_perl::test1; use strict; use XML::Parser; sub handler { my $r = shift; my $parser = new XML::Parser(); $parser-parse( "form/form" ); $r-content_type( 'text/html' ); $r-send_http_header; $r-print( "htmlbody" ); $r-print( "Testing" ); $r-print( "/body/html" ); return OK; } 1; Is there some inherint problem with XML::Parser and mod_perl? Jack Herrington Engineering Manager Certive - Building the world's first broadband B2B network (650) 701-8809