Bug #63785 [Opn->Fbk]: php-fpm segfault
| From: | aharvey@php.net | Date: | Mon, 17 Dec 2012 06:28:38 +0000 |
| Subject: | Bug #63785 [Opn->Fbk]: php-fpm segfault | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-175398@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=63785&edit=1
ID: 63785
Updated by: aharvey@php.net
Reported by: lys0212 at qq dot com
Summary: php-fpm segfault
-Status: Open
+Status: Feedback
Type: Bug
Package: FPM related
Operating System: RHEL6.3
PHP Version: 5.3.19
Block user comment: N
Private report: N
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php
for Win32
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
Specifically, we're going to need a backtrace with debug information, I think.
Previous Comments:
------------------------------------------------------------------------
[2012-12-17 06:14:02] lys0212 at qq dot com
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 this bug report at https://bugs.php.net/bug.php?id=63785&edit=1