Edit report at https://bugs.php.net/bug.php?id=51580&edit=1
ID: 51580 Comment by: lykillerl at gmail dot com Reported by: marco at vmsoft-gbr dot de Summary: socket_select randomly fails when used together with fork and Unix signals Status: Not a bug Type: Bug Package: PCNTL related Operating System: Debian Linux PHP Version: 5.3.2 Block user comment: N Private report: N New Comment: I also have this problem, the php no crash, still running, and i use the socket_select() time out to become the looping interval, but sometime the the socket_select() failed and no wait the time out, at the same time my client cannot connect to the server during the socket_select() function was failed. Previous Comments: ------------------------------------------------------------------------ [2010-05-12 15:48:43] m...@php.net 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. ------------------------------------------------------------------------ [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] paj...@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] paj...@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 ------------------------------------------------------------------------ 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=51580 -- Edit this bug report at https://bugs.php.net/bug.php?id=51580&edit=1