From: herps at raqtweak dot com Operating system: Linux PHP version: 5.2.6 PHP Bug Type: Unknown/Other Function Bug description: ZTS causes crashes
Description: ------------ Hi, I am using a custom written PHP module, originally written for PHP4. It is a connector for a custom written database. The script works fine, even under PHP5. Problems arise when I compile Apache as MPM Worker, which means ZTS for PHP. When we use ZTS, things crash. The piece of code it concerns, according to the gdb output, can be found in the link provided to the source. I also included a GDB backtrace. The problem ONLY occurs when a script, which of course uses the module, is called. In all other cases, PHP and Apache will remain running! Reproduce code: --------------- http://www.raqtweak.com/downloads/source.txt Actual result: -------------- 0x00cdd1d8 in _zend_list_find (id=14, type=0xa4652e08, tsrm_ls=0xb97b2ef4) at /usr/src/redhat/BUILD/php-5.2.6/Zend/zend_list.c:72 72 if (zend_hash_index_find(&EG(regular_list), id, (void **) &le)==SUCCESS) { -- Edit bug report at http://bugs.php.net/?id=45617&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45617&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45617&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45617&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=45617&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=45617&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=45617&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=45617&r=needscript Try newer version: http://bugs.php.net/fix.php?id=45617&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=45617&r=support Expected behavior: http://bugs.php.net/fix.php?id=45617&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=45617&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=45617&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=45617&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=45617&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=45617&r=dst IIS Stability: http://bugs.php.net/fix.php?id=45617&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=45617&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=45617&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=45617&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=45617&r=mysqlcfg
