Repository navigation
Description
Current implementation after #1071
The Python collector has been retired by PR #1071. Its current replacement is diagnose in tools/src/windows.rs, called with:
wave-tools diagnose-windows-arm64 --wavec <native ARM64 wavec.exe> --llvm-bin <native LLVM directory> --output <evidence directory>
Keep this issue open for the remaining diagnostic-recovery behavior. The Rust collector records compiler and debugger failures separately, retains the 90-second LLDB budget and uses the shared owned-process cleanup in tools/src/process.rs. It still has no alternate crash-artifact collection path when LLDB hangs. The current probes target MSVC; retired Windows GNU probes must not be restored.
The old crash/debugger stall below is historical evidence. This update does not establish that the current compiler still crashes or that the stall was reproduced on the current native ARM64 runner. Reproduce or inject a controlled debugger stall before claiming a new native result. Preserve useful compiler evidence even when the debugger fails, rather than weakening the timeout or skipping the imported fixture.
Historical native CI evidence
In PR #574's native ARM64 diagnostic job at ed149e7553c06efc30b5167920cc301563d6afb3:
minimal.wavepasses frontend checking; GNU and MSVC IR emission both exit0xC0000005.- LLDB captures a stack for both minimal inputs.
tests/cases/windows/arm64/test1.wavealso passes checking and exits0xC0000005promptly outside LLDB.- For that imported fixture, both GNU and MSVC debugger probes stop logging at
(lldb) runand time out after 90 seconds, producing no stack or register report for that input.
The job artifact windows-arm64-codegen-diagnostics contains test1-gnu-ir-debugger.log and test1-msvc-ir-debugger.log with this exact timeout. LLVM and LLDB are 21.1.8 on windows-11-vs2026-arm, with native ARM64 Python 3.11 and compiler symbols.
Source: bounded debugger invocation.
Investigation and acceptance
- Reproduce the debugger-only stall using the saved native compiler and imported input; distinguish launch, exception handling, symbol loading, and pipe/process-supervision waits.
- Collect bounded fallback evidence when LLDB cannot complete, such as a dump or another supported native debugger path.
- Preserve the original compiler failure and clearly distinguish debugger failure from compiler timeout.
- Keep time limits and descendant cleanup; do not merely remove the timeout or skip the imported input.
- Demonstrate useful evidence for both minimal and imported inputs on native ARM64.
The known compiler crash stays in #493. This issue tracks reliability of the diagnostic collector; the successful minimal backtrace must not be described as missing.
Activity