Got a problem: About 250 of 1000 requests cause a segfault (11) when using
XML::Parser::parse() under mod_perl. In FAQs it is stated that this is
because of the bundled Expat in Apache.
I've tried disabling Apache's Expat with --disable-rule=EXPAT, but it
doesn't help.
Have you found any workarounds or patches, or is the reason to my
segfaults somewhere else?
Platform:
Red Hat 7.0
Apache 1.3.19
mod_perl 1.25
perl 5.6.0
expat 1.95.1
HTML::Mason 1.02
XML::Parser 2.30
I compiled mod_perl with
perl Makefile.PL APACHE_SRC=../apache_1.3.19/src DO_HTTPD=1 USE_APACI=1
PREP_HTTPD=1 EVERYTHING=1
and Apache with
./configure --disable-rule=EXPAT
--activate-module=src/modules/perl/libperl.a --enable-module=so
--enable-module=unique_id --enable-module=rewrite --enable-module=info
--enable-module=usertrack --enable-module=expires
--prefix=/usr/local/apache
All tips appreciated!
Oskari Ojala
Frantic Media