You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "Delaporta, Michael" <MD...@cbct.com> on 2000/04/18 18:43:57 UTC

XML::Parser causing SEGFAULT in Apache under mod_perl

I'm currently using XML::Parser (2.28) under Apache (1.3.11) and
mod_perl (1.21) and have noticed a fairly large number of segfaults in
the Apache error_log.

I noticed a discussion about this problem on the list about a week ago,
but the only solution posted was as a Debian package (which I can't
use).  No mention of the actual problem/solution was mentioned.

Is anyone else experiencing this problem, and does anyone have a
solution I can apply to the XML::Parser 2.28 source?  Any info would be
greatly appreciated.

Thanks.

-Michael-

Re: XML::Parser causing SEGFAULT in Apache under mod_perl

Posted by Doug MacEachern <do...@covalent.net>.
On Tue, 18 Apr 2000, DeWitt Clinton wrote:

> On Tue, Apr 18, 2000 at 12:43:57PM -0400, Delaporta, Michael wrote:
> 
> > I'm currently using XML::Parser (2.28) under Apache (1.3.11) and
> > mod_perl (1.21) and have noticed a fairly large number of segfaults in
> > the Apache error_log.
> > 
> > I noticed a discussion about this problem on the list about a week ago,
> > but the only solution posted was as a Debian package (which I can't
> > use).  No mention of the actual problem/solution was mentioned.
> 
> As Doug identified a month ago, the correct solution is to use
> "--disable-rule=EXPAT" during the apache configuration step.  

any status on XML::Parser hiding it's symbol's so they don't clash with
apache's ?
i'm considering having mod_perl's Makefile.PL disable EXPAT, which is only
used by the 3rd-party mod_dav anyhow.  if somebody wants mod_dav, they can
override using APACI_ARGS=--enable-rule=EXPAT



Re: XML::Parser causing SEGFAULT in Apache under mod_perl

Posted by DeWitt Clinton <de...@avacet.com>.
On Tue, Apr 18, 2000 at 12:43:57PM -0400, Delaporta, Michael wrote:

> I'm currently using XML::Parser (2.28) under Apache (1.3.11) and
> mod_perl (1.21) and have noticed a fairly large number of segfaults in
> the Apache error_log.
> 
> I noticed a discussion about this problem on the list about a week ago,
> but the only solution posted was as a Debian package (which I can't
> use).  No mention of the actual problem/solution was mentioned.

As Doug identified a month ago, the correct solution is to use
"--disable-rule=EXPAT" during the apache configuration step.  

-DeWitt