Bug #70192 [Fbk->NoF]: Opcache Segmentation error!
| From: | php-bugs at lists dot php dot net | Date: | Sun, 17 Jan 2021 04:22:13 +0000 |
| Subject: | Bug #70192 [Fbk->NoF]: Opcache Segmentation error! | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-231600@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=70192&edit=1
ID: 70192
Updated by: php-bugs@lists.php.net
Reported by: shu dot ko at tis dot co dot jp
Summary: Opcache Segmentation error!
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: opcache
Operating System: CentOs6.6
PHP Version: 5.6Git-2015-08-05 (Git)
Assigned To: cmb
Private report: N
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2021-01-06 15:20:29] cmb@php.net
Is that still an issue with any of the actively supported PHP
versions[1]?
[1] <https://www.php.net/supported-versions.php>
------------------------------------------------------------------------
[2017-08-18 03:13:24] tommynewman181 at gmail dot com
Description:
------------
We have similar issue occurred. When is occurred, the coming request also response segfault.
environment:
------------
PHP 5.6.12-1+deb.sury.org~trusty+1 (cli)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies
3.16.0-45-generic #60~14.04.1-Ubuntu SMP Fri Jul 24 21:16:23 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
opcache
--------
opcache.blacklist_filename => no value => no value
opcache.consistency_checks => 0 => 0
opcache.dups_fix => Off => Off
opcache.enable => On => On
opcache.enable_cli => Off => Off
opcache.enable_file_override => Off => Off
opcache.error_log => no value => no value
opcache.fast_shutdown => 0 => 0
opcache.file_update_protection => 2 => 2
opcache.force_restart_timeout => 180 => 180
opcache.inherited_hack => On => On
opcache.interned_strings_buffer => 4 => 4
opcache.load_comments => 1 => 1
opcache.log_verbosity_level => 1 => 1
opcache.max_accelerated_files => 2000 => 2000
opcache.max_file_size => 0 => 0
opcache.max_wasted_percentage => 5 => 5
opcache.memory_consumption => 64 => 64
opcache.optimization_level => 0xFFFFFFFF => 0xFFFFFFFF
opcache.preferred_memory_model => no value => no value
opcache.protect_memory => 0 => 0
opcache.restrict_api => no value => no value
opcache.revalidate_freq => 2 => 2
opcache.revalidate_path => Off => Off
opcache.save_comments => 1 => 1
opcache.use_cwd => On => On
opcache.validate_timestamps => On => On
xhprof
-------
xhprof => 0.9.2
yar
-------
yar support => enabled
yar.allow_persistent => 0 => 0
yar.connect_timeout => 1000 => 1000
yar.content_type => application/octet-stream => application/octet-stream
yar.debug => Off => Off
yar.expose_info => On => On
yar.packager => php => php
yar.timeout => 5000 => 5000
yar.transport => curl => curl
------------------------------------------
(gdb) bt
#0 0x00007fa26ca5718e in __strcat_ssse3 () at ../sysdeps/x86_64/multiarch/strcpy-ssse3.S:1676
#1 0x00000000006b561f in _estrndup ()
#2 0x00007fa26c57fc03 in ?? () from /usr/lib/php5/20131226/opcache.so
#3 0x00007fa26c57fbd0 in ?? () from /usr/lib/php5/20131226/opcache.so
#4 0x00007fa26c580296 in ?? () from /usr/lib/php5/20131226/opcache.so
#5 0x00007fa26c57f770 in ?? () from /usr/lib/php5/20131226/opcache.so
#6 0x00007fa26c57f8f0 in ?? () from /usr/lib/php5/20131226/opcache.so
#7 0x00007fa26c581560 in zend_accel_load_script () from /usr/lib/php5/20131226/opcache.so
#8 0x00007fa26c5785ee in persistent_compile_file () from /usr/lib/php5/20131226/opcache.so
#9 0x00007fa261678265 in hp_compile_file (file_handle=0x7ffd2bb88340, type=8) at
/tmp/pear/temp/xhprof/extension/xhprof.c:1761
#10 0x00000000006a4577 in compile_filename ()
#11 0x000000000077eef0 in ?? ()
#12 0x00000000007158a8 in execute_ex ()
#13 0x00000000006ca849 in dtrace_execute_ex ()
#14 0x00007fa261677e90 in hp_execute_ex (execute_data=0x7fa26f50af28) at
/tmp/pear/temp/xhprof/extension/xhprof.c:1664
#15 0x00000000006cc573 in zend_call_function ()
#16 0x00000000006f2405 in zend_call_method ()
#17 0x00000000005c7156 in zif_spl_autoload_call ()
#18 0x00000000006ca94b in dtrace_execute_internal ()
#19 0x00007fa261678064 in hp_execute_internal (execute_data=0x7ffd2bb88a00, fci=0x7ffd2bb88b90,
ret=1) at /tmp/pear/temp/xhprof/extension/xhprof.c:1728
#20 0x00000000006cc655 in zend_call_function ()
#21 0x00000000006cce32 in zend_lookup_class_ex ()
#22 0x00000000006cd522 in zend_fetch_class_by_name ()
#23 0x0000000000723d34 in ?? ()
#24 0x00000000007158a8 in execute_ex ()
#25 0x00000000006ca849 in dtrace_execute_ex ()
#26 0x00007fa261677e90 in hp_execute_ex (execute_data=0x7fa26f50ad00) at
/tmp/pear/temp/xhprof/extension/xhprof.c:1664
#27 0x0000000000780277 in ?? ()
#28 0x00000000007158a8 in execute_ex ()
#29 0x00000000006ca849 in dtrace_execute_ex ()
#30 0x00007fa261677e90 in hp_execute_ex (execute_data=0x7fa26f50ab60) at
/tmp/pear/temp/xhprof/extension/xhprof.c:1664
#31 0x0000000000780277 in ?? ()
#32 0x00000000007158a8 in execute_ex ()
#33 0x00000000006ca849 in dtrace_execute_ex ()
#34 0x00000000006dcbf0 in zend_execute_scripts ()
#35 0x000000000067ae52 in php_execute_script ()
#36 0x0000000000464861 in main ()
------------------------------------------
(gdb) bt
#0 0x00007fa26ca5718e in __strcat_ssse3 () at ../sysdeps/x86_64/multiarch/strcpy-ssse3.S:1676
#1 0x00000000006b561f in _estrndup ()
#2 0x00007fa26c57fc03 in ?? () from /usr/lib/php5/20131226/opcache.so
#3 0x00007fa26c57fbd0 in ?? () from /usr/lib/php5/20131226/opcache.so
#4 0x00007fa26c580296 in ?? () from /usr/lib/php5/20131226/opcache.so
#5 0x00007fa26c57f770 in ?? () from /usr/lib/php5/20131226/opcache.so
#6 0x00007fa26c57f8f0 in ?? () from /usr/lib/php5/20131226/opcache.so
#7 0x00007fa26c581560 in zend_accel_load_script () from /usr/lib/php5/20131226/opcache.so
#8 0x00007fa26c5785ee in persistent_compile_file () from /usr/lib/php5/20131226/opcache.so
#9 0x00000000006a4577 in compile_filename ()
#10 0x000000000077eef0 in ?? ()
#11 0x00000000007158a8 in execute_ex ()
#12 0x00000000006ca849 in dtrace_execute_ex ()
#13 0x00000000006cc573 in zend_call_function ()
#14 0x00000000006f2405 in zend_call_method ()
#15 0x00000000005c7156 in zif_spl_autoload_call ()
#16 0x00000000006ca94b in dtrace_execute_internal ()
#17 0x00000000006cc655 in zend_call_function ()
#18 0x00000000006cce32 in zend_lookup_class_ex ()
#19 0x00000000006cd522 in zend_fetch_class_by_name ()
#20 0x0000000000723d34 in ?? ()
#21 0x00000000007158a8 in execute_ex ()
#22 0x00000000006ca849 in dtrace_execute_ex ()
#23 0x00000000006cc573 in zend_call_function ()
#24 0x00000000006cc75e in call_user_function_ex ()
#25 0x00007fa261468cae in php_yar_server_handle (obj=0x31717f8) at /tmp/yar-1.2.4/yar_server.c:404
#26 0x00007fa261468e48 in zim_yar_server_handle (ht=<optimized out>, return_value=0x323d1f0,
return_value_ptr=<optimized out>, this_ptr=<optimized out>,
return_value_used=<optimized out>) at /tmp/yar-1.2.4/yar_server.c:682
#27 0x0000000000e81dfc in ?? ()
#28 0x0000000000e9c640 in ?? ()
#29 0x0000000002f3bc10 in ?? ()
#30 0x00000000006ca94b in dtrace_execute_internal ()
#31 0x000000000077fd54 in ?? ()
#32 0x00000000007158a8 in execute_ex ()
#33 0x00000000006ca849 in dtrace_execute_ex ()
#34 0x00000000006dcbf0 in zend_execute_scripts ()
#35 0x000000000067ae52 in php_execute_script ()
#36 0x0000000000464861 in main ()
------------------------------------------
------------------------------------------------------------------------
[2016-08-14 04:22:30] 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.
------------------------------------------------------------------------
[2016-08-09 06:37:58] anime-php-report_my at dena dot jp
Yes, We happened.
zend_extension loaded but not enabled to xdebug(dtrace are enabled).
we declared php.ini below:
zend_extension=opcache.so
zend_extension=xdebug.so
opcache.enable=1
opcache.memory_consumption=128
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=4000
opcache.fast_shutdown=1
We found a work-around solution.
declare to php-fpm.conf below:
php_value[opcache.optimization_level] = 0xFFFFFFF0
------------------------------------------------------------------------
[2016-08-06 01:34:19] kalle@php.net
Does this issue also happen without dtrace and xdebug enabled?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=70192
--
Edit this bug report at https://bugs.php.net/bug.php?id=70192&edit=1