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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bryan at emarengo dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Wed Feb 05 06:01:32 2025 UTC