By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,943 Members | 1,921 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,943 IT Pros & Developers. It's quick & easy.

apache2 seg faults

P: n/a
I had to compile my own php to get ldap support since the latest php
packages for slackware don't have it. So I do the compile and then it
doesn't work. I check the apache log and it segfaults. CLI works fine
and doesn't give any errors. Here's some debug info (i know the gdb
output isn't all that helpful, I guess I can enable debugging on php if
it would help. although I assumed that was all coming from the apache
part):

Slackware Linux 10.0 kernel 2.6.9

Server version: Apache/2.0.52
Server built: Oct 1 2004 12:50:59

PHP version 4.3.10
../configure --prefix=/usr --with-config-file-path=/etc/apache2 --with-
openssl --with-bz2 --with-db3 --enable-ftp --with-mysql=/usr --with-ldap
--with-xml --enable-trans-sid --enable-sockets --with-curl --enable-
magic-quotes --with-apxs2=/usr/sbin/apxs --sysconfdir=/etc
apache's error log (I was just trying to load a page with phpinfo() in
it):
[Thu Dec 16 21:54:33 2004] [notice] Digest: generating secret for digest
authentication ...
[Thu Dec 16 21:54:33 2004] [notice] Digest: done
[Thu Dec 16 21:54:34 2004] [notice] Apache/2.0.52 (Unix) DAV/2 PHP/4.3.10
configured -- resuming normal operations
[Thu Dec 16 21:55:43 2004] [notice] child pid 1879 exit signal
Segmentation fault (11)
(gdb) run -X -f /etc/apache2/httpd.conf
Starting program: /usr/sbin/httpd -X -f /etc/apache2/httpd.conf
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 4251)]
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 4251)]
php_handler (r=0x81dc138) at /usr/tmp/php-
4.3.10/sapi/apache2handler/sapi_apache2.c:454
454 apply_config(conf);
(gdb) bt
#0 php_handler (r=0x81dc138) at /usr/tmp/php-
4.3.10/sapi/apache2handler/sapi_apache2.c:454
#1 0x08067e16 in ap_run_handler ()
#2 0x080683e8 in ap_invoke_handler ()
#3 0x0806538b in ap_process_request ()
#4 0x08060c69 in ap_process_http_connection ()
#5 0x08070e96 in ap_run_process_connection ()
#6 0x080667c8 in child_main ()
#7 0x0806697e in make_child ()
#8 0x080669ef in startup_children ()
#9 0x08067169 in ap_mpm_run ()
#10 0x0806c8d8 in main ()
--
VR
Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.