#41503 [NEW]: Possible threading issue in cli
| From: | bryan at emarengo dot com | Date: | Fri, 25 May 2007 20:53:52 +0000 |
| Subject: | #41503 [NEW]: Possible threading issue in cli | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-113035@lists.php.net to get a copy of this message | ||
From: bryan at emarengo dot com
Operating system: XP Pro sp2
PHP version: 5.2.2
PHP Bug Type: CGI related
Bug description: Possible threading issue in cli
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
--
Edit bug report at http://bugs.php.net/?id=41503&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=41503&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=41503&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=41503&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=41503&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=41503&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=41503&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=41503&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=41503&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=41503&r=support
Expected behavior: http://bugs.php.net/fix.php?id=41503&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=41503&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=41503&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=41503&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=41503&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=41503&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=41503&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=41503&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=41503&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=41503&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=41503&r=mysqlcfg