[php-src] Issue #8159: Apache / PHP segfaults (PHP 8.0 and 8.1, but also 7.4)
| From: | unix-world | Date: | Sun, 06 Mar 2022 15:52:18 +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-240235@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8159
Comment Author: unix-world
I was looking over the changes between 7.3 / 7.4 / 8.0 in ZendAccelerator.c, especially on the parts
that handle the SIGKILL.
In 7.3 appears:
if (kill(mem_usage_check->l_pid, SIGKILL)) {
and in 7.4 and 8.0 was changed to
`if (kill(mem_usage_check->l_pid, signal)) {
/* If SIGTERM was not sufficient, use SIGKILL. */
signal = SIGKILL;
`