Edit report at https://bugs.php.net/bug.php?id=62886&edit=1
ID: 62886
Comment by: hsatac at golang dot tw
Reported by: pierre at archlinux dot de
Summary: PHP-FPM may segfault/hang on startup
Status: Assigned
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:
Having the same issue.
Archlinux + PHP 5.4.7
Previous Comments:
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
[2012-09-17 09:55:04] daniel at bashgeek dot net
Have the same problem on my end with a couple of servers. For me the problem is
solved as soon as I disable the IMAP extension of PHP. Maybe it has something
todo with this extension?
------------------------------------------------------------------------
[2012-09-12 16:32:02] jeffrey dot ness at rackspace dot com
I am also noticing this issue with our 5.3.16 packages:
# php-fpm -v
PHP 5.3.16 (fpm-fcgi) (built: Aug 20 2012 10:39:20)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
# for i in {1..100}; do php-fpm ; killall php-fpm; done
Segmentation fault
Segmentation fault
Segmentation fault
# dmesg | grep php-fpm
php-fpm[30800]: segfault at 7f7d199f4cd0 ip 00007f7d24a43b83 sp
00007fffdd48fb20 error 4 in ld-
2.12.so[7f7d24a35000+20000]
php-fpm[31599]: segfault at 7f50f17c3cd0 ip 00007f50fc812b83 sp
00007fff09f13120 error 4 in ld-
2.12.so[7f50fc804000+20000]
php-fpm[32009]: segfault at 7f3005f59cc0 ip 00007f3010938b83 sp
00007fffb291c3a0 error 4 in ld-
2.12.so[7f301092a000+20000]
php-fpm[32313]: segfault at 7f17094a4cc0 ip 00007f1713e83b83 sp
00007fffaab94e20 error 4 in ld-
2.12.so[7f1713e75000+20000]
php-fpm[32585]: segfault at 7f60ad427cc0 ip 00007f60b7e06b83 sp
00007ffff44e06a0 error 4 in ld-
2.12.so[7f60b7df8000+20000]
------------------------------------------------------------------------
[2012-08-24 09:06:27] pierre at archlinux dot de
I have attached php.ini and php-fpm.conf as patches (sorry, didn't fint another
way to attach those)
Here is what is different from the configuration shipped with PHP 5.4.6:
The php-fpm.conf is the plain upstream one with this patch applied:
https://projects.archlinux.de/svntogit/packages.git/tree/trunk/php-fpm.conf.in.patch?h=packages/php
php.ini is a copy of php.ini-production with this patch applied:
https://projects.archlinux.de/svntogit/packages.git/tree/trunk/php.ini.patch?h=packages/php
On top of that I applied the following changes locally:
http://paste.xinu.at/Hp6/
------------------------------------------------------------------------
[2012-08-24 08:46:19] [email protected]
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
I also need your FPM configuration and your php.ini please
thanks
------------------------------------------------------------------------
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