Closed rfay closed 1 year ago
PR has been merged, try master?
I'll probably wait for a release to test. My debian package-building skills are pretty limited.
Does that mean you were able to recreate this and found it fixed in the PR?
That's it!
Well, I confirm that that the SEGV doesn't happen with manually build 2.3.9, unfortunately it also doesn't happen with manually built 2.3.8. It does happen with deb.sury.org's 2.3.8.
I'm happy to see that 2.3.9 is in PECL, https://pecl.php.net/package/xhprof
How does it get from there to salsa.debian.org? https://salsa.debian.org/php-team/pecl/php-xhprof/-/tree/debian/main/
I'm a little worried that there's some kind of build difference, since I can't demonstrate the SEGV with a manual build of 2.3.8.
deb.sury.org php8.2-xhprof 2.3.9 has arrived, and the problem is no longer reproducible. Thanks!
Bug Report
Please answer these questions before submitting your issue. Thanks!
Automated tests in DDEV seem to show that enabling xhprof 2.3.8 (PHP 8.1 and 8.2 only, using deb.sury.org package 2.3.8+0.9.4-1+0~20221209.18+debian11~1.gbp8f76ce) is causing
Logs show that this is a SEGV.
To recreate, a
junk.php
in the docroot withAnd hit http:///junk.php
On PHP8.0 there is no SEGV, but on PHP8.1 and 8.2 there is not. (And this did not fail with xhprof 2.3.5). Linux/arm64, but happening in other contexts as well.
core.1670789386.php-fpm.3373: ELF 64-bit LSB core file, ARM aarch64, version 1 (SYSV), SVR4-style, from 'php-fpm: pool www', real uid: 1000, effective uid: 1000, real gid: 1000, effective gid: 1000, execfn: '/usr/sbin/php-fpm', platform: 'aarch64'
It does look like this might be related to the conversation in
I have verified that this happens on both amd64 and arm64 Debian Linux containers.
Normal success
SEGV from php-fpm.
2.3.8 (2.3.5 did not cause this on PHP8.1)
https://github.com/rfay/xhprof-bug-demo