[php-src] Issue #14045: Opcache JIT segmentation fault

From: Date: Thu, 25 Apr 2024 10:48:32 +0000
Subject: [php-src] Issue #14045: Opcache JIT segmentation fault
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-246814@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/14045 Author: vatsake ### Description After enabling opcache with the following options: ``` [opcache] opcache.enable=1 opcache.enable_cli=1 opcache.revalidate_freq=0 opcache.validate_timestamps=1 opcache.max_accelerated_files=10000 opcache.memory_consumption=192 opcache.max_wasted_percentage=10 opcache.interned_strings_buffer=16 opcache.fast_shutdown=1 opcache.jit_buffer_size=500000000 # These lines cause this opcache.jit=1235 # These lines cause this ``` I sometimes get "Segmentation fault". ``` Thread 1 "php" received signal SIGSEGV, Segmentation fault. 0x000055625a9a0948 in ?? () (gdb) bt #0 0x000055625a9a0948 in ?? () #1 0x000055625a9d6285 in execute_ex () #2 0x000055625a95d1fd in zend_call_function () #3 0x000055625a86a0da in ?? () #4 0x000055625a9dc014 in execute_ex () #5 0x000055625a9df353 in zend_execute () #6 0x000055625a96c068 in zend_execute_scripts () #7 0x000055625a90123e in php_execute_script () #8 0x000055625aa55dc4 in ?? () #9 0x000055625a647cb7 in ?? () #10 0x00007f8dcaa2d24a in ?? () from /lib/x86_64-linux-gnu/libc.so.6 #11 0x00007f8dcaa2d305 in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6 #12 0x000055625a648f21 in _start () ``` ### PHP Version 8.3 ### Operating System Ubuntu 22.04

« previous php.bugs (#246814) next »