Bug #14239: apache crash on sig 11; error at zend_execute_API.c:259
| From: | ant at imt dot com dot ua | Date: | Mon, 26 Nov 2001 18:05:48 +0000 |
| Subject: | Bug #14239: apache crash on sig 11; error at zend_execute_API.c:259 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-71696@lists.php.net to get a copy of this message | ||
From: ant@imt.com.ua
Operating system: FreeBSD 4.4-RELEASE
PHP version: 4.0.6
PHP Bug Type: Unknown/Other Function
Bug description: apache crash on sig 11; error at zend_execute_API.c:259
when i debug the problem gdb get's me such report:
Program received signal SIGSEGV, Segmentation fault.
_zval_ptr_dtor (zval_ptr=0x4c41424f) at zend_execute_API.c:259
259 (*zval_ptr)->refcount--;
(gdb)
in this file there is:
ZEND_API void _zval_ptr_dtor(zval **zval_ptr ZEND_FILE_LINE_DC)
{
#if DEBUG_ZEND>=2
printf("Reducing refcount for %x (%x): %d->%d\n", *zval_ptr,
zval_ptr, (*zval_ptr)->refcount, (*zval_ptr)->refcount-1);
#endif
(*zval_ptr)->refcount--;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ here error!
if ((*zval_ptr)->refcount==0) {
zval_dtor(*zval_ptr);
safe_free_zval_ptr(*zval_ptr);
} else if (((*zval_ptr)->refcount == 1) && ((*zval_ptr)->type !=
IS_OBJECT)) {
(*zval_ptr)->is_ref = 0;
}
}
i have no idea about this...
--
Edit bug report at: http://bugs.php.net/?id=14239&edit=1