[php-src] Issue #10461: PHP-FPM seagfault after update from PHP 8.1.13 to PHP 8.1.14

From: Date: Fri, 27 Jan 2023 09:57:16 +0000
Subject: [php-src] Issue #10461: PHP-FPM seagfault after update from PHP 8.1.13 to PHP 8.1.14
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-243577@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/10461 Author: SandakovMM ### Description Hello I have encountered an issue on multiple web-hosting servers after updating to PHP 8.1.14. The PHP-FPM master process is crashing periodically, approximately once a day. This issue does not occur with PHP 8.0. A GDB backtrace shows that the crash is happening in the fpm_event_epoll_wait function: ``` (gdb) bt -- #0 0x0000010c00000000 in ?? () #1 0x0000556f30ed496e in fpm_event_epoll_wait (queue=<optimized out>, timeout=<optimized out>) at sapi/fpm/fpm/events/epoll.c:141 #2 0x0000556f30ec6201 in fpm_event_loop (err=err@entry=0) at sapi/fpm/fpm/fpm_events.c:427 #3 0x0000556f30ec0167 in fpm_run (max_requests=0x7ffccc6fa19c) at sapi/fpm/fpm/fpm.c:113 #4 0x0000556f30b8430c in main (argc=2, argv=0x7ffccc6fa6d8) at sapi/fpm/fpm/fpm_main.c:1828 ``` Unfortunately, the steps to reproduce the issue are unclear. I can see only warnings about the child limit reached in the error.log. But the warning is common and happens from time to time even when the problem doesn't happen, so I assume they are not connected to the issue. I have reviewed the changes between PHP 8.1.13 and 8.1.14 and suspect that the issue may be caused by [this commit|https://github.com/php/php-src/commit/c9c1934ff0ac1661efee56754678d0fdb073228f]. I have attempted to revert this commit and the issue did not occur over the past week. However, I have been unable to determine the specific problem with these changes. Could you please help investigate the issue? ### PHP Version PHP 8.1.14 ### Operating System Ubuntu 20, Ubuntu 22, Centos 7, AlmaLinux 8

« previous php.bugs (#243577) next »