Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error in my_thread_global_end(): 2 threads didn't exit 1

Status
Not open for further replies.

lhuegele

IS-IT--Management
Jan 24, 2002
886
US
Anyone have any ideas why I would be seeing this at the end of any PHP file I create?

Error in my_thread_global_end(): 2 threads didn't exit

I'm running PHP and mySQL and the PHP files I've created give the output as expected, so I'm confused why I see this pop up at the end of each document a few seconds after the content is displayed on the web.

Thanks,
 
Looks like a custom error, not one PHP is would spit out.

You should look into your my_thread_global_end() function, to see what its doing.

It seams something is wrong at some point that generates that error.




----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Thanks I appreciate the reply. I've been racking my brains for weeks and have not figured it out. Like I said, the output is what I expect, it's just 3-5 seconds after generating the output to the screen, this error shows up at the bottom of the output. Very strange.

Thanks again,
 
A quick Google using the search term my_thread_global_end found a number of sites, particularly:

and

Which indicates it's a bug in one or more MySQL library.

You might also look at:



Want to ask the best questions? Read Eric S. Raymond's essay "How To Ask Questions The Smart Way". TANSTAAFL!
 
Thanks for the links sleipnir! I'm sure I'll find the solution in one of those threads. I'll let you know if I do. Here's a star for posting the links!

Thanks again,
 
Thanks again sleipnir214! The solution was in the first link you sent me.

Turns out this is a problem in the libmysql.dll in all versions of PHP higher than 5.2.1. Replacing this file with the one from 5.2.1 fixed the problem!

Thanks again!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top