ID: 41301 User updated by: glen at aquarius dot com dot au Reported By: glen at aquarius dot com dot au Status: Bogus Bug Type: *Database Functions Operating System: win200 server PHP Version: 5.2.2 New Comment:
This is becoming a big issue over at MySQL Headquarters :-) Quite a number of programs utilising PHP and NOT commenting out the MySQL library are falling over. NOTE: You don't actually have to use MySQL - just having it enabled in PHP causes the problem as well. The latest: [9 May 17:43] Sergei Golubchik Strictly speaking, this is not MySQL bug. This is a client bug - a client application (PHP, probably) linked with libmysqlclient calls my_thread_init() but does not call my_thread_end() as appropriate (doesn't call at all or calls too late). MySQL client library detects this and issues a warning. On the other hand, we can just remove the check and let buggy applications to fail some other way. Not calling my_thread_end() is a guaranteed memory leak. Calling it too late could easily crash the application. Previous Comments: ------------------------------------------------------------------------ [2007-05-06 22:54:31] glen at aquarius dot com dot au The problem is caused by MySQL and has been confirmed (Bug# 25621). It will apparently be fixed in the next release. In the meantime, if you are using PHP and do not use MySQL then you can disable MySQL by commenting out the reference at the end of php.ini eg: [PHP_MYSQL] ;extension=php_mysql.dll ------------------------------------------------------------------------ [2007-05-06 12:44:47] glen at aquarius dot com dot au Thanks for that - much appreciated. ------------------------------------------------------------------------ [2007-05-06 10:34:15] [EMAIL PROTECTED] >Error in my_thread_global_end(): 5 threads didn't exit There is no such function nor error message in PHP. ------------------------------------------------------------------------ [2007-05-06 07:55:36] glen at aquarius dot com dot au Description: ------------ I am installing phpBB3.0B5 and have tried using MySQL as well as MSSQL as their database servers. When using MySQL as the database, phpBB will not allow user access in IE but will when using Firefox. IE and Firefox work fine when using MSSql as the database. In either database scenario the following error appears at the foot of each phpBB page: Error in my_thread_global_end(): 5 threads didn't exit phpBB support do not think it's a bug in their software. Reproduce code: --------------- http://forums.aquarius.com.au will display the error message. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=41301&edit=1