php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41503 Possible threading issue in cli
Submitted: 2007-05-25 20:53 UTC Modified: 2007-05-29 13:11 UTC
From: bryan at emarengo dot com Assigned:
Status: Not a bug Package: CGI/CLI related
PHP Version: 5.2.2 OS: XP Pro sp2
Private report: No CVE-ID: None
 [2007-05-25 20:53 UTC] bryan at emarengo dot com
Description:
------------
Stopping a script in cli via "cntl c" produces error.

XP Pro sp2
php 5.2.2
apache 2.2.4

Reproduce code:
---------------
Execute the following from a command line and press "cntl c" before it terminates naturally.

<?
sleep(1);
sleep(1);
sleep(1);
sleep(1);
sleep(1);
sleep(1);
sleep(1);
sleep(1);
?>



Expected result:
----------------
Script termination without error.

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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-05-27 15:07 UTC] rogerioacai at ig dot com dot br
Error in my_thread_global_end(): 1 threads didn't exit 

help!!!
 [2007-05-28 15:19 UTC] tony2001@php.net
Duplicate of bug #41350.
 [2007-05-29 13:11 UTC] bryan at emarengo dot com
I saw that bug report Tony... I "assumed" that since it was not related to mysql, it must be something different. You know what they say about "assuming". :)

Anyway, all is well after replacing libmysql.dll with the 5.2.1 version. Thank you!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 30 12:01:30 2024 UTC