PHP 4.0 Bug #9661: PHP sometimes dumps core
| From: | michael at carceri dot dk | Date: | Fri, 09 Mar 2001 18:34:52 +0000 |
| Subject: | PHP 4.0 Bug #9661: PHP sometimes dumps core | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-48441@lists.php.net to get a copy of this message | ||
From: michael@carceri.dk
Operating system: Linux 2.4.1
PHP version: 4.0 Latest CVS (09/03/2001)
PHP Bug Type: Reproduceable crash
Bug description: PHP sometimes dumps core
When I run .php files under Apache (1.3.19) PHP sometimes crash. I can run the same file several
times, and only sometimes is crashes PHP. I have found out that it only happens when the PHP file is
accessing a MySQL database.
This is what is recorded in the apache log (a lot of them):
[Fri Mar 9 19:24:51 2001] [notice] child pid 22845 exit signal Segmentation fault (11)
I have generated a backtrace (sorry, apache is not compiled with debug information - only PHP):
Starting program: /usr/local/apache/bin/httpd -f /usr/local/apache/conf/httpd.conf -X
(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.
0x400da4c1 in free () from /lib/libc.so.6
(gdb) bt
#0 0x400da4c1 in free () from /lib/libc.so.6
#1 0x400da343 in free () from /lib/libc.so.6
#2 0x401982cc in shutdown_memory_manager (silent=1, clean_cache=0)
at zend_alloc.c:478
#3 0x401c1845 in php_request_shutdown (dummy=0x0) at main.c:665
#4 0x401bf26b in php_apache_request_shutdown (dummy=0x0) at mod_php4.c:290
#5 0x8095d19 in run_cleanups ()
#6 0x80943a5 in ap_clear_pool ()
#7 0x8094427 in ap_destroy_pool ()
#8 0x80a4fc3 in child_main ()
#9 0x80a5141 in make_child ()
#10 0x80a52bc in startup_children ()
#11 0x80a592c in standalone_main ()
#12 0x80a617c in main ()
#13 0x40086dcc in __libc_start_main () from /lib/libc.so.6
--
Edit Bug report at: http://bugs.php.net/?id=9661&edit=1