[php-src] PR #25842: JIT: Fix state left by killed processes
| From: | dunglas | Date: | Fri, 27 Nov 2026 15:34:04 +0000 |
| Subject: | [php-src] PR #25842: JIT: Fix state left by killed processes | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-41124@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/25842
Author: dunglas
In https://github.com/php/php-src/pull/25785#pullrequestreview-6086456453,
@arnaud-lb pointed out some more places where a process killed in the middle of an update leaves the
shm of OPcache half updated.
This PR fixes them, and one more in the tracing JIT.
Two other cases are handled by #25258 #25509.
Problems have been reproduced using GDB (breaking and sending the signal) with FPM, and fixes work
as expected.
This is part of the reliability work to remove Zend Signals: https://github.com/php/php-src/pull/25627
This needs a careful review because I'm not familiar with this part of the code base and this
is tricky to get right.