#41350 [Com]: Error in my_thread_global_end()
From: chris at crgs dot co dot uk Date: Fri, 05 Oct 2007 10:04:06 +0000 Subject: #41350 [Com]: Error in my_thread_global_end() References: 1 Groups: php.bugs Request: Send a blank email to php-bugs+get-118204@lists.php.net to get a copy of this message
ID: 41350
Comment by: chris at crgs dot co dot uk
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:
Confirmed. Have just tried php5.2-win32-200710050830.zip and the
problem is not solved. Repro as per my previous post above. Results the
same:
C:\php>php-cgi.exe -v
PHP 5.2.5-dev (cgi-fcgi) (built: Oct 5 2007 04:04:23)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
Error in my_thread_global_end(): 2 threads didn't exit
Previous Comments:
------------------------------------------------------------------------
[2007-10-04 17:14:16] temp4 at scottpreston dot com
I just tried this and it does not fix the issue. I overwrote and
unloaded all DLLs, still 5 second delay.
------------------------------------------------------------------------
[2007-10-04 11:19:35] thorsten at phpmyfaq dot de
Hi all,
the current PHP 5.2.5-dev package from http://snaps.php.net with
the
bundled libmysql.dll fixes this issue.
Best regards
Thorsten
------------------------------------------------------------------------
[2007-10-03 17:14:22] mike at wardfam dot org
Copying libmysql.dll from 5.2.1 fixed this issue for me also.
Configuration: Windows 2003 x64 SP2, PHP 5.2.4, CGI/FastCGI
------------------------------------------------------------------------
[2007-09-30 12:42:39] 256512 at gmail dot com
To reproduce the error on my setup (Windows XP SP2, PHP 5.2.4):
- in php.ini enable any of the following extensions: php_mysql.dll,
php_pdo_mysql.dll, php_mysqli.dll
- execute "php.exe" on command line
- press Ctrl+C
After a significant pause (~5 seconds), the error message appears:
"Error in my_thread_global_end(): 1 threads didn't exit"
Disabling php_mysql.dll, php_pdo_mysql.dll, php_mysqli.dll in php.ini
"fixes" the issue (php.exe exits immediately, without any errors).
Disabling MySQL extensions eliminates a significant pause (~5 seconds)
at exit with scripts that connect to a PostgreSQL database (yes,
PostgreSQL, not MySQL). Without error messages, though. A minimal script
to reproduce this, when any of the MySQL extensions are enabled, is a
single pg_connect() statement. When MySQL extensions are disabled, the
script exits immediately.
------------------------------------------------------------------------
[2007-09-30 02:56:24] joecosmoj at gmail dot com
By commenting out :
;extension=php_mysql.dll
and restarting mysql
THE BUG DISAPPEARED
dll version=5.2.5.5
Special build descriptor = "-dev"
------------------------------------------------------------------------
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
Thread (157 messages)
- #41350 [Opn->Asn]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Asn]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Asn->Fbk]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [NoF->Asn]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Asn]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Asn->Fbk]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Fbk]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [NoF->Fbk]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [NoF->Fbk]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [NoF->Fbk]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [NoF]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [NoF->Opn]: Error in my_thread_global_end()
- #41350 [Opn->Asn]: Error in my_thread_global_end()
- #41350 [Asn->Fbk]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [NoF->Fbk]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Fbk]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- #41350 [Com]: Error in my_thread_global_end()
- Bug #41350 [NoF->Csd]: Error in my_thread_global_end()
| « previous | php.bugs (#118204) | next » |
|---|