You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to the other issue with these bcmath loops, I can't reproduce this one either...
But @devnexen can apparently... And IIRC he's on ARM, so I wonder if these issues are ARM specific. @YuanchengJiang Can you please share the following: CPU used, OS used, configure command, stacktrace?
Activity
ndossche commentedon Dec 31, 2024
Similar to the other issue with these bcmath loops, I can't reproduce this one either...
But @devnexen can apparently... And IIRC he's on ARM, so I wonder if these issues are ARM specific.
@YuanchengJiang Can you please share the following: CPU used, OS used, configure command, stacktrace?
devnexen commentedon Dec 31, 2024
Yes I can indeed
YuanchengJiang commentedon Jan 1, 2025
My CPU is the Intel i7 14gen and my OS is Ubuntu. I use docker: https://hub.docker.com/layers/0599jiangyc/flowfusion/latest/images/sha256-ee8d6d8bbec99203c39f40042587d5d7eb5a17422ec160b7061f04c91af08301
I guess it is not ARM specific.
ndossche commentedon Jan 1, 2025
I could not reproduce this even in the container.
What I did, inside the container:
I also tried ZTS, makes no difference for me.
I can see with
opcache.jit_debugthe traces, so I know for a fact it is JITting.Also not all questions were answered: please share the configure line and stacktrace.
ndossche commentedon Jan 1, 2025
Oh interesting, I am able to reproduce it in Valgrind, but not outside of it for some reason...
ndossche commentedon Jan 1, 2025
Slightly reduced:
ndossche commentedon Jan 1, 2025
Computed used stack size seems wrong.
Quick and dirty patch (needs more work which I'll do a bit later, but this makes the test work):
This patch fixes #17196 too, so I'm closing that one as a duplicate.
[-]Assertion failure Zend/zend_API.c:142[/-][+]Internal closure causes JIT failure[/+]1 remaining item
Fix phpGH-17307: Internal closure causes JIT failure
Merge branch 'PHP-8.4'
Fix GH-17307: Internal closure causes JIT failure
Backport fix phpGH-17307
Backport fix GH-17307
Merge branch 'PHP-8.3' into PHP-8.4
Merge branch 'PHP-8.4'