From: lburger at hu dot tesco-europe dot com Operating system: Windows PHP version: 5.2.3 PHP Bug Type: Reproducible crash Bug description: Error on system calls (`, popen)
Description: ------------ I use `` or popen, the script will evaluate the whole script then hang until script time limit expires. The error kicks in everytime. The error didn't exist prior to 5.2.3 Reproduce code: --------------- Needed: <?php $tasks = `schtasks`; ?> But happens even: <?php `dir`; ?> Expected result: ---------------- For both scripts the evaluation should be last less than a second. Actual result: -------------- Scripts hang until script time limit expires and then die with the following error (seen only when I used command line, not seen if run from Apache module): Error in my_thread_global_end(): 1 threads didn't exit -- Edit bug report at http://bugs.php.net/?id=41726&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=41726&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=41726&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=41726&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=41726&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=41726&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=41726&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=41726&r=needscript Try newer version: http://bugs.php.net/fix.php?id=41726&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=41726&r=support Expected behavior: http://bugs.php.net/fix.php?id=41726&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=41726&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=41726&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=41726&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=41726&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=41726&r=dst IIS Stability: http://bugs.php.net/fix.php?id=41726&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=41726&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=41726&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=41726&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=41726&r=mysqlcfg