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
Can someone else please also verify if this fixes it for them? Thanks :)
Note: idk why the stack overwriting was used instead of pushing, I guess to save stack space? If that's the case we can do that too but the solution becomes a little more complicated.
I don't have a Linux 32-bit install handy, and I want to check whether it breaks other platforms or not. So I'm going to create a draft PR so that CI can run through this.
EDIT: oh also, I guess if this fix works then we can get rid of the fiber tests in that ignorelist you mentioned here: #9735 (comment) ?
Activity
arnaud-lb commentedon Jan 21, 2023
May be related: #9566
andypost commentedon Jan 21, 2023
Thank you for filing issue. Sadly I have no idea how to tackle it
andypost commentedon Jan 21, 2023
FYI I'm building only PHP 8.2 with clang,
php81package using gccndossche commentedon Jan 21, 2023
I'm taking a brief look at this, it's a segfault in zend_fibers.c:350:
php-src/Zend/zend_fibers.c
Line 350 in 3ed5264
ndossche commentedon Jan 21, 2023
The problem seems to be in how the pointers (that are in the argument's struct) are passed from the assembly to the function.
ndossche commentedon Jan 21, 2023
The following patch fixes it for me. I guess more platforms than just Alpine are actually affected by this:
Can someone else please also verify if this fixes it for them? Thanks :)
Note: idk why the stack overwriting was used instead of pushing, I guess to save stack space? If that's the case we can do that too but the solution becomes a little more complicated.
ndossche commentedon Jan 21, 2023
I don't have a Linux 32-bit install handy, and I want to check whether it breaks other platforms or not. So I'm going to create a draft PR so that CI can run through this.
EDIT: oh also, I guess if this fix works then we can get rid of the fiber tests in that ignorelist you mentioned here: #9735 (comment) ?
Sync boost/context assembly files for fibers
Sync boost/context assembly files for fibers