From: graham at directhostinguk dot com Operating system: Windows 2003 PHP version: 5.2.2 PHP Bug Type: MySQL related Bug description: Error in my_thread_global_end()
Description: ------------ This closed PHP bug: http://bugs.php.net/bug.php?id=41316 MySQL Bug: http://bugs.mysql.com/bug.php?id=25621 Error in my_thread_global_end(): 1 threads didn't exit I have the same issue even when the script doesn't call any MySQL, but this error only happens when using fast-cgi If I run php 5.2.2 ISAPI the problem goes away. I think this is a php bug It seems to me that the problem lies in the PHP dll "php_mysql.dll" as it is opening the threads but not telling MySql to close them. -- Edit bug report at http://bugs.php.net/?id=41350&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=41350&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=41350&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=41350&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=41350&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=41350&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=41350&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=41350&r=needscript Try newer version: http://bugs.php.net/fix.php?id=41350&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=41350&r=support Expected behavior: http://bugs.php.net/fix.php?id=41350&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=41350&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=41350&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=41350&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=41350&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=41350&r=dst IIS Stability: http://bugs.php.net/fix.php?id=41350&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=41350&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=41350&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=41350&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=41350&r=mysqlcfg