[Bug 2057576] Re: php-fpm sometimes SIGSEGVs (signal 11) when running fpm_get_status

2024-04-11 Thread Lars-Göran Karlstedt
Hi guys, thanks for pushing this forward. I've found another issue related to this but I'm still investigating so not sure yet what to make of it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2057576

[Bug 2057576] [NEW] php-fpm sometimes SIGSEGVs (signal 11) when running fpm_get_status

2024-03-12 Thread Lars-Göran Karlstedt
Public bug reported: Like the title says, we do run fpm_get_status a lot. We're trying to get metrics about our systems performance this way. lsb_release -rd: Description:Ubuntu 20.04.6 LTS Release:20.04 apt-cache policy pkgname php-fpm: Installed: 2:7.4+75 Candidate: 2:7.4+75

[Bug 2057576] Re: php-fpm sometimes SIGSEGVs (signal 11) when running fpm_get_status

2024-03-12 Thread Lars-Göran Karlstedt
** Description changed: Like the title says, we do run fpm_get_status a lot. We're trying to get metrics about our systems performance this way. lsb_release -rd: Description: Ubuntu 20.04.6 LTS Release: 20.04 - apt-cache policy pkgname + apt-cache policy php-fpm php-fpm: -

[Bug 2057576] Re: php-fpm sometimes SIGSEGVs (signal 11) when running fpm_get_status

2024-03-12 Thread Lars-Göran Karlstedt
I've tested on another 20.04.6 and I could reproduce it, here's what I did: place this php script somewhere accessible for web-server & php-fpm: http://localhost/status.php after a couple of seconds SIGSEGV warnings started to appear in the php- fpm log. ** Changed in: php7.4 (Ubuntu) S

[Bug 2057576] Re: php-fpm sometimes SIGSEGVs (signal 11) when running fpm_get_status

2024-03-14 Thread Lars-Göran Karlstedt
I think I've found what causes the SIGSEGV, see line 59 in sapi/fpm/fpm/fpm_status.c: It uses scoreboard_p after it checks it for NULL 57scoreboard_p = fpm_scoreboard_acquire(NULL, 1); 58if (!scoreboard_p) { 59zlog(ZLOG_NOTICE, "[pool %s] status: scoreboard already

[Bug 2057576] Re: php-fpm sometimes SIGSEGVs (signal 11) when running fpm_get_status

2024-03-15 Thread Lars-Göran Karlstedt
Yeah sure I can try if you're willing to help. I've tried to learn about how to work with .deb packages so I know the basics but I'll probably need some guidance. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.n

[Bug 2057576] Re: php-fpm sometimes SIGSEGVs (signal 11) when running fpm_get_status

2024-03-21 Thread Lars-Göran Karlstedt
Yeah no problem Athos, I feel like maybe you can take it from here. The official fix is not mine and I haven't even tested that one so I don't think I'm needed here. Thanks Athos. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https:/