apache crash, _mem_block_check ()
| From: | Tom Fishwick | Date: | Fri, 24 Sep 1999 02:13:50 +0000 |
| Subject: | apache crash, _mem_block_check () | ||
| References: | 1 2 3 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-4843@lists.php.net to get a copy of this message | ||
Hi Everyone,
I recently tried php4(CVS)+apache on my script and it crashed every time
with:
apache error log
zend_compile.c(753) : Freeing 0x08206EB8 (4 bytes),
script=/home/zworg/htdocs/test.html
zend_variables.c(120) : Actual location (location was relayed)
and
Program received signal SIGSEGV, Segmentation fault.
0x80b292d in _mem_block_check ()
(gdb) bt
#0 0x80b292d in _mem_block_check ()
#1 0x80b2337 in _efree ()
#2 0x80bb221 in _zval_dtor ()
#3 0x80b7be5 in destroy_op_array ()
#4 0x80b7ae8 in destroy_zend_function ()
#5 0x80be39e in zend_hash_destroy ()
#6 0x80b7b59 in destroy_zend_class ()
#7 0x80be2ca in zend_hash_del_key_or_index ()
#8 0x80be577 in zend_hash_apply ()
#9 0x80b2e9e in shutdown_compiler ()
#10 0x80bbb61 in zend_deactivate ()
#11 0x807c6a0 in php_request_shutdown ()
#12 0x80c8b90 in ap_run_cleanup ()
#13 0x80c78c7 in ap_clear_pool ()
#14 0x80c791e in ap_destroy_pool ()
#15 0x80c78b5 in ap_clear_pool ()
#16 0x80d243e in ap_child_terminate ()
#17 0x80d296f in ap_child_terminate ()
#18 0x80d2a6c in ap_child_terminate ()
#19 0x80d2f16 in ap_child_terminate ()
#20 0x80d35e1 in main ()
(gdb)
I included the main library file in a test file and got the crash again,
but as I was removing code to try and narrow it down it just started to
crash less often ( needed a few requests to get it to crash ).
Tom