#40735 [Com]: stream_select returns 0 for php > 5.1.6
| From: | blade at debian dot org | Date: | Fri, 03 Aug 2007 21:12:21 +0000 |
| Subject: | #40735 [Com]: stream_select returns 0 for php > 5.1.6 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-115731@lists.php.net to get a copy of this message | ||
ID: 40735
Comment by: blade at debian dot org
Reported By: rodricg at sellingsource dot com
Status: No Feedback
Bug Type: Streams related
Operating System: x86_64 GNU/Linux
PHP Version: 5CVS-2007-03-05 (snap)
New Comment:
It is even worse on the current Debian Sid, with 5.2.3-1+b1. It returns
0 and the modified arrays contain just nothing, but there is obviosly
data available there. Tested with slightly adapted code from
http://netevil.org/blog/2005/may/guru-multiplexing
.
Previous Comments:
------------------------------------------------------------------------
[2007-03-24 01:00:01] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2007-03-16 23:06:09] nlopess@php.net
I have a x86(-32) gentoo box with the same gcc version as you and your
script works perfectly. anyway if this is a compiler error, you need
report it to gentoo guys, that will then investigate to see if it is
caused by their patchset or not.
------------------------------------------------------------------------
[2007-03-13 19:24:05] tony2001@php.net
Still works perfectly fine with or without OpenSSL, with and without
-O2.
I think I'll need an acccount on your machine to reproduce it.
------------------------------------------------------------------------
[2007-03-13 16:26:40] rodricg at sellingsource dot com
The following script reproduces the behavior (for me):
http://11434.com/stream_select.sh
Changing -O2 to -O1 or removing --with-openssl fixes the problem.
gcc version 4.1.2
openssl version 0.9.8d
------------------------------------------------------------------------
[2007-03-13 11:05:36] tony2001@php.net
I still have no idea how to replicate it.
------------------------------------------------------------------------
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
http://bugs.php.net/40735
--
Edit this bug report at http://bugs.php.net/?id=40735&edit=1