Repository navigation
EH: write final report on NtTerminateProcess under Wine (#1461) - #1479
hajduzsolt wants to merge 2 commits into
Conversation
|
Test report for Tested
For comparison, #1484 (same issue, #1461) moves this into Not tested
AI use: Claude Code (Claude Opus 5.5) ran the commands and wrote this report; I checked it before posting. |
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
|
Verified under real Wine (Linux / Setup. CachyOS, kernel Test. Minimal synthetic console title (imports
In both runs on Not tested: full AI use: Antigravity (Gemini 4 Neon) cross-compiled |
|
Thank you for checking the test against the reverted change. The termination decision now accepts an injected report callback, and the regression covers Wine and native behavior, other-process handles, and repeated termination. |
|
Test report: #1479 at its current head The earlier real-Wine report was on Setup
Method
All merges were clean, and A and B differ only by this PR's Results
Not tested: a retail title under Wine (so no Wine smoke pair), a nonzero or crash exit on this head, native Windows, and the suite on #1479 without the three other PRs. AI use: Written with Claude (Anthropic) assistance; tested by me on the hardware listed. |
Runtime fix verified with unit tests and RX 9070 XT smoke run.
What is in it
crates/xcl/src/eh.rs:hk_nt_terminate_process, checkscrate::util::under_wine()and dispatchescrate::report::write_final(None)before process termination and log flushing.terminate_process_report_invocation_is_safe_under_wineverifying thatwrite_final(None)executes safely without panics or deadlocks in test environments.Tested
cargo test --workspace -- --test-threads=2: passedcargo test -p xcl --lib eh::tests: 7 passed, 0 failedcargo test -p xcl --lib report::tests: 1 passed, 0 failedRegression run
main:
PR:
Not tested
AI use