ID: 33909
Updated by: [EMAIL PROTECTED]
Reported By: phil at adigital dot com dot mx
-Status: Open
+Status: Assigned
Bug Type: Filesystem function related
Operating System: *
PHP Version: 5CVS-2005-07-29
Assigned To: wez
New Comment:
Wez, feedback given!
Previous Comments:
[2005-08-07 09:04:43] phil at adigital dot com dot mx
Reproduce code (again):
---
For linux code example :
http://www.thomassigny.org/bugpipe/linux/
For windows code example :
http://www.thomassigny.org/bugpipe/windows/
[2005-07-29 07:39:31] [EMAIL PROTECTED]
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with ?php and ends with ?,
is max. 10-20 lines long and does not require any external
resources such as databases, etc.
If possible, make the script source available online and provide
an URL to it here. Try to avoid embedding huge scripts into the report.
[2005-07-29 02:05:50] [EMAIL PROTECTED]
Yet another streams issue.
[2005-07-28 18:55:33] phil at adigital dot com dot mx
Description:
Opening a pipe for read , for example for a cgi (in this example) will
block on the fread AFTER a call to a call with an entry file
I got the error on Windows, Linux, from PHP 5.0.2, PHP 5.0.4, PHP5.1 on
CVS (did not try on other versions either)
For example:
Call 1: popen(/usr/bin/php5); with SCRIPT_FILENAME=info.phpWORKS
perfectly, and is repeatible X times
Call 2: popen(/usr/bin/php5); with SCRIPT_FILENAME=info.phptempfile
WORKS perfectly... BUT
Call 3: after the call 2
popen(/usr/bin/php5); with SCRIPT_FILENAME=info.phpWILL HANG AND
TOTALLY BLOCK but without using CPU time.
compile: compiled downloaded version on windows,
natural php.ini without modifications
On linux: compiled as CLI, CGI, no more options than mysql
The bug do not depends on what is compiled with php
Thx
Reproduce code:
---
For linux code example :
http://www.thomassigny.org/bugpipe/linux/
For windows code example :
http://www.thomassigny.org/bugpipe/windows/
Expected result:
i expect the code does not hang...
Actual result:
--
no backtrace, the running code hang
--
Edit this bug report at http://bugs.php.net/?id=33909edit=1