Bug #75048 [NEW]: ext/opcache/ZendAccelerator.c:634: accel_replace_string_by_process_permanent: A
| From: | rmoisto at gmail dot com | Date: | Tue, 08 Aug 2017 13:00:41 +0000 |
| Subject: | Bug #75048 [NEW]: ext/opcache/ZendAccelerator.c:634: accel_replace_string_by_process_permanent: A | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-210555@lists.php.net to get a copy of this message | ||
From: rmoisto at gmail dot com
Operating system: Ubuntu 16.04
PHP version: 7.2.0beta2
Package: opcache
Bug Type: Bug
Bug description:ext/opcache/ZendAccelerator.c:634: accel_replace_string_by_process_permanent: A
Description:
------------
As root, I ran the php-fpm executable and got this error.
I needed to run this manually to debug a different crash.
php-fpm: /php-src/ext/opcache/ZendAccelerator.c:634:
accel_replace_string_by_process_permanent: Assertion `0' failed.
Thread 1 "php-fpm" received signal SIGABRT, Aborted.
0x00007ffff4cc5428 in __GI_raise (sig=sig@entry=6) at
../sysdeps/unix/sysv/linux/raise.c:54
54 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 0x00007ffff4cc5428 in __GI_raise (sig=sig@entry=6) at
../sysdeps/unix/sysv/linux/raise.c:54
#1 0x00007ffff4cc702a in __GI_abort () at abort.c:89
#2 0x00007ffff4cbdbd7 in __assert_fail_base (fmt=<optimized out>,
assertion=assertion@entry=0x7fffecc8d6d9 "0",
file=file@entry=0x7fffecc8d6a0 "/php-src/ext/opcache/ZendAccelerator.c",
line=line@entry=634,
function=function@entry=0x7fffecc8dd80 <__PRETTY_FUNCTION__.16352>
"accel_replace_string_by_process_permanent") at assert.c:92
#3 0x00007ffff4cbdc82 in __GI___assert_fail (assertion=0x7fffecc8d6d9
"0", file=0x7fffecc8d6a0 "/php-src/ext/opcache/ZendAccelerator.c",
line=634, function=0x7fffecc8dd80 <__PRETTY_FUNCTION__.16352>
"accel_replace_string_by_process_permanent")
at assert.c:101
#4 0x00007fffecc0af34 in accel_replace_string_by_process_permanent
(str=0x7fffdb3b3030) at /php-src/ext/opcache/ZendAccelerator.c:634
#5 0x00007fffecc0a960 in accel_copy_permanent_strings
(new_interned_string=0x7fffecc0aee0
<accel_replace_string_by_process_permanent>) at
/php-src/ext/opcache/ZendAccelerator.c:558
#6 0x00007fffecc0afff in accel_use_permanent_interned_strings () at
/php-src/ext/opcache/ZendAccelerator.c:662
#7 0x00007fffecc10468 in accel_shutdown () at
/php-src/ext/opcache/ZendAccelerator.c:2760
#8 0x00007fffecc12dfe in zm_shutdown_zend_accelerator (type=1,
module_number=54) at /php-src/ext/opcache/zend_accelerator_module.c:434
#9 0x0000000000b4a3c9 in module_destructor (module=0x1a27e20) at
/php-src/Zend/zend_API.c:2564
#10 0x0000000000b3d5f9 in module_destructor_zval (zv=0x7fffffffdc60) at
/php-src/Zend/zend.c:690
#11 0x0000000000b54c62 in _zend_hash_del_el_ex (ht=0x17807e0
<module_registry>, idx=53, p=0x180b680, prev=0x0) at
/php-src/Zend/zend_hash.c:996
#12 0x0000000000b54d42 in _zend_hash_del_el (ht=0x17807e0
<module_registry>, idx=53, p=0x180b680) at
/php-src/Zend/zend_hash.c:1019
#13 0x0000000000b562c7 in zend_hash_graceful_reverse_destroy
(ht=0x17807e0 <module_registry>) at /php-src/Zend/zend_hash.c:1475
#14 0x0000000000b47f0b in zend_destroy_modules () at
/php-src/Zend/zend_API.c:2008
#15 0x0000000000b3db41 in zend_shutdown () at /php-src/Zend/zend.c:901
#16 0x0000000000aa3551 in php_module_shutdown () at
/php-src/main/main.c:2414
#17 0x0000000000c42c5e in fpm_php_cleanup (which=2, arg=0x0) at
/php-src/sapi/fpm/fpm/fpm_php.c:197
#18 0x0000000000c35247 in fpm_cleanups_run (type=2) at
/php-src/sapi/fpm/fpm/fpm_cleanup.c:45
#19 0x0000000000c4ac24 in fpm_unix_init_main () at
/php-src/sapi/fpm/fpm/fpm_unix.c:540
#20 0x0000000000c33e0f in fpm_init (argc=1, argv=0x7fffffffe468,
config=0x0, prefix=0x0, pid=0x0, test_conf=0, run_as_root=0,
force_daemon=-1, force_stderr=0) at /php-src/sapi/fpm/fpm/fpm.c:61
#21 0x0000000000c41d73 in main (argc=1, argv=0x7fffffffe468) at
/php-src/sapi/fpm/fpm/fpm_main.c:1861
--
Edit bug report at https://bugs.php.net/bug.php?id=75048&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=75048&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=75048&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=75048&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=75048&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=75048&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=75048&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=75048&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=75048&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=75048&r=support
Expected behavior: https://bugs.php.net/fix.php?id=75048&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=75048&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=75048&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=75048&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=75048&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=75048&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=75048&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=75048&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=75048&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=75048&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=75048&r=mysqlcfg