[php-src] Issue #8159: Apache / PHP segfaults (PHP 8.0 and 8.1, but also 7.4)

From: Date: Sun, 06 Mar 2022 15:20:50 +0000
Subject: [php-src] Issue #8159: Apache / PHP segfaults (PHP 8.0 and 8.1, but also 7.4)
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-240232@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/8159 Comment Author: unix-world I noticed that something changed in ZendAccelerator.c because in PHP 7.3, this line extension->handle = 0; is *not present*. And the *PHP 7.3 is not crashing at all* ... Since in PHP 7.4 / PHP 8.0 / PHP 8.1 this line extension->handle = 0; appears and is needed (because without it will crash in more situations), I presume something inside the ZendAccelerator loading mechanism was changed since PHP 7.3 and that part is doing the crash on SIGHUP ... sorry, I am not a C expert ... but my expertise is in Go lang, PHP and Javascript only ... for the rest like C / C++ I have only medium skills ... and this situation is too complex

« previous php.bugs (#240232) next »