Bug #77213 [Fbk->NoF]: crash zend_shutdown
| From: | php-bugs at lists dot php dot net | Date: | Sun, 21 Feb 2021 04:22:19 +0000 |
| Subject: | Bug #77213 [Fbk->NoF]: crash zend_shutdown | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-232302@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=77213&edit=1
ID: 77213
Updated by: php-bugs@lists.php.net
Reported by: mate at sla dot hu
Summary: crash zend_shutdown
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: opcache
Operating System: ubuntu 16
PHP Version: 7.2.12
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-02-12 09:50:11] cmb@php.net
Does this still happen to you with any of the actively supported
PHP versions[1]?
[1] <https://www.php.net/supported-versions.php>
------------------------------------------------------------------------
[2018-12-11 08:33:15] mate at sla dot hu
opcache mem was full,
after increasing opcache.memory_consumption this does not happen
i suspect there is another error during runtime because of memlimit, which bailsout, and later
during shutdown, the crash happens
------------------------------------------------------------------------
[2018-11-29 12:37:26] mate at sla dot hu
Is the pcre_globals->pcre_cache should be dumpable by print_ht?
------------------------------------------------------------------------
[2018-11-28 15:38:03] mate at sla dot hu
in module_desctructor_zval, the module name is pcre
------------------------------------------------------------------------
[2018-11-28 14:35:33] mate at sla dot hu
Description:
------------
This happens ~5 per day, after an upgrade from 7.2.6->7.2.11
(gdb) bt full
#0 zend_string_release (s=0x7f7d00d64d38) at /home/php/php-7.2.11/Zend/zend_string.h:289
No locals.
#1 zend_hash_destroy (ht=0xee23a0 <pcre_globals>) at
/home/php/php-7.2.11/Zend/zend_hash.c:1257
p = 0x1e90d90
end = 0x1e92590
#2 0x00000000004e1c69 in zm_globals_dtor_pcre (pcre_globals=<optimized out>) at
/home/php/php-7.2.11/ext/pcre/php_pcre.c:146
No locals.
#3 0x000000000081f2ed in module_destructor (module=module@entry=0x1c5e520) at
/home/php/php-7.2.11/Zend/zend_API.c:2575
No locals.
#4 0x0000000000816f7c in module_destructor_zval (zv=<optimized out>) at
/home/php/php-7.2.11/Zend/zend.c:690
module = 0x1c5e520
#5 0x000000000082bd0a in _zend_hash_del_el_ex (prev=<optimized out>, p=<optimized out>,
idx=<optimized out>, ht=<optimized out>) at /home/php/php-7.2.11/Zend/zend_hash.c:998
tmp = {value = {lval = 29746464, dval = 1.469670594765339e-316, counted = 0x1c5e520, str =
0x1c5e520, arr = 0x1c5e520, obj = 0x1c5e520, res = 0x1c5e520, ref = 0x1c5e520, ast = 0x1c5e520,
zv = 0x1c5e520, ptr = 0x1c5e520, ce = 0x1c5e520, func = 0x1c5e520, ww = {w1 = 29746464,
w2 = 0}}, u1 = {v = {type = 17 '\021', type_flags = 0 '\000', const_flags = 0
'\000',
reserved = 0 '\000'}, type_info = 17}, u2 = {next = 0, cache_slot = 0,
lineno = 0, num_args = 0, fe_pos = 0, fe_iter_idx = 0, access_flags = 0, property_guard = 0, extra =
0}}
#6 _zend_hash_del_el (p=0x1ca83b0, idx=4, ht=0xee8640 <module_registry>) at
/home/php/php-7.2.11/Zend/zend_hash.c:1021
prev = <optimized out>
#7 zend_hash_graceful_reverse_destroy (ht=ht@entry=0xee8640 <module_registry>) at
/home/php/php-7.2.11/Zend/zend_hash.c:1477
idx = 4
p = 0x1ca83b0
#8 0x000000000081d5cc in zend_destroy_modules () at /home/php/php-7.2.11/Zend/zend_API.c:2008
No locals.
#9 0x000000000081820e in zend_shutdown () at /home/php/php-7.2.11/Zend/zend.c:905
No locals.
#10 0x00000000007a9dc3 in php_module_shutdown () at /home/php/php-7.2.11/main/main.c:2453
No locals.
#11 0x0000000000444bd3 in main (argc=<optimized out>, argv=<optimized out>) at
/home/php/php-7.2.11/sapi/fpm/fpm/fpm_main.c:2020
exit_status = 0
c = <optimized out>
use_extended_info = 0
file_handle = {handle = {fd = -1530091936, fp = 0x7ffea4cca660, stream = {handle =
0x7ffea4cca660, isatty = 893, mmap = {len = 140175124645096, pos = 140175064780160, map =
0x7f7d0cf21ff8,
buf = 0x7f7d1062064b <do_lookup_x+2475>
"\376\377\377M\205\366\017\205Q\001", old_handle = 0x37d, old_closer = 0x7f7d0cf21ff8},
reader = 0x7f7d1082c4e8, fsizer = 0x7ffea4cca5f8,
closer = 0x7ffea4cca5f4}}, filename = 0x7f7d06802000 "( \200\006}\177",
opened_path = 0x0, type = ZEND_HANDLE_FILENAME, free_filename = 0 '\000'}
orig_optind = 1
orig_optarg = 0x0
ini_entries_len = <optimized out>
max_requests = 100
requests = <optimized out>
fcgi_fd = <optimized out>
request = <optimized out>
fpm_config = 0x7ffea4ccc8ba ""
fpm_prefix = 0x0
fpm_pid = 0x0
test_conf = 0
force_daemon = -1
force_stderr = 0
php_information = 0
php_allow_to_run_as_root = 0
__func__ = "main"
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=77213&edit=1