From: zakrzewskim at wp dot pl Operating system: CentOS 5.9 64-bit PHP version: 5.4.13 Package: FPM related Bug Type: Bug Bug description:PHP-FPM may segfault/hang on startup
Description: ------------ This is related to this: https://bugs.php.net/bug.php?id=62886&thanks=7 Bug still exists and many users are reporting this. There are many segfaults inside dmesg. PHP 5.4.13 (cli) (built: Mar 14 2013 09:15:29) Copyright (c) 1997-2013 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies with the ionCube PHP Loader v4.2.2, Copyright (c) 2002-2012, by ionCube Ltd., and with SourceGuardian v9.0.4, Copyright (c) 2000-2012, by Inovica Ltd. rpm -qi php Name : php Relocations: (not relocatable) Version : 5.4.13 Vendor: Remi Collet Release : 1.el5.remi Build Date: czw 14 mar 2013 09:27:38 CET Install Date: sob 16 mar 2013 18:44:01 CET Build Host: dixsept.famillecollet.com Group : Development/Languages Source RPM: php-5.4.13-1.el5.remi.src.rpm Size : 9294225 License: PHP and Zend and BSD Signature : DSA/SHA1, czw 14 mar 2013 09:45:45 CET, Key ID 004e6f4700f97f56 Packager : http://blog.famillecollet.com/ URL : http://www.php.net/ Summary : Osadzany w HTML-u jÄzyk skryptowy PHP (PHP: preprocesor hipertekstu). Description : PHP is an HTML-embedded scripting language. PHP attempts to make it easy for developers to write dynamically generated webpages. PHP also offers built-in database integration for several commercial and non-commercial database management systems, so writing a database-enabled webpage with PHP is fairly simple. The most common use of PHP coding is probably as a replacement for CGI scripts. The php package contains the module which adds support for the PHP language to Apache HTTP Server. Test script: --------------- It happens on highly loaded servers. Expected result: ---------------- No segfaults, stable operation. Actual result: -------------- [04-Apr-2013 22:38:37] ERROR: unable to read what child say: Bad file descriptor (9) [04-Apr-2013 22:38:55] ERROR: unable to read what child say: Bad file descriptor (9) [04-Apr-2013 22:38:55] ERROR: unable to read what child say: Bad file descriptor (9) [04-Apr-2013 22:38:55] ERROR: unable to read what child say: Bad file descriptor (9) [04-Apr-2013 22:38:55] ERROR: unable to read what child say: Bad file descriptor (9) [04-Apr-2013 22:38:55] ERROR: unable to read what child say: Bad file descriptor (9) [04-Apr-2013 22:38:55] ERROR: unable to read what child say: Bad file descriptor (9) php-fpm[19644]: segfault at 7fff30199fe0 ip 0000000000574e30 sp 00007fff30199fb0 error 6 in php-fpm[400000+32a000] php-fpm[18003]: segfault at 7fff30199fe0 ip 0000000000574e30 sp 00007fff30199fb0 error 6 in php-fpm[400000+32a000] php-fpm[9699]: segfault at 7fff30199fe0 ip 0000000000574e30 sp 00007fff30199fb0 error 6 in php-fpm[400000+32a000] php-fpm[17649]: segfault at 7fff30199fe0 ip 0000000000574e30 sp 00007fff30199fb0 error 6 in php-fpm[400000+32a000] php-fpm[13203]: segfault at 7fff30199fe0 ip 0000000000574e30 sp 00007fff30199fb0 error 6 in php-fpm[400000+32a000] php-fpm[21313]: segfault at 7ffeff931fa0 ip 0000000000574e30 sp 00007ffeff931f70 error 6 in php-fpm[400000+32a000] php-fpm[4705]: segfault at 7fff84be5fa0 ip 0000000000574e30 sp 00007fff84be5f70 error 6 in php-fpm[400000+32a000] php-fpm[24508]: segfault at 7fff84be5fa0 ip 0000000000574e30 sp 00007fff84be5f70 error 6 in php-fpm[400000+32a000] -- Edit bug report at https://bugs.php.net/bug.php?id=64626&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=64626&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=64626&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=64626&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=64626&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=64626&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=64626&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=64626&r=needscript Try newer version: https://bugs.php.net/fix.php?id=64626&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=64626&r=support Expected behavior: https://bugs.php.net/fix.php?id=64626&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=64626&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=64626&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=64626&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64626&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=64626&r=dst IIS Stability: https://bugs.php.net/fix.php?id=64626&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=64626&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=64626&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=64626&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=64626&r=mysqlcfg