#22084·php-src

在 PHP-FPM 中出现 Segfault,原因是 rbp 中的基地址指针过时(在 8.5.5 中出现回退)

作者: martinvenus创建于 2026年5月18日更新于 2026年9月14日
标签BugSAPI: fpmCategory: JIT

After upgrading from PHP 8.5.4 to 8.5.5, php-fpm workers started segfaulting deterministically under normal web traffic. The issue persists on 8.5.6. Only tracing JIT (opcache.jit=1205) is affected; function JIT (1235) and disabled JIT both work fine.

Environment

  • PHP 8.5.5 and 8.5.6 (official php:8.5.6-fpm Docker image, Debian Trixie base)
  • x86_64
  • Application: Nette Framework + Dibi 5.1.1 + ext/mysqli, MariaDB 11.8

JIT configuration matrix

opcache.jit | Result -- | -- 1205 (tracing) | Workers segfault within seconds of receiving traffic 1235 (function) | Stable off | Stable