Bug #69190 [Com]: after php_request_shutdown segmentation fault
| From: | hchinchilla at habitissimo dot com | Date: | Wed, 15 Apr 2015 10:25:08 +0000 |
| Subject: | Bug #69190 [Com]: after php_request_shutdown segmentation fault | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-192088@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=69190&edit=1
ID: 69190
Comment by: hchinchilla at habitissimo dot com
Reported by: tom916 at qq dot comd1234
Summary: after php_request_shutdown segmentation fault
Status: No Feedback
Type: Bug
Package: Unknown/Other Function
Operating System: ubuntu 12.04.3
PHP Version: 5.5.22
Block user comment: N
Private report: N
New Comment:
I can reproduce this issue just by executing this script:
<?php opcache_reset(); echo "done"; ?>
The issue doesn't happen every time, but 2 or 3 executions under load will trigger it for sure.
Previous Comments:
------------------------------------------------------------------------
[2015-03-15 04:22:18] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
------------------------------------------------------------------------
[2015-03-05 07:05:01] yohgaki@php.net
If you cannot make short script that reproduces this crash, could you try newer PHPs including
PHP7?(i.e. git master branch)
Short reproducible script is better. Please add module list you've loaded also.
------------------------------------------------------------------------
[2015-03-05 06:43:33] tom916 at qq dot com
php version is php 5.5.16
------------------------------------------------------------------------
[2015-03-05 06:40:25] laruence@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc. If the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.
------------------------------------------------------------------------
[2015-03-05 06:26:50] tom916 at qq dot comd1234
Description:
------------
#0 0x000000000079b049 in zend_mm_remove_from_free_list (heap=0x1b4e3b0, mm_block=0x1b44610) at
/data1/debbuild/src/php-5.5.16/Zend/zend_alloc.c:815
#1 0x000000000079b24f in _zend_mm_free_int (heap=0x1600340, p=0x1b44940) at
/data1/debbuild/src/php-5.5.16/Zend/zend_alloc.c:2110
#2 0x00000000007d1408 in zend_hash_destroy (ht=0x1057e30) at
/data1/debbuild/src/php-5.5.16/Zend/zend_hash.c:560
#3 0x000000000079f408 in shutdown_compiler () at
/data1/debbuild/src/php-5.5.16/Zend/zend_compile.c:243
#4 0x00000000007c315d in zend_deactivate () at /data1/debbuild/src/php-5.5.16/Zend/zend.c:938
#5 0x00000000007613c7 in php_request_shutdown (dummy=<optimized out>) at
/data1/debbuild/src/php-5.5.16/main/main.c:1808
#6 0x0000000000439156 in main (argc=<optimized out>, argv=<optimized out>) at
/data1/debbuild/src/php-5.5.16/sapi/fpm/fpm/fpm_main.c:1961
(gdb) quit
or
#0 zend_mm_add_to_free_list (heap=<optimized out>, mm_block=0x7fd6efecac30) at
/data1/debbuild/src/php-5.5.16/Zend/zend_alloc.c:752
#1 0x000000000079b210 in _zend_mm_free_int (heap=0x1600340, p=0x7fd6efecaf80) at
/data1/debbuild/src/php-5.5.16/Zend/zend_alloc.c:2118
#2 0x00000000007d142e in zend_hash_destroy (ht=0x7fd6efeca040) at
/data1/debbuild/src/php-5.5.16/Zend/zend_hash.c:565
#3 0x0000000000870c61 in fcgi_close (req=0x7fff13d8d4b0, force=<optimized out>,
destroy=<optimized out>) at /data1/debbuild/src/php-5.5.16/sapi/fpm/fpm/fastcgi.c:719
#4 0x000000000087167f in fcgi_finish_request (req=0x7fff13d8d4b0, force_close=0) at
/data1/debbuild/src/php-5.5.16/sapi/fpm/fpm/fastcgi.c:1046
#5 0x0000000000878fd2 in sapi_cgi_deactivate () at
/data1/debbuild/src/php-5.5.16/sapi/fpm/fpm/fpm_main.c:847
#6 sapi_cgi_deactivate () at /data1/debbuild/src/php-5.5.16/sapi/fpm/fpm/fpm_main.c:836
#7 0x0000000000769f5d in sapi_deactivate () at /data1/debbuild/src/php-5.5.16/main/SAPI.c:536
#8 0x0000000000761515 in php_request_shutdown (dummy=<optimized out>) at
/data1/debbuild/src/php-5.5.16/main/main.c:1817
#9 0x0000000000439156 in main (argc=<optimized out>, argv=<optimized out>) at
/data1/debbuild/src/php-5.5.16/sapi/fpm/fpm/fpm_main.c:1961
(gdb) quit
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=69190&edit=1