[php-src] Issue #7817: JIT segmentation fault in PHP 8.1
| From: | dstogov | Date: | Wed, 29 Dec 2021 07:40:40 +0000 |
| Subject: | [php-src] Issue #7817: JIT segmentation fault in PHP 8.1 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-238625@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/7817
Comment Author: dstogov
@meinemitternacht the fact that the problem doesn't happen consistently, very probably tells
about some race condition. e.g. one process is writing something into shared memory (and somehow
gets into inconsistent state), at the same time anther process reads from SHM and somehow fails
because of inconsistency. The failure occurs only because of luck, when both processes gets into
specific states. I think, there is no difference between fresh OS reboot, or PHP-FPM restart (both
recreate SHM). PHP CLI doesn't share memory with PHP-FPM.