Edit report at https://bugs.php.net/bug.php?id=51800&edit=1

 ID:                 51800
 Comment by:         a...@php.net
 Reported by:        ph dot wolfer at googlemail dot com
 Summary:            proc_open on Windows hangs forever
 Status:             Assigned
 Type:               Bug
 Package:            Streams related
 Operating System:   Windows
 PHP Version:        *
 Assigned To:        ab
 Block user comment: N
 Private report:     N

 New Comment:

It hangs at http://lxr.php.net/xref/PHP_5_5/main/streams/plain_wrapper.c#348 , 
the 
read call doesn't return at some point. Setting the pipe mode to wb tells no 
difference. But I guess the cause is somewhere in the upper levels, may be in 
the 
descriptor options. So continuing to debug.


Previous Comments:
------------------------------------------------------------------------
[2013-05-05 14:59:26] a...@php.net

Related To: Bug #64438

------------------------------------------------------------------------
[2013-03-16 03:15:06] hanskrentel at yahoo dot de

The problem with exactly 4097 bytes has just been reported here: 
https://bugs.php.net/bug.php?id=64438

It's a follow up to https://bugs.php.net/bug.php?id=60120 which is wrongly 
closed 
as resolved.

this and the many other issues show that the flaw is not fixed:

https://bugs.php.net/bug.php?id=51800
https://bugs.php.net/bug.php?id=60120
https://bugs.php.net/bug.php?id=64438

------------------------------------------------------------------------
[2012-04-12 14:41:35] andremiguelcruz at msn dot com

I hope this gets fixed soon both on 5.4 and 5.3.
Is very frustrating because I have this bug while using symfony2 with scss.

------------------------------------------------------------------------
[2012-04-09 12:49:12] paj...@php.net

it seems that the issue is on main/streams.c:679

                if (stream->writepos - stream->readpos < (off_t)size) {

where writepos and readpos are equals.

Anatolyi, please take a look at it.

------------------------------------------------------------------------
[2012-04-08 21:21:34] s...@php.net

I could reproduce this on PHP 5.4.0 as soon as $data is longer than 4096 bytes.

With $data = str_repeat("a", 4097); in process.php it hangs forever, while with 
any number until 4096 it passes.

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=51800


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=51800&edit=1

Reply via email to