[php-src] Issue #8517: Random crash of php8.0-fpm - segfault at 105 ip 000055c8afc40309 sp 00007ffd430d3860 error 4 in php-fpm8.0[55c8af9c1000+285000]
| From: | triplesixman | Date: | Sun, 08 May 2022 14:58:25 +0000 |
| Subject: | [php-src] Issue #8517: Random crash of php8.0-fpm - segfault at 105 ip 000055c8afc40309 sp 00007ffd430d3860 error 4 in php-fpm8.0[55c8af9c1000+285000] | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-241440@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8517
Author: triplesixman
### Description
Hello,
Since the switch to php8.0-fpm, I have random php crashes which force me to restart it manually and
cause a 502 bad gateaway error on my site.
The crashes are random and sometimes occur after several days.
The logs indicate this:
> May 8 16:21:14 LSN-D7324 kernel: [817145.478932] php-fpm8.0[3482145]: segfault at 105 ip
> 000055c8afc40309 sp 00007ffd430d3860 error 4 in php-fpm8.0[55c8af9c1000+285000]
> May 8 16:21:14 LSN-D7324 kernel: [817145.550172] Code: ac 4c 8b a0 f0 00 00 00 41 0f 94 c5 89
> 4d a8 0f 84 e6 02 00 00 48 8b 45 a0 48 83 c0 70 48 89 45 88 4d 85 e4 0f 84 2d 03 00 00 <41> f6
> 44 24 05 04 75 11 48 8b 45 a0 8b 80 e4 00 00 00 41 39 44 24
> May 8 16:21:14 LSN-D7324 systemd[1]: php8.0-fpm.service: Main process exited, code=killed,
> status=11/SEGV
> May 8 16:21:14 LSN-D7324 systemd[1]: php8.0-fpm.service: Failed with result
> 'signal'.
> May 8 16:21:14 LSN-D7324 systemd[1]: php8.0-fpm.service: Consumed 3d 57min 21.700s CPU time.
Unfortunately I don't have more information and it is impossible to identify the problem. Do
you know how I can get more details?
I have thousands of active users on my site and it will not be possible for me to reproduce the
crash by myself.
Thank you
### PHP Version
PHP 8.0.18
### Operating System
Debian 11