:: Can you get me a stack trace? "gdb /path/to/httpd", then
:: "run -X" when in gdb,
:: followed by a "bt".
Just grabbed the discussion and because i have also the same
"segmentation fault when apache recieves a request" problem
so i did a backtrace:
# START "gdb output"
(gdb) run -X
Starting program: /usr/local/apache/bin/httpd -X
Program received signal SIGSEGV, Segmentation fault.
XS_AxKit_get_config (cv=0x81c5dec) at AxKit.xs:145
145 cfg = (axkit_dir_config *)
(gdb) bt
#0 XS_AxKit_get_config (cv=0x81c5dec) at AxKit.xs:145
#1 0x4032da52 in Perl_pp_entersub () from
/usr/lib/perl5/5.6.1/i586-linux/CORE/libperl.so
#2 0x403276d1 in Perl_runops_standard () from
/usr/lib/perl5/5.6.1/i586-linux/CORE/libperl.so
#3 0x402ddedc in S_call_body () from
/usr/lib/perl5/5.6.1/i586-linux/CORE/libperl.so
#4 0x402ddc3e in perl_call_sv () from
/usr/lib/perl5/5.6.1/i586-linux/CORE/libperl.so
#5 0x4029cc3e in perl_call_handler () from
/usr/local/apache/libexec/libperl.so
#6 0x404ad705 in axkit_handler (r=0x82b2024) at axconfig.c:1054
#7 0x080551d9 in ap_invoke_handler ()
#8 0x0806b8af in process_request_internal ()
#9 0x0806b922 in ap_process_request ()
#10 0x080621f6 in child_main ()
#11 0x080623d5 in make_child ()
#12 0x08062556 in startup_children ()
#13 0x08062bfd in standalone_main ()
#14 0x0806347c in main ()
#15 0x400e69ed in __libc_start_main () from /lib/libc.so.6
# END
# START "httpd.conf"
PerlModule AxKit
Include axkit.conf
# END
# START "axkit.conf"
Alias /axkit/ /var/www/htdocs/axkit/
<Location /axkit/>
# Install AxKit main parts
SetHandler AxKit
# Setup style type mappings
AxAddStyleMap text/xsl Apache::AxKit::Language::Sablot
AxAddStyleMap application/x-xpathscript \
Apache::AxKit::Language::XPathScript
# Optionally set a hard coded cache directory
# make sure this is writable by nobody
AxCacheDir /var/www/cache/axkit/
# turn on debugging (1 - 10)
AxDebugLevel 5
</Location>
# END
# START `axkitreport`
Linux 2.4.18-4GB #1 Wed Mar 27 13:57:05 UTC 2002
AxKit has version 1.6
mod_perl has version 1.26
XML::LibXML has version 1.51
XML::LibXSLT has version 1.50
XML::Sablotron has version 0.90
HTTP::GHTTP has version 1.07
XML::XPath has version 1.12
XML::Parser has version 2.31
Apache::Request has version 1.0
Error has version 0.15
Compress::Zlib has version 1.16
Digest::MD5 has version 2.20
xml2-config says version 2.4.21 with --cflags -I/usr/include/libxml2
Server version: Apache/1.3.24 (Unix)
Server built: Jun 1 2002 21:48:31
Server compiled with....
-D EAPI
-D HAVE_MMAP
-D HAVE_SHMGET
-D USE_SHMGET_SCOREBOARD
-D USE_MMAP_FILES
-D HAVE_FCNTL_SERIALIZED_ACCEPT
-D HAVE_SYSVSEM_SERIALIZED_ACCEPT
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D HTTPD_ROOT="/usr/local/apache"
-D SUEXEC_BIN="/usr/local/apache/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/httpd.scoreboard"
-D DEFAULT_LOCKFILE="logs/httpd.lock"
-D DEFAULT_XFERLOG="/var/log/httpd/access_log"
-D DEFAULT_ERRORLOG="/var/log/httpd/error_log"
-D TYPES_CONFIG_FILE="/etc/httpd/mime.types"
-D SERVER_CONFIG_FILE="/etc/httpd/httpd.conf"
-D ACCESS_CONFIG_FILE="/etc/httpd/access.conf"
-D RESOURCE_CONFIG_FILE="/etc/httpd/srm.conf"
Compiled-in modules:
http_core.c
mod_so.c
suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]