Re: [PHP4BETA] Z Voodoo?
| From: | Zeev Suraski | Date: | Mon, 12 Apr 1999 21:46:00 +0000 |
| Subject: | Re: [PHP4BETA] Z Voodoo? | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-94@lists.php.net to get a copy of this message | ||
As you can possibly see, this is a resource that is being deallocated.
There was a bug that killed the resource list before the main symbol table,
so the automatic destructor for resources was being run after the resource
list was already gone.
I've committed a patch that should fix this behavior.
Note my following letter though :)
Zeev
At 20:09 12/04/99 +0200, Stig S. Bakken wrote:
>I'm getting a few crashes I have some problems isolating. I'll just
>include the backtrace at first in case it helps anyway (Apache 1.3.6
>module).
>
>Program received signal SIGSEGV, Segmentation fault.
>zend_hash_index_find (ht=0x810e9a4, h=135472296, pData=0xbffffa88)
> at zend_hash.c:944
>944 if ((p->h == h) && (p->nKeyLength == 0)) {
>(gdb) where
>#0 zend_hash_index_find (ht=0x810e9a4, h=135472296, pData=0xbffffa88)
> at zend_hash.c:944
>#1 0x80c7b35 in zend_list_do_delete (list=0x810e9a4, id=135472296)
> at zend_list.c:59
>#2 0x80c7bec in zend_list_delete (id=135472296) at zend_list.c:106
>#3 0x80c11db in zval_dtor (zvalue=0x81324e4) at zend_variables.c:86
>#4 0x80bd90c in zval_ptr_dtor (zval_ptr=0x813520c) at zend_execute_API.c:186
>#5 0x80c719b in zend_hash_destroy (ht=0x810e8ac) at zend_hash.c:730
>#6 0x80bd84b in shutdown_executor () at zend_execute_API.c:125
>#7 0x806f31e in php3_request_shutdown (dummy=0x0) at main.c:729
>#8 0x8091dc2 in run_cleanups ()
>#9 0x8090618 in ap_clear_pool ()
>#10 0x809068d in ap_destroy_pool ()
>#11 0x8090604 in ap_clear_pool ()
>#12 0x809f21c in child_main ()
>#13 0x809f844 in make_child ()
>#14 0x809f99f in startup_children ()
>#15 0x809ff7c in standalone_main ()
>#16 0x80a07af in main ()
>(gdb) print p
>$14 = (Bucket *) 0x5a5a5a5a
>
>"0x5a5a5a5a" is the capital letter "Z" four times. Voodoo? :-)
>
> - Stig
>
>--
>PHP 4 Beta
>
>
>
--
Zeev Suraski <zeev@zend.com> http://www.zend.com/
For a PGP public key, finger bourbon@netvision.net.il
--
PHP 4 Beta