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
Windows: behav_project_overflow_modes child link exits -2 with no diagnostic #797
Windows: behav_project_overflow_modes fails because the child project build's link exits with status -2 and no diagnostic ("linker out\release\bin\with.exe exited with status -2 without diagnostics"). The other 17 panic/abort tests this issue named pass on Windows.
Original report
18 behavior tests that assert a panic (//! expect-exit: 134) observe exit code 1 on native Windows CI. Sync panics route through with_panic -> _exit(134) (rt/panic_runtime.w), so 134 is expected; the observed 1 points to a Windows-specific exit-code or panic-path bug, not a test error. Tracked behind //! skip-windows on the green-battery-windows branch; un-skip PR will root-cause to the exact line and restore each test.
Tests: behav_array_index_bounds_panics, behav_array_index_negative_panics, behav_array_index_store_bounds_panics, behav_checked_overflow_panic, behav_expect_err_panics, behav_expect_none_panics, behav_project_overflow_modes, behav_slice_index_bounds_panics, behav_slice_range_bounds_panics, behav_slotmap_get_disjoint_equal_panics, behav_split_at_bounds_panics, behav_str_to_cstr_interior_nul_panics, behav_unsigned_checked_overflow_panic, behav_unsigned_underflow_panic_message, behav_unwrap_err_panics, behav_unwrap_none_panics, behav_vec_get_disjoint_equal_panics, behav_vec_index_bounds_panics
changed the title [-]Windows: panic/abort behavior tests exit 1 instead of 134[/-][+]Windows: behav_project_overflow_modes child link exits -2 with no diagnostic[/+]on Oct 25, 2026
Triage 2026-10-25, Windows x86_64 (win10, with.exe built from main c88f3ee): 17 of the 18 tests now pass on Windows. One still fails, and not with the original symptom: behav_project_overflow_modes dies in its child build with a silent linker failure.
FAILED [overflow wrap mode]: rc=1
stderr:
error: linker `out\release\bin\with.exe` exited with status -2 without diagnostics
error: build failed
It passes on macOS. pre-release: a Windows project build that fails with no diagnostic; the child's link command and its status -2 are the first thing to capture.
Fix campaign, 2026-10-25: does not reproduce on current main. Closing.
On win10, a release with.exe built from main c5fdc17 (full src/main.exe build with the pinned seed nightly-20261025-local-1-c88f3eeff0bc), run from the checkout:
> out/release/bin/with.exe test test/behavior/behav_project_overflow_modes.w
ok
ok: 1 test passed in test/behavior/behav_project_overflow_modes.w
The test has no skip directive, so it ran: the child project builds in wrap, saturate and trap mode all link on Windows now. The triage symptom ("linker out\release\bin\with.exe exited with status -2 without diagnostics") came from a with.exe built from c88f3ee. The other 17 tests the issue named passed at triage.
Activity
test(windows): gate the 49 Windows-red behavior tests with skip-windows
test(windows): un-skip 17 panic behavior tests fixed by with_panic_re…
test(windows): un-skip 17 panic behavior tests fixed by with_panic_re…
test(windows): un-skip 17 panic behavior tests fixed by with_panic_re…
test(windows): un-skip 17 panic behavior tests fixed by with_panic_re…
Windows green battery: c_import SDK/MSVC includes + unified panic-exi…
test(windows): un-skip 16 panic behavior tests fixed by with_panic_re…
test(windows): un-skip 16 panic behavior tests fixed by with_panic_re…
Windows: fix emitted-panic str ABI, un-skip 17 panic behavior tests (#…
[-]Windows: panic/abort behavior tests exit 1 instead of 134[/-][+]Windows: behav_project_overflow_modes child link exits -2 with no diagnostic[/+]ehartford commentedon Oct 25, 2026
Triage 2026-10-25, Windows x86_64 (win10,
with.exebuilt from main c88f3ee): 17 of the 18 tests now pass on Windows. One still fails, and not with the original symptom:behav_project_overflow_modesdies in its child build with a silent linker failure.It passes on macOS. pre-release: a Windows project build that fails with no diagnostic; the child's link command and its status -2 are the first thing to capture.
ehartford commentedon Oct 26, 2026
Fix campaign, 2026-10-25: does not reproduce on current main. Closing.
On win10, a release
with.exebuilt from main c5fdc17 (fullsrc/main.exe buildwith the pinned seed nightly-20261025-local-1-c88f3eeff0bc), run from the checkout:The test has no skip directive, so it ran: the child project builds in wrap, saturate and trap mode all link on Windows now. The triage symptom ("linker
out\release\bin\with.exeexited with status -2 without diagnostics") came from awith.exebuilt from c88f3ee. The other 17 tests the issue named passed at triage.