#41350 [Com]: Error in my_thread_global_end()
by Computer dot Pers at gmail dot com other posts by this author
Jun 19 2008 4:50AM messages near this date
#41350 [Com]: Error in my_thread_global_end()
|
#41350 [Fbk]: Error in my_thread_global_end()
ID: 41350
Comment by: Computer dot Pers at gmail dot com
Reported By: graham at directhostinguk dot com
Status: Feedback
Bug Type: MySQL related
Operating System: Windows 2003
PHP Version: 5.2.6
Assigned To: scottmac
New Comment:
So mysql dll from 5.2.1 cures the problem...
Where i can take php 5.2.1 (or this dll)???
there no any live links in google...
Previous Comments:
------------------------------------------------------------------------
[2008-06-12 08:44:56] scottmac@[...].net
This was a change by MySQL, not by PHP. We simply bundle the latest
version of MySQL, if you use PHP 5.2.2 with the libmysql.dll you will
see the issue.
They're looking at other changes to try and solve an issue where every
new thread needs to call mysql_thread_init() which isn't ideal. Until
then either use the non-thread-safe version of PHP or downgrade your
libmysql.dll
------------------------------------------------------------------------
[2008-06-11 21:33:47] paul at orac dot clara dot co dot uk
At last, someone seems to have a clue:
http://bugs.mysql.com/bug.php?id=25621
http://bugs.mysql.com/bug.php?id=37226
------------------------------------------------------------------------
[2008-06-11 21:20:31] paul at orac dot clara dot co dot uk
Brand new install of Win XP, with IIS (5.1).
Installed PHP 5.2.6 (IIS set to use PHP in CGI mode not ISAPI).
MySQL is NOT installed on the machine.
The only version of libmysql.dll anywhere is the one supplied with php
(version 5.00.51a).
With either or both of "extension=php_mysql.dll" or
"extension=php_mysqli.dll" enabled, running "php-cgi -v" results in the
5 second delay about 25% of the time (5 times out of 20 - very
repeatable).
The same happens running a browser to a local web page containing just
a call to phpinfo().
With both the extension lines commented, the problem does not occur,
ever.
Running "php -v" I never see the problem occur, ever, even with the
extensions enabled.
Replacing libmysql.dll with the one from php 5.2.1 (version 5.00.22)
causes the above 5 second delay to disappear in ALL cases.
The first version of libmysql.dll that caused the problem was that
supplied with php 5.2.2.
Surely it can't be too hard to start back with those two versions and
work out what changed between them?
------------------------------------------------------------------------
[2008-06-09 11:47:13] Computer dot Pers at gmail dot com
OK.
I've upgraded PHP to latest 5.2.6
Message: "Error in my_thread_global_end(): 1 threads didn't exit"
is disappeared.
but delay of 5 seconds is here.
I've disabled ALL plugins and there's no any delay.
1. Then i've enabled "extension=php_mysql.dll"
2. i've created script, which shows curent time before and after "php
-v" commnad and launched it several times
here is result:
1. No delay
C:\Program Files\SWsoft\Plesk\Additional\PleskPHP5> phpinfo.bat
09.06.2008 14:33:16
PHP 5.2.6 (cli) (built: May 2 2008 18:02:07)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
09.06.2008 14:33:16
2. Delay
C:\Program Files\SWsoft\Plesk\Additional\PleskPHP5> phpinfo.bat
09.06.2008 14:33:18
PHP 5.2.6 (cli) (built: May 2 2008 18:02:07)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
09.06.2008 14:33:23
3. No delay
C:\Program Files\SWsoft\Plesk\Additional\PleskPHP5> phpinfo.bat
09.06.2008 14:33:26
PHP 5.2.6 (cli) (built: May 2 2008 18:02:07)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
09.06.2008 14:33:26
4. No delay
C:\Program Files\SWsoft\Plesk\Additional\PleskPHP5> phpinfo.bat
09.06.2008 14:33:28
PHP 5.2.6 (cli) (built: May 2 2008 18:02:07)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
09.06.2008 14:33:28
5. No delay
C:\Program Files\SWsoft\Plesk\Additional\PleskPHP5> phpinfo.bat
09.06.2008 14:33:29
PHP 5.2.6 (cli) (built: May 2 2008 18:02:07)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
09.06.2008 14:33:29
6. No delay
C:\Program Files\SWsoft\Plesk\Additional\PleskPHP5> phpinfo.bat
09.06.2008 14:33:30
PHP 5.2.6 (cli) (built: May 2 2008 18:02:07)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
09.06.2008 14:33:30
7. Delay
C:\Program Files\SWsoft\Plesk\Additional\PleskPHP5> phpinfo.bat
09.06.2008 14:33:31
PHP 5.2.6 (cli) (built: May 2 2008 18:02:07)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
09.06.2008 14:33:36
.........
1 of 3 or 4 times i see a delay of 5 secs.
and this is on a machine Intel Xeon E5335 @2Ghz 4Gb Ram at Idle state
MySql for test reason was STOPPED.
------------------------------------------------------------------------
[2008-06-09 10:55:35] scottmac@[...].net
First you need 5.2.6 and secondly you need to check for old
libmysql.dll files lurking around in your path, I can't reproduce this
with MySQL 5.0.51.
Can you reproduce this when you disable all extensions and just enable
MySQL? If you start enabling extensions which one causes the problem?
On phpinfo() what version of libmysql does it show?
If you don't have PHP 5.2.6 and MySQL 5.0.51 or newer then please
upgrade before you consider replying.
------------------------------------------------------------------------
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:
Graham At Directhostinguk Dot Com
Marcin Dot Slowinski At Keratronik Dot Pl
Froggywillneverdie At Msn Dot Com
Bkeene At Whisolutions Dot Nospamplease Dot Com
Computer dot Pers at gmail dot com
scottmac
Paul At Orac Dot Clara Dot Co Dot Uk
Paul At Orac Dot Clara Dot Co Dot Uk
Computer dot Pers at gmail dot com
scottmac
Computer dot Pers at gmail dot com
Kneekoo At Yahoo Dot Com
Onehourlate At Hotmail Dot Com
Da_pimp2004_966 At Hotmail Dot Com
Louis At Steelbytes Dot Com
jani
jani
jani
Chris At Crgs Dot Co Dot Uk
Newcomer At Hotmail Dot Com
Alienoiduk At Yahoo Dot Com
Newcomer At Hotmail Dot Com
Tristen_e At Yahoo Dot Com
jdolecek at NetBSD dot org
Spambox At Shad Dot Pp Dot Ru
Stein At Visibone Dot Com
Lizwatson02452 At Yahoo Dot Com
Lizwatson02452 At Yahoo Dot Com
scottmac
Stein At Visibone Dot Com
Stein At Visibone Dot Com
Stein At Visibone Dot Com
Email At Email Dot Com
Emiller At Rsimedical Dot Com
Sharadrb At Yahoo Dot Com
Brandonkahre At Charter Dot Net
Byerly0503 At Gmail Dot Com
OPunWide at hotmail dot com
WS6TA at txlanes dot com
Codeslinger At Compsalot Dot Com
Jmair At Parkcountyre2 Dot Org
Amoo_miki At Yahoo Dot Com
Jaco At Jump Dot Co Dot Za
Jaco At Jump Dot Co Dot Za
Jcmelcher At Gmail Dot Com
Benjamin Dot Azan At Gmail Dot Com
Benjamin Dot Azan At Gmail Dot Com
Stalin Dot Gsk At Gmail Dot Com
Stalin Dot Gsk At Gmail Dot Com
Jungno At Gmail Dot Com
Cappytoi At Yahoo Dot Com
Ekarudito At Gmail Dot Com
Scratch65535 At Att Dot Net
M Dot Bariola At Prodigiweb Dot It
Jean-Yves Dot Deleze At Crealp Dot Vs Dot Ch
Ulmer At Energieagentur Dot Nrw Dot De
Webmaster At Cosmicperl Dot Com
Jp At Chicagowebexperts Dot Com
Bjohnso1 At Usc Dot Edu Dot Au
Michael At Chunkycow Dot Com Dot Au
Andrewm At Rochester Dot Rr Dot Com
Dkeller At Uh Dot Edu
Jamesvl At Trinitylight Dot Com
Bobbyb98 At Gmail Dot Com
Ccongdon At Congdonweb Dot Com
Chris At Crgs Dot Co Dot Uk
Rburghol At Vt Dot Edu
Rburghol At Vt Dot Edu
Noto At Ardentsolutions Dot Co Dot Za
Noto At Ardentsolutions Dot Co Dot Za
scottmac
Chris At Crgs Dot Co Dot Uk
Itahmed At Hotmail Dot Com
Barrp At Hcdat Dot Com
Topgunmm At Comcast Dot Net
Cranderson At Att Dot Net
Anrdaemon At Freemail Dot Ru
Cranderson At Att Dot Net
Chris At Crgs Dot Co Dot Uk
Temp4 At Scottpreston Dot Com
Thorsten At Phpmyfaq Dot De
256512 At Gmail Dot Com
Joecosmoj At Gmail Dot Com
Ricardo Dot Rodrigues At Istimeless Dot Pt
W Dot Ashcroft At Redfoxuk Dot Com
Chris At Crgs Dot Co Dot Uk
Daniel Dot Gaddis At Tlc Dot State Dot Tx Dot Us
Daniel Dot Gaddis At Tlc Dot State Dot Tx Dot Us
Phpbug At Povaddict Dot Com Dot Ar
scottmac
Phpbug At Povaddict Dot Com Dot Ar
Chadworsham At Hotmail Dot Com
Wangyi6854 At Sohu Dot Com
Thorsten At Phpmyfaq Dot De
Csharp Dot Net Dot 2007 At Hotmail Dot Com
Chicken at TheMooFarm dot com
Chicken at TheMooFarm dot com
Thorsten At Phpmyfaq Dot De
scottmac
Thorsten At Phpmyfaq Dot De
Richard At Vottle Dot Com
Richard At Vottle Dot Com
Lferro At Teladigital Dot Pt
Astorni At Softhome Dot Net
Astorni At Softhome Dot Net
Phpuser At Gmail Dot Com
Acosta At Mauricio Dot Net Dot Ar
Dj02 Dot Net At Nbl Dot Fi
Ng Dot Sick Dot No At Gmail Dot Com
scottmac
Romain Dot Burot At Laposte Dot Net
scottmac
Thorsten At Phpmyfaq Dot De
A At Asdf Dot Com
Sghasemi At Mail Dot Com
Xavier At Codewordx Dot Com
Phpuser At Gmail Dot Com
scottmac
Nick Dot Dixon At Gmail Dot Com
Ng Dot Sick Dot No At Gmail Dot Com
Aaronbair At Hotmail Dot Com
tony2001
Selarin At Yandex Dot Ru
Anony At Ousql Dot Cl
Chris At Crgs Dot Co Dot Uk
scottmac
Maxfm At Abv Dot Bg
Ysangkok At Gmail Dot Com
Chris At Crgs Dot Co Dot Uk
scottmac
Chris At Crgs Dot Co Dot Uk
Curthenderson At Hotmail Dot Com
Louis At Steelbytes Dot Com
Roger Dot Weiss At Gmail Dot Com
Chris At Crgs Dot Co Dot Uk
Louis At Steelbytes Dot Com
Php At Stock-Consulting Dot Com
E_remove_paine At Lastfrontiers Dot Com
Sptong At Hotmail Dot Com
Paul At Orac Dot Clara Dot Co Dot Uk
tony2001
|