|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #70468 PHP-FPM Core Dump no matter what with a Zend error
Submitted: 2015-09-10 04:14 UTC Modified: 2015-09-12 16:05 UTC
From: vilsol2000 at gmail dot com Assigned:
Status: Closed Package: FPM related
PHP Version: 5.6Git-2015-09-10 (snap) OS: Ubuntu 15.04
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: vilsol2000 at gmail dot com
New email:
PHP Version: OS:


 [2015-09-10 04:14 UTC] vilsol2000 at gmail dot com
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

Literally anything generates this bug, even if its only phpinfo();

Test script:
<?php phpinfo(); ?>


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-09-10 04:19 UTC] vilsol2000 at gmail dot com
-Package: Reproducible crash +Package: FPM related
 [2015-09-10 04:19 UTC] vilsol2000 at gmail dot com
Change category to FPM Related
 [2015-09-10 05:50 UTC]
you may try start fpm with valgrind. it maybe tell us something useful

 [2015-09-12 16:04 UTC] vilsol2000 at gmail dot com
Alright, I've fixed it now, I dont know why or how, but changing the config in nginx from 

include fastcgi_params;


include fastcgi.conf;

and that fixed everything.
 [2015-09-12 16:05 UTC] vilsol2000 at gmail dot com
-Status: Open +Status: Closed
 [2015-09-12 16:05 UTC] vilsol2000 at gmail dot com
Close issue
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jul 24 21:01:28 2024 UTC