loader test malformed_relocations_return_error_and_release_mapping fails about 1 run in 3 #281
Labels
No labels
accessibility
bug
claimed
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
tester report
urgent
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/LakshanSivakumar--Native-Victory-macOS#281
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?
@maaalrey on GitHub · 2026-11-27 08:43 UTC · original
native::image::tests::malformed_relocations_return_error_and_release_mappingfails intermittently onmain(5 failures in 12 runs ofcargo test -p victory-loader --libon arm64). Step 3 reportsfailed maps must release their range: mapping 0x4000 bytes of image at 0x1…: mach_vm_allocate failed: kern_return 3.Cause: the test picks its forced address by allocating anywhere and releasing it. That range is the next one handed out, so another test thread's allocation takes it before step 3.
Plan: probe fixed ranges far above where allocations made anywhere go (from
0x5000_0000_0000), so step 3 can only fail if a failed map kept the range. Test-only change; I have it ready (0 failures in 30 runs).@maaalrey on GitHub · 2026-11-27 08:44 UTC · original
/claim
@github-actions[bot] on GitHub · 2026-11-27 08:44 UTC · original
Claimed by @maaalrey. Open a draft pull request with
Refs #281in its description within 24 hours, or the claim expires.@LakshanSivakumar on GitHub · 2026-11-27 11:46 UTC · original
Fixed by #283, which is merged into main: the test now probes the forced range far above where allocations land. Thank you @maaalrey. If the test still fails for anyone on current main, please reopen with the output.