#39718 [Fbk->Opn]: apache 1.x crash on startup if assert.callback is set in ini
| From: | tony2001@php.net | Date: | Sun, 03 Dec 2006 12:30:37 +0000 |
| Subject: | #39718 [Fbk->Opn]: apache 1.x crash on startup if assert.callback is set in ini | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-105819@lists.php.net to get a copy of this message | ||
ID: 39718
Updated by: tony2001@php.net
Reported By: xuefer at 21cn dot com
-Status: Feedback
+Status: Open
Bug Type: Reproducible crash
Operating System: gentoo linux 2.6
PHP Version: 5CVS-2006-12-03 (CVS)
New Comment:
Nevermind, I see it.
Previous Comments:
------------------------------------------------------------------------
[2006-12-03 11:04:56] tony2001@php.net
Cannot reproduce.
------------------------------------------------------------------------
[2006-12-03 03:21:57] xuefer at 21cn dot com
Description:
------------
reproducable with "assert.callback = 0", or "assert.callback = abc"
not reproducable with "assert.callback = "
Reproduce code:
---------------
php.ini:
assert.callback = abc
or
assert.callback = 0
$ gdb --args /usr/sbin/apache -X -DPHP5
Actual result:
--------------
#0 0xb7a438c4 in _zval_ptr_dtor (zval_ptr=0xb7b59118) at
/home/xuefer/src/php5/Zend/zend_execute_API.c:412
#1 0xb79eab36 in zm_shutdown_assert (type=1, module_number=1) at
/home/xuefer/src/php5/ext/standard/assert.c:98
#2 0xb799a4d9 in zm_shutdown_basic (type=1, module_number=1) at
/home/xuefer/src/php5/ext/standard/basic_functions.c:4084
#3 0xb7a56644 in module_destructor (module=0x80d1338) at
/home/xuefer/src/php5/Zend/zend_API.c:1893
#4 0xb7a5ab5c in zend_hash_apply_deleter (ht=0xb7b5aa00, p=0x80d1308)
at /home/xuefer/src/php5/Zend/zend_hash.c:606
#5 0xb7a5ac40 in zend_hash_graceful_reverse_destroy (ht=0xb7b5aa00) at
/home/xuefer/src/php5/Zend/zend_hash.c:641
#6 0xb7a5041a in zend_shutdown () at
/home/xuefer/src/php5/Zend/zend.c:715
#7 0xb7a0aa01 in php_module_shutdown () at
/home/xuefer/src/php5/main/main.c:1672
#8 0xb7a0a9cb in php_module_shutdown_wrapper (sapi_globals=0xb7b570c0)
at /home/xuefer/src/php5/main/main.c:1643
#9 0xb7ab9aa4 in apache_php_module_shutdown_wrapper () at
/home/xuefer/src/php5/sapi/apache/mod_php5.c:905
#10 0x08052bf2 in ap_clear_pool ()
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39718&edit=1