[PHP-BUG] Bug #70977 [NEW]: Segmentation fault (core dumped)
[email protected] ("reynierpm at gmail dot com")
| Newsgroups | php.standards |
|---|---|
| Message-ID | <[email protected]> |
From: reynierpm at gmail dot com
Operating system: CentOS 6.7
PHP version: 7.0.0RC8
Package: PHP Language Specification
Bug Type: Bug
Bug description:Segmentation fault (core dumped)
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 bug report at https://bugs.php.net/bug.php?id=70977&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=70977&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=70977&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=70977&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=70977&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=70977&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=70977&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=70977&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=70977&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=70977&r=support
Expected behavior: https://bugs.php.net/fix.php?id=70977&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=70977&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=70977&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=70977&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70977&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=70977&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=70977&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=70977&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=70977&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=70977&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=70977&r=mysqlcfg