My apache dies about 30% of the time when handling any mod_perl request
that requires XML::Parser. Any other page (even pages that use
mod_perl) are 100% ok.
Are there any known issues with this (besides the requirement for
--disable-rule=expat)? This all worked fine with perl 5.005_03 +
mod_perl 1.23. I'll get more info if nobody has seen this before.
Mod_perl compiled with:
perl Makefile.PL PERL_FIXUP=1 PERL_AUTHEN=1 PERL_CHILD_INIT=1 \
PERL_POST_READ_REQUEST=1 PERL_STACKED_HANDLERS=1 \
PERL_UTIL_API=1 DO_HTTPD=1 USE_APACI=1 PREP_HTTPD=1
Apache compiled with:
export CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
./configure \
--disable-rule=WANTHSREGEX \
--disable-rule=expat \
--prefix=/local/httpd0 \
--disable-module=env \
--disable-module=negotiation \
--disable-module=include \
--disable-module=asis \
--disable-module=imap \
--disable-module=userdir \
--disable-module=setenvif \
--disable-module=autoindex \
--disable-module=userdir \
--enable-module=status \
--activate-module=src/modules/perl/libperl.a
% perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
Platform:
osname=linux, osvers=2.2.15, archname=i686-linux
uname='linux area51.ottawa.loran.com 2.2.15 #2 thu may 4 13:50:33 edt 2000 i686
unknown '
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define
use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
Compiler:
cc='gcc', optimize='-O2', gccversion=2.95 19990728 (release)
cppflags='-fno-strict-aliasing -I/usr/local/include'
ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64'
stdchar='char', d_stdstdio=define, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lposix -lcrypt
libc=/lib/libc-2.1.2.so, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under linux
Compiled at May 20 2000 12:16:02
@INC:
/usr/lib/perl5/5.6.0/i686-linux
/usr/lib/perl5/5.6.0
/usr/lib/perl5/site_perl/5.6.0/i686-linux
/usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl