[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

Title:
  php-fpm sometimes SIGSEGVs (signal 11) when running fpm_get_status

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php7.4/+bug/2057576/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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://bugs.launchpad.net/bugs/2057576

Title:
  php-fpm sometimes SIGSEGVs (signal 11) when running fpm_get_status

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php7.4/+bug/2057576/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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.net/bugs/2057576

Title:
  php-fpm sometimes SIGSEGVs (signal 11) when running fpm_get_status

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php7.4/+bug/2057576/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 in 
use.", scoreboard_p->pool); // scoreboard_p is NULL here
60return -1;
61}

Hope this helps.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2057576

Title:
  php-fpm sometimes SIGSEGVs (signal 11) when running fpm_get_status

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php7.4/+bug/2057576/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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)
   Status: Incomplete => New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2057576

Title:
  php-fpm sometimes SIGSEGVs (signal 11) when running fpm_get_status

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php7.4/+bug/2057576/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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:
-   Installed: 2:7.4+75
-   Candidate: 2:7.4+75
-   Version table:
-  *** 2:7.4+75 500
- 500 http://fi.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
- 100 /var/lib/dpkg/status
+   Installed: 2:7.4+75
+   Candidate: 2:7.4+75
+   Version table:
+  *** 2:7.4+75 500
+ 500 http://fi.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
+ 100 /var/lib/dpkg/status
  
  I expected it to return fpm status, instead it crashes and kills the
  process.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2057576

Title:
  php-fpm sometimes SIGSEGVs (signal 11) when running fpm_get_status

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php7.4/+bug/2057576/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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
  Version table:
 *** 2:7.4+75 500
500 http://fi.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
100 /var/lib/dpkg/status

I expected it to return fpm status, instead it crashes and kills the
process.

** Affects: php7.4 (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2057576

Title:
  php-fpm sometimes SIGSEGVs (signal 11) when running fpm_get_status

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php7.4/+bug/2057576/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs