From: mv at binarysec dot com Operating system: linux PHP version: 5CVS-2007-08-06 (CVS) PHP Bug Type: Unknown/Other Function Bug description: thread safe problem with the true global list_destructors
Description: ------------ Hi, I have a thread safe problem with the true global list_destructors, sometimes i got some messages like : <b>Warning</b>: Unknown list entry type in request shutdown (1882088036) in <b>Unknown</b> on line <b>0</b><br /> It happens very randomly i don't really know how to reproduce the code, but APC looks to help to get the error. I had a look at list_entry_destructor() zend_list.c +374 why does this function generate this error and it looks that list_destructors isn't thread safe. I **need** to fix that because sometimes you could get a blank page with APC. Reproduce code: --------------- none Expected result: ---------------- none Actual result: -------------- <b>Warning</b>: Unknown list entry type in request shutdown (1882088036) in <b>Unknown</b> on line <b>0</b><br /> -- Edit bug report at http://bugs.php.net/?id=42220&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=42220&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=42220&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=42220&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=42220&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=42220&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=42220&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=42220&r=needscript Try newer version: http://bugs.php.net/fix.php?id=42220&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=42220&r=support Expected behavior: http://bugs.php.net/fix.php?id=42220&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=42220&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=42220&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=42220&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=42220&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=42220&r=dst IIS Stability: http://bugs.php.net/fix.php?id=42220&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=42220&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=42220&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=42220&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=42220&r=mysqlcfg