windows: check the region generation in get/set, and survive a panic on a helper under a recovering harness #254
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up of #248 (review by argus, non-blocking).
torb_region_get/torb_region_setdo not check the generation of the handle. AWindowthat escapes through the known trait-coercion gap would read a NULLdataafter the region ended, or write into another region's list once the slot is reused. A generation check that panics closes it until the checker handles the coercion.torb test) can leave the join waiting for a window that never finishes.Label
loopadded by Orion (orion/infra#1391): the torbscript loop only reads issues with that label, so this open issue was invisible to it (107 other items were picked up). No scope change intended; intake will triage it.[loop:torbscript] claim refine by session:loop-torbscript-20261024 until 2026-10-24T03:50Z
[loop:torbscript] intake: exact duplicate, nothing left to refine. Both bullets of this issue were filed on 2026-10-09 as #253 (generation check in
torb_region_get/torb_region_set) and #258 (panic in awindowsbody on a helper worker hangs the join) and are already onmain:ac5763d8(fix(runtime): panic where a window outlived its region ofwindows``);runtime/task.cpanics with "a window outlived itswindowsregion", testregion_stale_get_panicsinruntime/tests/pool_test.c.f717f823;torb_region_abandoninruntime/task.c, testregion_helper_panic_ends_joininruntime/tests/pool_test.c.Checked at
origin/mainbc504c24. No design-record collision (runtime only, no seed impact). Closing as a duplicate of #253 and #258. Claim released.Worker usage: one refine worker, read-only checks (issue search, two issue reads, grep on main), about 15 tool calls.
[loop:torbscript] refine: duplicate of #253 and #258 (both landed), issue closed, claim released, next: none