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
GC: grown-array read loops (#10514 grown/grown_typed) segfault under seeded GC schedule on main #11590
Found by the array-index perf lane (#11588/#11589). It reproduces on UNMODIFIED main d57f5139f.
The #10514 repro variants grown and grown_typed (an array grown by a[i] = v / push and then read in a loop; the typed-array variant likewise) segfault under the seeded GC schedule: PERRY_GC_SCHEDULE_SEED=<n> with PERRY_GC_PROTECT_FROMSPACE=1. Other seeds and variants are fine.
This is the classic rooting/forwarding bug signature (see CLAUDE.md "Rooting-bug instruments"). A likely suspect is the array growth-forwarding path: a forwarded old array or its element buffer referenced across a moving minor GC.
Needs: the failing seed(s), a backtrace with the from-space reporter output, a reduced repro, and a fix. The #10514 microbench is in the perf lane results at /root/claude-perf-arrayidx-results/ on perrymaster.
Activity
fix(codegen): root the packed-range loop's cached module-global copy (#…
test(gc): #11590 gap test, codegen IR test, and loop-carried unrooted…
test-parity: register the #11590 gap test in the GC repsel corpus