From: lys0212 at qq dot com Operating system: RHEL6.3 PHP version: 5.3.19 Package: FPM related Bug Type: Bug Bug description:php-fpm segfault
Description: ------------ Recently, the new a server used to make web, configuration, software installation, etc. And now the production environment is the same. On-line soon found that /var/log/messages appear PHP-FPM segment error log ------------------------------------------------------------------------ Dec 14 16:57:15 localhost kernel: php-fpm[32231]: segfault at 3701788 ip 00000000007e10b1 sp 00007fff7c27f2c0 error 4 in php-fpm[400000+a5c000] Dec 14 16:57:16 localhost abrt[2735]: Saved core dump of pid 32231 (/web/software/php/sbin/php-fpm) to /var/spool/abrt/ccpp-2012-12-14-16:57:15- 32231 (279961600 bytes) Dec 14 16:57:16 localhost abrtd: Directory 'ccpp-2012-12-14-16:57:15-32231' creation detected Dec 14 16:57:16 localhost abrtd: Executable '/web/software/php/sbin/php-fpm' doesn't belong to any package Dec 14 16:57:16 localhost abrtd: 'post-create' on '/var/spool/abrt/ccpp-2012-12- 14-16:57:15-32231' exited with 1 Dec 14 16:57:16 localhost abrtd: Corrupted or bad directory /var/spool/abrt/ccpp-2012-12-14-16:57:15-32231, deleting -------------------------------------------------------------- Then after punch, find this mistake occur only in a page, the page, but nothing special, but also in other production machine work well. What is the cause? The following is core dump information: [root@localhost job]# gdb php -c core.32270 GNU gdb (GDB) Red Hat Enterprise Linux (7.2-56.el6) This GDB was configured as "x86_64-redhat-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/bin/php...(no debugging symbols found)...done. warning: core file may not match specified executable file. [New Thread 32270] Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 Core was generated by `php-fpm: pool www '. Program terminated with signal 11, Segmentation fault. #0 0x00000000007e10b1 in zend_mm_free_cache () Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.80.el6.x86_64 (gdb) bt #0 0x00000000007e10b1 in zend_mm_free_cache () #1 0x00007fca780e53e8 in ?? () #2 0x0000000001b5c978 in ?? () #3 0x00000000007fca4f in zend_error_noreturn () #4 0x0000000000000002 in ?? () #5 0x0000000001c1b060 in ?? () #6 0x00000000007a86af in virtual_stat () #7 0x00007fff7c27f580 in ?? () #8 0x6961625f6473732f in ?? () #9 0x2f7068702f696163 in ?? () #10 0x507463656a6f7270 in ?? () #11 0x6975626f6a2f5048 in ?? () #12 0x732f7070612f3456 in ?? () #13 0x2f626f6a2f657469 in ?? () #14 0x7068702e6f666e69 in ?? () #15 0x0070007068007000 in ?? () #16 0x000000007068702e in ?? () #17 0x0000000000000000 in ?? () (gdb) -- Edit bug report at https://bugs.php.net/bug.php?id=63785&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=63785&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=63785&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=63785&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=63785&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=63785&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=63785&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=63785&r=needscript Try newer version: https://bugs.php.net/fix.php?id=63785&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=63785&r=support Expected behavior: https://bugs.php.net/fix.php?id=63785&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=63785&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=63785&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=63785&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63785&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=63785&r=dst IIS Stability: https://bugs.php.net/fix.php?id=63785&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=63785&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=63785&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=63785&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=63785&r=mysqlcfg