[php-src] Issue #20542: exited on signal 11 (SIGSEGV)

From: Date: Thu, 20 Nov 2025 18:07:15 +0000
Subject: [php-src] Issue #20542: exited on signal 11 (SIGSEGV)
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-251259@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/20542 Author: JulianAtkins ### Description When opcache is disabled in /etc/php.d/10-opcache.ini ``` opcache.enable = 0 opcache.enable_cli=0 ``` Everything is working fine. But, when I enable opcache+JIT with: ``` opcache.enable = 1 opcache.enable_cli=1 opcache.jit=1235 opcache.jit_buffer_size=64M ``` Then ALL http requests result in 503 error because PHP-FPM processes die immediately: ``` WARNING: [pool virtualhost] child 55681 exited on signal 11 (SIGSEGV) after 14.688169 seconds from start WARNING: [pool virtualhost] child 55683 exited on signal 11 (SIGSEGV) after 16.594354 seconds from start ``` I am not sure if its relevant, but my hosting environment has the following php-fpm.service override (/etc/systemd/system/php-fpm.service.d/override.conf) ``` [Service] PrivateTmp=true ProtectHome=false ProtectSystem=full NoNewPrivileges=false PrivateDevices=true MemoryDenyWriteExecute=false ProtectKernelModules=true ProtectKernelTunables=true ProtectControlGroups=true RestrictRealtime=true RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX AF_NETLINK RestrictNamespaces=true CapabilityBoundingSet=~ CAP_NET_ADMIN CAP_SYS_ADMIN CAP_SYS_BOOT CAP_SYS_MODULE ``` PS: The same website, with the same hosting environment, the opcache+JIT fully enabled and with the same php-fpm.service override, runs fine on a x86 VM... so I can't reproduce this issue, it only appears on my aarch64 production server :( very weird... ### PHP Version ```plain PHP 8.3.19 (cli) (built: Mar 12 2025 13:10:27) (NTS gcc aarch64) Copyright (c) The PHP Group Zend Engine v4.3.19, Copyright (c) Zend Technologies with Zend OPcache v8.3.19, Copyright (c), by Zend Technologies ``` ### Operating System AlmaLinux 10 (aarch64)

« previous php.bugs (#251259) next »