Re: [PHP-DEV] 3.0.6 Sporadic Tests From: Michael Brennen (mbrennen <email protected>)
Date: 12/30/98

On Wed, 30 Dec 1998, Rasmus Lerdorf wrote:

> Run it with -X (but not under gdb) to avoid the setuid forking stuff.

Okay... it is a segmentation fault, but still no core. I was careful
to set ulimit -c unlimited before running httpd -X, and httpd.conf was
set to run as root, from a root shell. Just for fun I then ran it
under gdb and got the backtrace below. I'm beginning to think gdb is
reporting accurately. I tried setting a break at *0x4014a2ec to trap
when it hits there, but then httpd won't start; gdb complains about
not mapping /dev/zero and can't load libc.so.5, then bails.

   -- Michael

Starting program: /usr/local/apache/src/./httpd -X -d
/usr/local/apache -f
conf/httpd.conf

Program received signal SIGSEGV, Segmentation fault.
0x401395a9 in __libc_free (mem=0x2e79616c)
(gdb) bt
#0 0x401395a9 in __libc_free (mem=0x2e79616c)
#1 0x4014a81c in __DTOR_END__ ()
#2 0x2079 in ?? ()
#3 0x4014a2ec in av_ ()

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>