php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41726 Error on system calls (`, popen)
Submitted: 2007-06-18 13:00 UTC Modified: 2007-06-19 11:08 UTC
From: lburger at hu dot tesco-europe dot com Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 5.2.3 OS: Windows
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: lburger at hu dot tesco-europe dot com
New email:
PHP Version: OS:

 

 [2007-06-18 13:00 UTC] lburger at hu dot tesco-europe dot com
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-06-18 15:07 UTC] sniper@php.net
See also bug #41350 (propably unrelated but who knows, it's Windows..)
 [2007-06-19 07:24 UTC] lburger at hu dot tesco-europe dot com
You're right. If MySQL extension is removed from php.ini, everything works fine. Thank you for the link.
 [2007-06-19 10:58 UTC] nlopess@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

yep, its the same problem (I can reproduce it, too).
 [2007-06-19 11:08 UTC] lburger at hu dot tesco-europe dot com
Sorry for the double, I did searched but didn't find that other issue. As is it didn't seemed related after Sniper posted the other one. Again, I apologise for it.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jul 07 10:01:34 2025 UTC