Bug #70977 [Opn->Fbk]: Segmentation fault (core dumped) with opcache.huge_code_pages=1
| From: | laruence@php.net | Date: | Thu, 26 Nov 2015 15:21:58 +0000 |
| Subject: | Bug #70977 [Opn->Fbk]: Segmentation fault (core dumped) with opcache.huge_code_pages=1 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-197436@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=70977&edit=1
ID: 70977
Updated by: laruence@php.net
Reported by: reynierpm at gmail dot com
Summary: Segmentation fault (core dumped) with
opcache.huge_code_pages=1
-Status: Open
+Status: Feedback
Type: Bug
Package: Reproducible crash
Operating System: CentOS 6.7
PHP Version: 7.0.0RC8
-Assigned To:
+Assigned To: laruence
Block user comment: N
Private report: N
New Comment:
from the description, it probably a duplictated to #70973 , could you please try the patch I
commentted there?
thanks
Previous Comments:
------------------------------------------------------------------------
[2015-11-26 14:42:06] reynierpm at gmail dot com
Description:
------------
I tried to run "composer update" in a Symfony2 project and got the following error:
"Segmentation fault (core dumped)". By setting opcache.huge_code_pages=0 at
/etc/php.d/10-opcache.ini the issue gets fixed
Actual result:
--------------
(gdb) run /usr/local/bin/composer
Starting program: /usr/bin/php /usr/local/bin/composer
[Thread debugging using libthread_db enabled]
Program received signal SIGSEGV, Segmentation fault.
zend_llist_del_element (l=0x9dc8e0, element=0x0, compare=0x7ffff1b40590
<accelerator_remove_cb>) at /usr/src/debug/php-7.0.0RC8/Zend/zend_llist.c:91
91 {
(gdb) bt
#0 zend_llist_del_element (l=0x9dc8e0, element=0x0, compare=0x7ffff1b40590
<accelerator_remove_cb>) at /usr/src/debug/php-7.0.0RC8/Zend/zend_llist.c:91
#1 0x00007ffff1b425b1 in zps_startup_failure (extension=<value optimized out>) at
/usr/src/debug/php-7.0.0RC8/ext/opcache/ZendAccelerator.c:2336
#2 accel_startup (extension=<value optimized out>) at
/usr/src/debug/php-7.0.0RC8/ext/opcache/ZendAccelerator.c:2621
#3 0x00000000005edbb1 in zend_extension_startup (extension=0xa26c80) at
/usr/src/debug/php-7.0.0RC8/Zend/zend_extensions.c:176
#4 0x00000000005d7123 in zend_llist_apply_with_del (l=0x9dc8e0, func=0x5edba0
<zend_extension_startup>) at /usr/src/debug/php-7.0.0RC8/Zend/zend_llist.c:171
#5 0x00000000005edb97 in zend_startup_extensions () at
/usr/src/debug/php-7.0.0RC8/Zend/zend_extensions.c:197
#6 0x0000000000585815 in php_module_startup (sf=<value optimized out>,
additional_modules=<value optimized out>, num_additional_modules=<value optimized out>)
at /usr/src/debug/php-7.0.0RC8/main/main.c:2197
#7 0x00000000006761bd in php_cli_startup (sapi_module=<value optimized out>) at
/usr/src/debug/php-7.0.0RC8/sapi/cli/php_cli.c:423
#8 0x00000000006778e1 in main (argc=2, argv=0x9dfad0) at
/usr/src/debug/php-7.0.0RC8/sapi/cli/php_cli.c:1325
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=70977&edit=1