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
{{ message }}
Repository navigation
Closure::bind does not co-own the new $this: it is freed with the last outside owner. #262
Known-bug repro: tests/aot/repro/wrong/closure_bind_this_not_owned.php — bash tests/aot/xfail.sh -k closure_bind_this_not_owned reports XFAIL while this is open and XPASS once it is fixed; then move the repro into tests/aot/cases/ and close this issue.
On Linux arm64 (glibc, Docker) this repro reports XPASS: the freed Box block is not reused before the call, so the stale $this still reads 42. Red on macOS only; the bug (the rebind copy takes no count on the new $this when the source env has no retain function) is platform-independent.
Activity
blacktrs commentedon Oct 15, 2026
On Linux arm64 (glibc, Docker) this repro reports XPASS: the freed Box block is not reused before the call, so the stale
$thisstill reads 42. Red on macOS only; the bug (the rebind copy takes no count on the new$thiswhen the source env has no retain function) is platform-independent.Spill fresh object call arguments of may-throw calls so the cleanup p…
Compile and serve a Symfony app natively: ownership/inference fixes, …