Crash in zend_hash_destroy + weird effects

From: Date: Wed, 22 Dec 1999 10:45:18 +0000
Subject: Crash in zend_hash_destroy + weird effects
Groups: php.dev 
Request: Send a blank email to php-dev+get-13932@lists.php.net to get a copy of this message
zend_hash_destroy crashes with following dump: Program received signal SIGSEGV, Segmentation fault. zend_hash_destroy (ht=0x83618a0) at zend_hash.c:736 736 p = p->pListNext; (gdb) where #0 zend_hash_destroy (ht=0x83618a0) at zend_hash.c:736 #1 0x807dfaa in _zval_dtor (zvalue=0x82b66a0, __zend_filename=0x813b23c "zend_execute_API.c", __zend_lineno=216) at zend_variables.c:68 #2 0x80799f6 in _zval_ptr_dtor (zval_ptr=0x83607b4, __zend_filename=0x813b787 "zend_variables.c", __zend_lineno=182) at zend_execute_API.c:216 #3 0x807e1b5 in _zval_ptr_dtor_wrapper (zval_ptr=0x83607b4) at zend_variables.c:182 #4 0x80815ba in zend_hash_destroy (ht=0x83618a0) at zend_hash.c:739 #5 0x807dfaa in _zval_dtor (zvalue=0x82b66a0, __zend_filename=0x8156960 "zend_execute.c", __zend_lineno=182) at zend_variables.c:68 #6 0x80ca73f in execute (op_array=0x82f12e8) at zend_execute.c:182 #7 0x80deeb0 in execute (op_array=0x82b7608) at zend_execute.c:1526 #8 0x80deeb0 in execute (op_array=0x834ac78) at zend_execute.c:1526 #9 0x80e412d in execute (op_array=0x82a1408) at zend_execute.c:1968 #10 0x80deeb0 in execute (op_array=0x82a0d08) at zend_execute.c:1526 #11 0x80deeb0 in execute (op_array=0x82aae28) at zend_execute.c:1526 #12 0x80deeb0 in execute (op_array=0x81b74c0) at zend_execute.c:1526 #13 0x80708a0 in php_execute_script (primary_file=0xbffffbb4) at main.c:1274 #14 0x80876d1 in apache_php_module_main (r=0x81b3d04, fd=19, display_source_mode=0) at sapi_apache.c:86 #15 0x806f078 in send_php (r=0x81b3d04, display_source_mode=0, filename=0x81b4b44 "/home/httpd/html/bk/create.php3") at mod_php4.c:357 #16 0x806f0ab in send_parsed_php (r=0x81b3d04) at mod_php4.c:369 #17 0x80eb323 in ap_invoke_handler () #18 0x80fe619 in process_request_internal () #19 0x80fe67c in ap_process_request () #20 0x80f603e in child_main () #21 0x80f61cc in make_child () #22 0x80f6329 in startup_children () #23 0x80f6956 in standalone_main () #24 0x80f70d3 in main () #25 0x400e6cb3 in __libc_start_main (main=0x80f6d9c <main>, argc=2, argv=0xbffffd74, init=0x804b230 <_init>, fini=0x813160c <_fini>, rtld_fini=0x4000a350 <_dl_fini>, stack_end=0xbffffd6c) at ../sysdeps/generic/libc-start.c:78 Also, today's CVS version has some problems with hashes, it seems - because script, that works on yesterday's CVS, started to lose values of variables in today's CVS (it's rather complicated script, with templates, etc., so it may take time to isolate the problem, but the effect is that some template variables suddently become empty). Since php.net is still down, I didn't submit this to bug tracking. -- Stanislav Malyshev stas@zend.com +972-50-624945

« previous php.dev (#13932) next »