ID: 38273
Updated by: [EMAIL PROTECTED]
Reported By: axelluttgens at swing dot be
-Status: Open
+Status: Feedback
Bug Type: PCNTL related
Operating System: Mac OSX 10.4.7
PHP Version: 4.4.2
Previous Comments:
------------------------------------------------------------------------
[2007-07-13 07:56:57] axelluttgens at swing dot be
Hello Jani,
I'll try to test the case with the php5.2-200707130630 snapshot during
this week-end.
Thanks for the follow-up,
Axel
------------------------------------------------------------------------
[2007-07-11 13:05:39] [EMAIL PROTECTED]
Please try the 5.2 snapshot as requested before. We are going to
discontinue support for PHP 4 this year so it is very unlikely that this
bug will ever get fixed in PHP 4. But if the bug does not exist in PHP
5.2 it's possible to backport the fix from it to PHP 4.
------------------------------------------------------------------------
[2006-08-02 11:05:58] axelluttgens at swing dot be
As a follow-up: a "switch" statement, instead of reproduce code's "if"
statement, does not seem to be affected by the problem.
So, replacing the while loop in reproduce code with this one:
while (!socket_select($r = array($endpoint), $w = NULL, $e = NULL,
NULL))
switch ($err = socket_last_error())
{
case SOCKET_EINTR:
socket_clear_error();
PollSigs();
break;
default:
echo "socket_select() failed with $err\n";
break 2;
}
I get the expected behavior back (without having to resort to the
"dummy statement" kludge):
$ /Volumes/Data/Sources/sigtest.php
^C
Warning: socket_select() unable to select [4]: Interrupted system call
in /Volumes/Data/Sources/sigtest.php on line 32
Received SIGINT
Handling SIGINT
^C
Warning: socket_select() unable to select [4]: Interrupted system call
in /Volumes/Data/Sources/sigtest.php on line 32
Received SIGINT
Handling SIGINT
Could this be of some help for narrowing the cause?
------------------------------------------------------------------------
[2006-08-01 11:59:14] axelluttgens at swing dot be
Hello Tony, thanks again for your follow up!
For various reasons, I am currently really stuck with PHP 4 here. In
that sense, PHP 5 isn't an alternative for me yet.
But perhaps were you considering a very precise point?
Do you want me to try something else?
TIA,
Axel
------------------------------------------------------------------------
[2006-07-31 20:13:53] [EMAIL PROTECTED]
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.2-win32-latest.zip
------------------------------------------------------------------------
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/38273
--
Edit this bug report at http://bugs.php.net/?id=38273&edit=1