Edit report at https://bugs.php.net/bug.php?id=62886&edit=1
ID: 62886 Comment by: jdr at alexanderinteractive dot com Reported by: pierre at archlinux dot de Summary: PHP-FPM may segfault/hang on startup Status: Feedback Type: Bug Package: FPM related Operating System: Arch Linux PHP Version: 5.4.6 Assigned To: fat Block user comment: N Private report: N New Comment: This patch seems to do the trick for me for php 5.4.7 Thanks! Previous Comments: ------------------------------------------------------------------------ [2012-09-26 20:26:32] jonas at brachium-system dot net I came from #62954 - I have applied your patch against 5.3.x source. It fixes my problem - fpm starts up normal and detaches. fat, great work :) ------------------------------------------------------------------------ [2012-09-26 19:31:50] f...@php.net Can you please test the following path ? The commit you mentioned to be faulty in fact did the following things: when daemonize, the calling process waited 10s for the master process (which have been forked just before) to send USR1 if OK or USR2 otherwise. There must be a problem with some external libraries using USR1 and USR2. I've removed the signal stuff and have it replaced by a pipe(2). Can you please test and tell me if it fix your problem (which I never been able to reproduce on my side). thx ++ fat ------------------------------------------------------------------------ [2012-09-26 19:28:24] f...@php.net The following patch has been added/updated: Patch Name: bug62886.patch.txt Revision: 1348687704 URL: https://bugs.php.net/patch-display.php?bug=62886&patch=bug62886.patch.txt&revision=1348687704 ------------------------------------------------------------------------ [2012-09-20 10:40:48] hsatac at golang dot tw Having the same issue. Archlinux + PHP 5.4.7 ------------------------------------------------------------------------ [2012-09-17 09:59:00] pierre at archlinux dot de It also crashes with the imap extension disabled. But it seems the number of enabled extensions might matter. Anyway, we have a backtrace and the commit that introduced this issue. ------------------------------------------------------------------------ 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=62886 -- Edit this bug report at https://bugs.php.net/bug.php?id=62886&edit=1