Bug #70468 [Com]: PHP-FPM Core Dump no matter what with a Zend error
| From: | vilsol2000 at gmail dot com | Date: | Sat, 12 Sep 2015 16:04:33 +0000 |
| Subject: | Bug #70468 [Com]: PHP-FPM Core Dump no matter what with a Zend error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-195971@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=70468&edit=1
ID: 70468
Comment by: vilsol2000 at gmail dot com
Reported by: vilsol2000 at gmail dot com
Summary: PHP-FPM Core Dump no matter what with a Zend error
Status: Open
Type: Bug
Package: FPM related
Operating System: Ubuntu 15.04
PHP Version: 5.6Git-2015-09-10 (snap)
Block user comment: N
Private report: N
New Comment:
Alright, I've fixed it now, I dont know why or how, but changing the config in nginx from
include fastcgi_params;
to
include fastcgi.conf;
and that fixed everything.
Previous Comments:
------------------------------------------------------------------------
[2015-09-10 05:50:05] laruence@php.net
you may try start fpm with valgrind. it maybe tell us something useful
thanks
------------------------------------------------------------------------
[2015-09-10 04:19:15] vilsol2000 at gmail dot com
Change category to FPM Related
------------------------------------------------------------------------
[2015-09-10 04:14:26] vilsol2000 at gmail dot com
Description:
------------
I recently upgraded all packages on my server, and I noticed that I couldn't open any of my
websites. I looked in the FPM log, and all of the workers were crashing just as I requested a page.
I enabled core dumping and this was the result:
Core was generated by `php-fpm: pool www
'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 _zend_mm_free_int (heap=0x7fcb09b027d0, p=0x7fcb09b027e0) at
/build/php5-oxmf3S/php5-5.6.4+dfsg/Zend/zend_alloc.c:2104
2104 /build/php5-oxmf3S/php5-5.6.4+dfsg/Zend/zend_alloc.c: No such file or directory.
(gdb) bt
#0 _zend_mm_free_int (heap=0x7fcb09b027d0, p=0x7fcb09b027e0) at
/build/php5-oxmf3S/php5-5.6.4+dfsg/Zend/zend_alloc.c:2104
#1 0x00000000006ac920 in sapi_deactivate () at /build/php5-oxmf3S/php5-5.6.4+dfsg/main/SAPI.c:525
#2 0x00000000006a3c35 in php_request_shutdown (dummy=<optimized out>) at
/build/php5-oxmf3S/php5-5.6.4+dfsg/main/main.c:1893
#3 0x000000000046565d in main (argc=162534288, argv=0x7fcb09b01c30) at
/build/php5-oxmf3S/php5-5.6.4+dfsg/sapi/fpm/fpm/fpm_main.c:2071
(gdb)
Literally anything generates this bug, even if its only phpinfo();
Test script:
---------------
<?php phpinfo(); ?>
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=70468&edit=1