Results 1 to 6 of 6

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

  1. #1
    Join Date
    Nov 2009
    Posts
    680

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

    Hello, while executing my php script I am getting following line of error on my every page.
    Error in my_thread_global_end(): 1 threads didn't exit

    What does it mean? Can anyone give me details about it. Is this error is regarding any thread which is declared as global or something?

  2. #2
    Join Date
    Apr 2008
    Posts
    1,948

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

    Hello, I have come to know that this is not an error in your code but it is actually a bug in the latter PHP/MySQL release. This bug is appeared when the MySQL's InnoDB database storage engine's connection handlers not able to decrement the server's thread count while exiting from the thread. If you want to fix or solve this problem then you need to move to PHP Server API from CGI/FastCGI to ISAPI. I think this will solve your problem.

  3. #3
    Join Date
    May 2008
    Posts
    2,012

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

    You are getting the Error in my_thread_global_end(): 1 threads didn't exit. Then you can make use of the following Solution:

    The error which you are getting is denotes that MySQL threads are not exiting correctly. This can happen due to different reasons and all of them requires different result. This indicates that the MySQL instance on this machine is not running correctly, So, you need to solve this with the help of any IT technical person. That only solve your problem as it is needed to take look at your installed applications.

  4. #4
    Join Date
    Apr 2008
    Posts
    2,005

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

    Same problem had been encountered by me and then come to know that the error "Error in my_thread_global_end(): 1 threads didn't exit" is not a error, but it is a bug. This is bug from the libmysql.dll library. This can be solved if you simply replace the copy from 5.2.2 with the one from 5.2.1. So, you will able to solve this problem if you follow this instruction. You can able to get this copy on internet without any cost. So, just use it and solve your problem.

  5. #5
    Join Date
    May 2008
    Posts
    2,297

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

    To solve this error permanently you need to follow the steps below:

    • First go to the folder where the PHP is installed.
    • Rename libmysql.dll to libmysql.bad
    • Now download the PHP 5.2.1 binary from internet and extract it.
    • Now copy the libmysql.dll from this folder to the PHP installation folder.
    • Restart your web server save the changes.

  6. #6
    Join Date
    Oct 2005
    Posts
    2,393

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

    You are getting the Error in my_thread_global_end(): 1 threads didn't exit which is actually the bug from the PHP 5.2.2 and you need to switch over to PHP 5.2.1 to solve this problem. So, just click on the link below to solve your problme.

    PHP 5.2.1

    Download PHP 5.2.1 and uninstall the PHP 5.2.2 from your computer. Then again install the PHP 5.2.1 to solve this bug.

Similar Threads

  1. Tar: 'Error exit delayed from previous errors'
    By jean-paul martell in forum Operating Systems
    Replies: 3
    Last Post: 17-11-2009, 11:12 AM
  2. Replies: 3
    Last Post: 22-09-2009, 09:38 AM
  3. Error : command 'gcc' failed with exit status 1
    By _Gentoo_Nile_ in forum Operating Systems
    Replies: 3
    Last Post: 07-08-2009, 06:57 PM
  4. The NTP server didn't respond Error on Windows 2000
    By Kaysel in forum Window 2000 Help
    Replies: 3
    Last Post: 09-06-2007, 06:11 PM
  5. Error - Driver components mis-match. Exit is the only option
    By m3pilot in forum Windows XP Support
    Replies: 2
    Last Post: 31-10-2004, 02:24 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,303,507.01100 seconds with 17 queries