[php-src] PR #25785: opcache: Fix state left by killed processes
| From: | dunglas | Date: | Thu, 26 Nov 2026 12:51:28 +0000 |
| Subject: | [php-src] PR #25785: opcache: Fix state left by killed processes | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-41050@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/25785
Author: dunglas
While I was working on the removal of Zend Signals (#25627), @bukka found an atomicity problem with
interned strings (#25627). This PR applies his suggested fix and fixes similar issues I found while
looking for other cases.
These bugs already happen today with SIGKILL and the OOM killer, and with SIGTERM on builds without
Zend Signals (default in ZTS Docker images, ZTS HomebrewPHP, FrankenPHP static binaries etc).
That's why I opened this as a bug fix against PHP-8.4.