Crash upon cleanup
| From: | Andrei Zmievski | Date: | Fri, 14 Jan 2000 17:34:33 +0000 |
| Subject: | Crash upon cleanup | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-9123@lists.php.net to get a copy of this message | ||
I've tried a simple script today:
$fp = fsockopen("www.php.net", 80);
and it coredumps at the end:
#0 0x76034 in _mem_block_check (ptr=0x1, silent=1, __zend_filename=0x13adb8
"zend_execute_API.c", __zend_lineno=216,
__zend_orig_filename=0x13b1a8 "zend_variables.c", __zend_orig_lineno=63) at
zend_alloc.c:483
483 switch (p->magic) {
(gdb) bt
#0 0x76034 in _mem_block_check (ptr=0x1, silent=1, __zend_filename=0x13adb8
"zend_execute_API.c", __zend_lineno=216,
__zend_orig_filename=0x13b1a8 "zend_variables.c", __zend_orig_lineno=63) at
zend_alloc.c:483
#1 0x74b48 in _efree (ptr=0x1, __zend_filename=0x13adb8 "zend_execute_API.c",
__zend_lineno=216,
__zend_orig_filename=0x13b1a8 "zend_variables.c", __zend_orig_lineno=63) at
zend_alloc.c:170
#2 0x8b654 in _zval_dtor (zvalue=0x1e0ba0, __zend_filename=0x13adb8 "zend_execute_API.c",
__zend_lineno=216)
at zend_variables.c:63
#3 0x7f9a8 in _zval_ptr_dtor (zval_ptr=0x1e122c, __zend_filename=0x13b1a8
"zend_variables.c", __zend_lineno=181)
at zend_execute_API.c:216
#4 0x8bb9c in _zval_ptr_dtor_wrapper (zval_ptr=0x1e122c) at zend_variables.c:181
#5 0x94d68 in zend_hash_destroy (ht=0x1ac4b0) at zend_hash.c:739
#6 0x7f538 in shutdown_executor () at zend_execute_API.c:133
#7 0x8cb78 in zend_deactivate () at zend.c:454
#8 0x67978 in php_request_shutdown (dummy=0x0) at main.c:783
#9 0x23b34 in main (argc=3, argv=0xffbef81c) at cgi_main.c:507
I can't update Zend library because of problems with cvs.zend.com. Can
someone else confirm this bug?
Andrei
* Life may be expensive, but it includes an annual free trip around the sun. *