Edit report at https://bugs.php.net/bug.php?id=79973&edit=1
ID: 79973
Updated by: requinix@php.net
Reported by: php at mni dot de
Summary: Segfault in php-fpm
-Status: Open
+Status: Feedback
Type: Bug
Package: FPM related
Operating System: CentOS 7.8.2003
PHP Version: 7.4.9
Block user comment: N
Private report: N
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc. If the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.
Do you have something about the shopping cart that tries to sort it? Can you find and post that
code? From the backtrace it looks like the sorting is done through usort() or related, but then the
comparison function itself also tries to do a sort.
Previous Comments:
------------------------------------------------------------------------
[2020-08-18 15:31:24] php at mni dot de
Yes, this is a recursion
------------------------------------------------------------------------
[2020-08-18 15:03:19] requinix@php.net
Line 3721 is the beginning of the function.
#32-24 and #23-15 are identical. How deep does the backtrace go? Is this recursion?
------------------------------------------------------------------------
[2020-08-18 14:10:53] php at mni dot de
Just tested it on a Debian 10.5 Box with PHP 7.3.19, same Problem.
------------------------------------------------------------------------
[2020-08-16 19:26:09] nikic@php.net
No, this is almost certainly an issue with PHP or a PHP extension, just the place where it crashes
is pretty harmless, so it's hard to guess at the root cause here.
------------------------------------------------------------------------
[2020-08-16 16:07:07] php at mni dot de
Thanks for your Feedback, so opening a ticket at woo/wp would be the way to go?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=79973
--
Edit this bug report at https://bugs.php.net/bug.php?id=79973&edit=1