Edit report at https://bugs.php.net/bug.php?id=63097&edit=1
ID: 63097 Updated by: f...@php.net Reported by: admin at yqed dot com Summary: Segfault on php-fpm service start -Status: Open +Status: Feedback Type: Bug Package: FPM related Operating System: CentOS 5/6 64bits PHP Version: 5.3.17 Block user comment: N Private report: N New Comment: Please try using this snapshot: http://snaps.php.net/php5.3-latest.tar.gz For Windows: http://windows.php.net/snapshots/ see bug #62886 and bug #62954 Previous Comments: ------------------------------------------------------------------------ [2012-09-17 02:46:08] debian at michael-neubert dot de Hello, since PHP 5.3.15 we have also segmentation faults when using xcache PHP module in combination with ionCubeLoader PHP module. 5.3.14 is not affected. Without loading xcache PHP module everything works also fine for us in 5.3.17. Maybe this is also related to this bug: Bug https://bugs.php.net/bug.php?id=63005. Best wishes Michael ------------------------------------------------------------------------ [2012-09-16 02:15:37] admin at yqed dot com Some additional troubleshooting: # DAEMON_COREFILE_LIMIT=unlimited strace -s 1024 -f /etc/init.d/php-fpm restart 2>&1 | grep -i SEGV [pid 21884] --- SIGSEGV (Segmentation fault) @ 0 (0) --- [pid 21883] <... wait4 resumed> [{WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV && WCOREDUMP(s)}], 0, NULL) = 21884 The above error occurs on a regular basis, no matter how many times I run the strace: # DAEMON_COREFILE_LIMIT=unlimited strace -s 1024 -f /etc/init.d/php-fpm restart 2>&1 | grep -i SEGV [pid 21914] --- SIGSEGV (Segmentation fault) @ 0 (0) --- [pid 21913] <... wait4 resumed> [{WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV && WCOREDUMP(s)}], 0, NULL) = 21914 I believe it could be related to this bug: https://bugs.php.net/bug.php?id=61231 ------------------------------------------------------------------------ [2012-09-16 01:36:48] admin at qyqed dot com The segfault occurs randomly, I can restart the service several times without issues. All of the sudden, it pops without explanation. ------------------------------------------------------------------------ [2012-09-16 01:34:28] admin at yqed dot com The error format I get when I restart the php-fpm service: # service php-fpm restart Stopping php-fpm: [ OK ] Starting php-fpm: /bin/bash: line 1: 20659 Segmentation fault /usr/sbin/php- fpm -y /etc/php-fpm/php-fpm.conf [FAILED] ------------------------------------------------------------------------ [2012-09-16 01:25:02] admin at yqed dot com Description: ------------ This issue started making surface with PHP 5.3.15 and is still present in 5.3.17 release. In /var/log/messages, you will see entries similar to: hermes kernel: php-fpm[20659]: segfault at 00002aea5a750210 rip 0000003ca220da3e rsp 00007fff6b7d56b0 error 4 I created a objdump which will help you precisely locate the current issue. Test script: --------------- php-fpm.debug objdump file: http://www.mediafire.com/?qbkjzbidj9b1zsr ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=63097&edit=1