ID: 41350 Comment by: itahmed at hotmail dot com Reported By: graham at directhostinguk dot com Status: No Feedback Bug Type: MySQL related Operating System: Windows 2003 PHP Version: 5.2.3 New Comment:
you can download the libmysql.dll to replace the current one that comes with php 5.2.4. this is from the 5.2.1 release that works and take care of the error message. http://www.it-etc.com/2007/10/25/php-error-524-getting-error-error-in-my_thread_global_end-1-threads-didnt-exit/ Previous Comments: ------------------------------------------------------------------------ [2007-10-23 14:38:08] barrp at hcdat dot com error occurs sending mail but is email address specific. If I send to some emails there is consistantly no error. Other addresses always give the error. The same php code works on my ISP site but not locally. Seems like a setup issue on my box. ------------------------------------------------------------------------ [2007-10-19 19:51:02] topgunmm at comcast dot net This bug also exists for mssql. ------------------------------------------------------------------------ [2007-10-18 16:49:06] cranderson at att dot net anrdaemon, The snapshots being tested here have the 5.0.45 MySQL dll. Also tested with the dll distributed with MySQL. Also checked loaded dlls with a process explorer. The problem is in the php_mysql.dll and php_mysqli.dll. This problem can be duplicated with Win2000Pro, not with XP Pro SP2 or Win2003 Server. ------------------------------------------------------------------------ [2007-10-17 11:07:43] anrdaemon at freemail dot ru Got the same issue. From short investigation, all executables affected, not only PHP-CGI. Actually, problem in libmySQL bundled with PHP. Please refer to http://bugs.php.net/bug.php?id=43002 for detailed info. ------------------------------------------------------------------------ [2007-10-09 20:27:31] cranderson at att dot net Confirmed. Have just tried php5.2-win32-200710092030.zip and the problem is not solved. OS: Windows 2000 Pro HW: Dual CPU Zeon Results the same: C:\php>php-cgi.exe -v PHP 5.2.5-dev (cli) (built: Oct 9 2007 16:04:34) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies with DBG v3.2.7, (C) 2000,2007, by Dmitri Dmitrienko Error in my_thread_global_end(): 1 threads didn't exit Note: Overwriting the files php_mysql.dll, php_mysqli.dll with those from 5.2.3 works..... mysql MySQL Support => enabled Client API version => 5.0.45 mysqli MysqlI Support => enabled Client API library version => 5.0.45 Client API header version => 5.0.36 MYSQLI_SOCKET => /tmp/mysql.sock (this shouldn't be here on Win) ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/41350 -- Edit this bug report at http://bugs.php.net/?id=41350&edit=1