From: xuefer at 21cn dot com Operating system: gentoo linux 2.6 PHP version: 5CVS-2006-12-03 (CVS) PHP Bug Type: Reproducible crash Bug description: apache 1.x crash on startup if assert.callback is set in ini
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 bug report at http://bugs.php.net/?id=39718&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39718&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39718&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39718&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=39718&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=39718&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=39718&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=39718&r=needscript Try newer version: http://bugs.php.net/fix.php?id=39718&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=39718&r=support Expected behavior: http://bugs.php.net/fix.php?id=39718&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=39718&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=39718&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=39718&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39718&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=39718&r=dst IIS Stability: http://bugs.php.net/fix.php?id=39718&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=39718&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=39718&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=39718&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=39718&r=mysqlcfg
