From: user at example dot com
Operating system: Debian Etch and RHEL 5
PHP version: 5.2.5
PHP Bug Type: Filesystem function related
Bug description: fopen blocks on fifo
Description:
------------
fopen() blocks waiting for read on named pipes (FIFOs) opened for reading.
Reproduce code:
---------------
At Unix prompt:
% mkfifo myfifo
PHP:
$fp = fopen('myfifo', 'r');
Expected result:
----------------
PHP execution should continue until attempting to read from the FIFO,
e.g.:
fread($fp, 1);
Actual result:
--------------
PHP execution suspends (blocks) on the fopen() command until another
process writes data to the FIFO.
--
Edit bug report at http://bugs.php.net/?id=43627&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=43627&r=trysnapshot44
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=43627&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=43627&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=43627&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=43627&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=43627&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=43627&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=43627&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=43627&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=43627&r=support
Expected behavior: http://bugs.php.net/fix.php?id=43627&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=43627&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=43627&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=43627&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43627&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=43627&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=43627&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=43627&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=43627&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=43627&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=43627&r=mysqlcfg