ID: 41350 Comment by: louis at steelbytes dot com Reported By: graham at directhostinguk dot com Status: Assigned Bug Type: MySQL related Operating System: Windows 2003 PHP Version: 5.2.2 Assigned To: georg New Comment:
repro on win2k3. reverting libmysql.dll to 5.2.1 fixes it. Previous Comments: ------------------------------------------------------------------------ [2007-05-29 17:04:40] php at stock-consulting dot com I receive the message as well, when running PHP 5.2.2 from the command line, so definitely no IIS-related issue. The php_mysql.dll is loaded as an extension, but no functions from the library are called by the application, so most likely no MySQL issue. The message appeared after the PHP version update; no MySQL update was performed. A clear indication, IMHO, the something went wrong on the PHP side. ------------------------------------------------------------------------ [2007-05-18 10:30:33] e_remove_paine at lastfrontiers dot com With PHP5.2.2, and MySQL5.0.41 under Windows XP (IIS5.1) I can reproduce this by simply creating a normal html page (no php tags) with a .php extension. Error in my_thread_global_end(): 1 threads didn't exit ------------------------------------------------------------------------ [2007-05-14 01:36:28] sptong at hotmail dot com I have upgraded to PHP 5.2.2. I cfm that using libmysql.dll from 5.2.1, instead of 5.2.2 solved the pbm. Or rather, the error does not show up again. ------------------------------------------------------------------------ [2007-05-13 15:35:22] paul at orac dot clara dot co dot uk This IS a bug - it is in the libmysql.dll library. If you replace the copy from 5.2.2 with the one from 5.2.1, then the problem goes away. That guy [EMAIL PROTECTED] says that the error message is not in PHP. He might be right about that, but that doesn't mean the PHP isn't the cause of it, which it quite clearly is. Closing bugs without any discussion doesn't help the situation either. ------------------------------------------------------------------------ [2007-05-10 12:12:10] graham at directhostinguk dot com 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 this bug report at http://bugs.php.net/?id=41350&edit=1