Bug #51580 [Opn->Bgs]: socket_select randomly fails when used together with fork and Unix signals
| From: | mike@php.net | Date: | Wed, 12 May 2010 13:48:44 +0000 |
| Subject: | Bug #51580 [Opn->Bgs]: socket_select randomly fails when used together with fork and Unix signals | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-150393@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=51580&edit=1
ID: 51580
Updated by: mike@php.net
Reported by: marco at vmsoft-gbr dot de
Summary: socket_select randomly fails when used together with
fork and Unix signals
-Status: Open
+Status: Bogus
Type: Bug
Package: PCNTL related
Operating System: Debian Linux
PHP Version: 5.3.2
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
See the restart_syscalls parameter.
Previous Comments:
------------------------------------------------------------------------
[2010-04-17 14:50:51] marco at vmsoft-gbr dot de
It doesn't crash in the literal sense, as I said before this was a
mistake in word choosing. So it's technically something other than a
crash, but I dunno how to properly call it. It's a bug, that's the only
thing thats sure.
------------------------------------------------------------------------
[2010-04-17 13:46:57] pajoye@php.net
If it crashes then linux should be able to generate a core dump file
(without gdb). You can then use it to generate a back trace.
------------------------------------------------------------------------
[2010-04-17 13:39:33] marco at vmsoft-gbr dot de
Uh, the PHP *process* doesn't crash, so no corefile. Sorry, was bad
choice of words by me. Anyway, whatever happens with socket_select there
should not happen... but how to backtrace that one without an actual
crash?
------------------------------------------------------------------------
[2010-04-17 13:23:08] pajoye@php.net
Can you try to generate a coredump and use it later to get a bt:
http://stackoverflow.com/questions/17965/generate-a-core-dump-in-linux
------------------------------------------------------------------------
[2010-04-17 11:13:18] marco at vmsoft-gbr dot de
just ran it under gdb, it fails as expected, but as it's not
segfaulting, no backtrace can be made.
------------------------------------------------------------------------
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/bug.php?id=51580
--
Edit this bug report at http://bugs.php.net/bug.php?id=51580&edit=1