Re: [PHP4BETA] apache crash, _mem_block_check ()
| From: | Zeev Suraski | Date: | Fri, 24 Sep 1999 06:28:38 +0000 |
| Subject: | Re: [PHP4BETA] apache crash, _mem_block_check () | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-4844@lists.php.net to get a copy of this message | ||
If it crashes on every time it means your build is broken. Unfortunately
the build process of PHP 4.0 is extremely unreliable when it comes to
updating CVS versions.
Make sure you update both your php4 and libzend trees, run ./buildconf and
most important, make clean. If that still doesn't help, try a fresh
checkout.
Zeev
On Thu, 23 Sep 1999, Tom Fishwick wrote:
> 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
>
> --
> PHP 4 Beta
>
--
-----------------------------------------------------
Zeev Suraski <zeev@zend.com> http://www.zend.com/
For a PGP public key, finger bourbon@netvision.net.il