Subject: | Segfaulting Behavior |
Hi,
I'm using apache built with my own config and am getting segfaulting with AxKit when I try the example XML included with AxKit. There were no entries in the error log except the segfault message.
Setup:
AxKit 1.6 (built by me)
Perl 5.6.1 (from os package)
Apache 1.3.26 (built by me)
mod_perl 1.27 (built by me)
mod_ssl 2.8.10 (built by me)
php 4.2.2 (built by me)
Debian testing 3.0 with a custom built Linux 2.4.19 kernel on i686
I have this in my httpd.conf:
PerlModule AxKit
AddHandler axkit .xml
AddHandler axkit .xsp
AddHandler axkit .dkb
I built apache with this config:
SSL_BASE=SYSTEM EAPI_MM=SYSTEM ./configure --prefix=/usr/local/apache1 --enable-module=ssl --enable-shared=ssl --enable-module=auth_anon --enable-module=auth_db --enable-module=auth_dbm --enable-module=auth_digest --enable-module=define --enable-module=digest --enable-module=rewrite --enable-module=expires --enable-module=headers --enable-module=info --enable-module=mime_magic --enable-module=mmap_static --enable-module=so --enable-module=unique_id --enable-module=usertrack --enable-module=vhost_alias --disable-rule=expat --enable-suexec --suexec-docroot=/data/served/www --suexec-logfile=/www/logs/cgi.log --suexec-umask=77
Note the "--disable-rule=expat".
I built mod_perl with this config:
perl Makefile.PL USE_APXS=1 WITH_APXS=/usr/local/apache1/bin/apxs EVERYTHING=1 PERL_USELARGEFILES=0
Comments:
I get the segfault behavior even if I comment out the PHP stuff in httpd.conf and therefore am not loading PHP (which uses expat).
I tried the FAQ suggestion and built AxKit with "NO_DIRECTIVES=1" but Makefile.PL gave me the message that it didn't know about NO_DIRECTIVES and built AxKit anyway (with the same segfault behavior).
Any ideas about what is wrong?