-
Notifications
You must be signed in to change notification settings - Fork 7.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fiber stack variables do not participate in cycle collector #9735
Comments
It's not related to WeakReferences though: just writing The problem is that assigning the current Fiber to a variable causes a cycle, but stack variables of fibers are not participating in the cycle collection (zend_fiber_object_gc is not adding these). |
Fixed in #9810 Thanks! |
Used to build PHP 8.2.2RC1 and got all added tests to fail on x86 32-bits https://gitlab.alpinelinux.org/alpine/aports/-/jobs/954955
|
@andypost aports/community/php82 has a long list of ignored tests for x86 here: https://gitlab.alpinelinux.org/alpine/aports/-/blob/aee689a7757d8d3550b85a001d9c00543f71569e/community/php82/disabled-tests.x86.list. The list includes most Fibers tests, but not the new ones added by #9810. There seems to be a more generate issue with fibers on alpine/x86/clang. I've created a separate issue: #10398 |
Description
behavior1: 3v4l
behavior2: 3v4l
The following code:
Resulted in this output:
But I expected this output instead:
PHP Version
php 8.1.11
Operating System
No response
The text was updated successfully, but these errors were encountered: