Skip to content

Opcache enable Crash Core dump #8209

Closed
Closed
@0xhacking

Description

@0xhacking

Description

gdb

#0  zend_string_hash_val (s=0x7f789be41388) at /home/a/rpmbuild/BUILD/php-7.1.2/Zend/zend_string.h:85
#1  zend_hash_find_bucket (ht=ht@entry=0x23df4f0, ht=ht@entry=0x23df4f0, key=0x7f789be41388) at /home/a/rpmbuild/BUILD/php-7.1.2/Zend/zend_hash.c:478
#2  zend_hash_find (ht=ht@entry=0x23df4f0, key=0x7f789be41388) at /home/a/rpmbuild/BUILD/php-7.1.2/Zend/zend_hash.c:1959
#3  0x00007f78a7877c36 in zend_accel_class_hash_copy (target=0x23df4f0, pCopyConstructor=pCopyConstructor@entry=0x7f78a7877d70 <zend_class_copy_ctor>, source=0x7f78a63b37d0, source=0x7f78a63b37d0)
    at /home/a/rpmbuild/BUILD/php-7.1.2/ext/opcache/zend_accelerator_util_funcs.c:572
#4  0x00007f78a78790ff in zend_accel_load_script (persistent_script=persistent_script@entry=0x7f78a63b36c0, from_shared_memory=from_shared_memory@entry=1)
    at /home/a/rpmbuild/BUILD/php-7.1.2/ext/opcache/zend_accelerator_util_funcs.c:655
#5  0x00007f78a786afee in persistent_compile_file (file_handle=<optimized out>, type=<optimized out>) at /home/a/rpmbuild/BUILD/php-7.1.2/ext/opcache/ZendAccelerator.c:1934
#6  0x000000000081e865 in compile_filename (type=type@entry=2, filename=filename@entry=0x7f78ae016790) at Zend/zend_language_scanner.l:662
#7  0x00000000008b34aa in zend_include_or_eval (inc_filename=0x7f78ae016790, type=2) at /home/a/rpmbuild/BUILD/php-7.1.2/Zend/zend_execute.c:2846
#8  0x00000000008e7f74 in ZEND_INCLUDE_OR_EVAL_SPEC_CV_HANDLER () at /home/a/rpmbuild/BUILD/php-7.1.2/Zend/zend_vm_execute.h:35461
#9  0x000000000089a91b in execute_ex (ex=<optimized out>) at /home/a/rpmbuild/BUILD/php-7.1.2/Zend/zend_vm_execute.h:429
#10 0x00000000008474b3 in zend_call_function (fci=fci@entry=0x7ffc2af46820, fci_cache=<optimized out>, fci_cache@entry=0x7ffc2af467f0) at /home/a/rpmbuild/BUILD/php-7.1.2/Zend/zend_execute_API.c:828
#11 0x00000000008726e0 in zend_call_method (object=0x7f78ae002098, obj_ce=0x7f78ae003600, fn_proxy=<optimized out>, function_name=0x7f78ae05e1a8 "composer\\autoload\\classloader::loadclass\001", function_name_len=<optimized out>,
    retval_ptr=retval_ptr@entry=0x0, param_count=param_count@entry=1, arg1=0x7f78ae0166a0, arg2=arg2@entry=0x0) at /home/a/rpmbuild/BUILD/php-7.1.2/Zend/zend_interfaces.c:101
#12 0x000000000071d501 in zif_spl_autoload_call (execute_data=<optimized out>, return_value=<optimized out>) at /home/a/rpmbuild/BUILD/php-7.1.2/ext/spl/php_spl.c:420
#13 0x0000000000847399 in zend_call_function (fci=fci@entry=0x7ffc2af46a80, fci_cache=<optimized out>, fci_cache@entry=0x7ffc2af46a50) at /home/a/rpmbuild/BUILD/php-7.1.2/Zend/zend_execute_API.c:842
#14 0x00000000008479c6 in zend_lookup_class_ex (name=name@entry=0x7f789dc9ed88, key=0x7f789dc9dc58, use_autoload=use_autoload@entry=1) at /home/a/rpmbuild/BUILD/php-7.1.2/Zend/zend_execute_API.c:1001
#15 0x00000000008482d8 in zend_fetch_class_by_name (class_name=0x7f789dc9ed88, key=<optimized out>, fetch_type=0) at /home/a/rpmbuild/BUILD/php-7.1.2/Zend/zend_execute_API.c:1436
#16 0x000000000089edd9 in ZEND_FETCH_CLASS_SPEC_CONST_HANDLER () at /home/a/rpmbuild/BUILD/php-7.1.2/Zend/zend_vm_execute.h:2096
#17 0x000000000089a91b in execute_ex (ex=<optimized out>) at /home/a/rpmbuild/BUILD/php-7.1.2/Zend/zend_vm_execute.h:429
#18 0x00000000008474b3 in zend_call_function (fci=fci@entry=0x7ffc2af46cc0, fci_cache=<optimized out>, fci_cache@entry=0x7ffc2af46c90) at /home/a/rpmbuild/BUILD/php-7.1.2/Zend/zend_execute_API.c:828
#19 0x00000000008726e0 in zend_call_method (object=0x7f78ae002098, obj_ce=0x7f78ae003600, fn_proxy=<optimized out>, function_name=0x7f78ae05e1a8 "composer\\autoload\\classloader::loadclass\001", function_name_len=<optimized out>,
    retval_ptr=retval_ptr@entry=0x0, param_count=param_count@entry=1, arg1=0x7f78ae0164e0, arg2=arg2@entry=0x0) at /home/a/rpmbuild/BUILD/php-7.1.2/Zend/zend_interfaces.c:101
#20 0x000000000071d501 in zif_spl_autoload_call (execute_data=<optimized out>, return_value=<optimized out>) at /home/a/rpmbuild/BUILD/php-7.1.2/ext/spl/php_spl.c:420
#21 0x0000000000847399 in zend_call_function (fci=fci@entry=0x7ffc2af46f20, fci_cache=<optimized out>, fci_cache@entry=0x7ffc2af46ef0) at /home/a/rpmbuild/BUILD/php-7.1.2/Zend/zend_execute_API.c:842
#22 0x00000000008479c6 in zend_lookup_class_ex (name=name@entry=0x7f789edc6b00, key=0x7f789fb910c0, use_autoload=use_autoload@entry=1) at /home/a/rpmbuild/BUILD/php-7.1.2/Zend/zend_execute_API.c:1001
#23 0x00000000008482d8 in zend_fetch_class_by_name (class_name=0x7f789edc6b00, key=<optimized out>, fetch_type=fetch_type@entry=512) at /home/a/rpmbuild/BUILD/php-7.1.2/Zend/zend_execute_API.c:1436
#24 0x00000000008e8fee in ZEND_NEW_SPEC_CONST_HANDLER () at /home/a/rpmbuild/BUILD/php-7.1.2/Zend/zend_vm_execute.h:3199
#25 0x000000000089a91b in execute_ex (ex=<optimized out>) at /home/a/rpmbuild/BUILD/php-7.1.2/Zend/zend_vm_execute.h:429
#26 0x00000000008474b3 in zend_call_function (fci=fci@entry=0x7ffc2af47150, fci_cache=<optimized out>, fci_cache@entry=0x7ffc2af47120) at /home/a/rpmbuild/BUILD/php-7.1.2/Zend/zend_execute_API.c:828
#27 0x0000000000755b1d in zif_call_user_func_array (execute_data=0x7f78ae016110, return_value=0x7f78ae0160f0) at /home/a/rpmbuild/BUILD/php-7.1.2/ext/standard/basic_functions.c:4852
#28 0x00000000008eab5d in ZEND_DO_FCALL_BY_NAME_SPEC_RETVAL_USED_HANDLER () at /home/a/rpmbuild/BUILD/php-7.1.2/Zend/zend_vm_execute.h:876
#29 0x000000000089a91b in execute_ex (ex=<optimized out>) at /home/a/rpmbuild/BUILD/php-7.1.2/Zend/zend_vm_execute.h:429
#30 0x00000000008ed7a4 in zend_execute (op_array=0x7f78ae06f000, op_array@entry=0x7f789f95c960, return_value=return_value@entry=0x7f78ae016080) at /home/a/rpmbuild/BUILD/php-7.1.2/Zend/zend_vm_execute.h:474
#31 0x0000000000855df4 in zend_execute_scripts (type=type@entry=8, retval=0x7f78ae016080, retval@entry=0x0, file_count=file_count@entry=3) at /home/a/rpmbuild/BUILD/php-7.1.2/Zend/zend.c:1475
#32 0x00000000007f77f0 in php_execute_script (primary_file=primary_file@entry=0x7ffc2af49650) at /home/a/rpmbuild/BUILD/php-7.1.2/main/main.c:2537
#33 0x000000000044912c in main (argc=<optimized out>, argv=<optimized out>) at /home/a/rpmbuild/BUILD/php-7.1.2/sapi/fpm/fpm/fpm_main.c:1966

php.ini

[Zend Opcache]
zend_extension=/www/server/php/71/lib/php/extensions/no-debug-non-zts-20160303/opcache.so
opcache.enable = 1
opcache.memory_consumption=128
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=4000
opcache.revalidate_freq=60
opcache.fast_shutdown=1
opcache.enable_cli=1
opcache.file_cache=/data/tmp

PHP Version

PHP 7.1.2

Operating System

CentOS Linux release 7.3.1611 (Core)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions