PHP 4.0 Bug #3204: Segment violation during Zend session shutdown
| From: | jmat at firewind dot net | Date: | Thu, 13 Jan 2000 20:23:17 +0000 |
| Subject: | PHP 4.0 Bug #3204: Segment violation during Zend session shutdown | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-14593@lists.php.net to get a copy of this message | ||
From: jmat@firewind.net
Operating system: Linux Redhat 6.1
PHP version: 4.0 Latest CVS (13/01/2000)
PHP Bug Type: Reproduceable crash
Bug description: Segment violation during Zend session shutdown
I can't pinpoint the script/function that's doing this, as it seems to happen in all sorts
of things, at random times. The only indication something was wrong is the error logs: all data
seems to be pushed out to the browser right as it dies, so no data is lost to the client.
Here's the gdb...
[root@kodiak apache]# gdb /usr/local/apache/bin/httpd
GNU gdb 4.17.0.11 with Linux support
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...(no debugging symbols found)...
(gdb) run -X
Starting program: /usr/local/apache/bin/httpd -X
(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x80903ca in _zval_ptr_dtor ()
(gdb) bt
#0 0x80903ca in _zval_ptr_dtor ()
#1 0x8095d34 in _zval_ptr_dtor_wrapper ()
#2 0x809a2ee in zend_hash_destroy ()
#3 0x8095a5e in _zval_dtor ()
#4 0x8090296 in shutdown_executor ()
#5 0x809674b in zend_deactivate ()
#6 0x8084eed in php_request_shutdown ()
#7 0x80f862e in ap_run_cleanup ()
#8 0x80f6e5d in ap_clear_pool ()
#9 0x80f6ed1 in ap_destroy_pool ()
#10 0x810665d in ap_child_terminate ()
#11 0x810679c in ap_child_terminate ()
#12 0x81068f9 in ap_child_terminate ()
#13 0x8106f26 in ap_child_terminate ()
#14 0x81076a3 in main ()
#15 0x401f072f in __libc_start_main (main=0x810736c <main>, argc=2, argv=0xbffffd74,
init=0x8060e34 <_init>,
fini=0x813e7a8 <_fini>, rtld_fini=0x4000a670 <_dl_fini>, stack_end=0xbffffd6c) at
../sysdeps/generic/libc-start.c:90