#20922 [Opn->Fbk]: socket_select() blocks for some reason
| From: | sniper@php.net | Date: | Wed, 11 Dec 2002 14:08:01 +0000 |
| Subject: | #20922 [Opn->Fbk]: socket_select() blocks for some reason | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-27340@lists.php.net to get a copy of this message | ||
ID: 20922
Updated by: sniper@php.net
Reported By: tit.petric@telemach.net
-Status: Open
+Status: Feedback
Bug Type: Sockets related
Operating System: linux debian latest unstable
PHP Version: 4.4.0-dev
New Comment:
Please provide a complete, self-contained and short example script
which can be used to reproduce this.
complete: Begins with <?php, ends with ?>
self-contained: Does not require anything but itself.
short: 10-15 lines.
Previous Comments:
------------------------------------------------------------------------
[2002-12-11 06:38:08] tit.petric@telemach.net
hmm ok, here is the thing.. the script failed on socket_select - but it
was from a previous error
before i did socket select i also did a file() on an url - the server
was down so i guess somehow the error just got projected to another
socket
without the file($url) code i cant replicate it's behaviour, so i
removed it. my original report is still valid - socked_select() seemed
to stop in its tracks after that invalid file($url) request. (I had
debug output before and after to see why/how it hangs and i haddnt
suspected file($url) since it wen't without verbosity on that part)
------------------------------------------------------------------------
[2002-12-11 01:08:29] sniper@php.net
Please provide a complete, self-contained and short example script
which can be used to reproduce this.
------------------------------------------------------------------------
[2002-12-10 17:31:35] tit.petric@telemach.net
ughm sorry for my rushed english, what i ment to say is..
the snapshot version produces the same output as rc2, just without the
crash.
------------------------------------------------------------------------
[2002-12-10 17:12:12] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
One more try: TRY THE SNAPSHOT.
Not the RC2..(snapshot, as in the given url..)
------------------------------------------------------------------------
[2002-12-10 11:11:26] tit.petric@telemach.net
same result on windows rc2, just no more crash
------------------------------------------------------------------------
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/20922
--
Edit this bug report at http://bugs.php.net/?id=20922&edit=1