tools: run-summary reports a fatal-signal line as how a run ended (#493) #494
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/494"
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?
Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by AnastasisKon on 2026-11-27T22:10:46Z.
What this changes
Refs #493.
run-summary.shbuilds how a run ended from the log's unhandled-exception line, its watchdog lines and the shell's exit status. A native fault gives none of those: the title's own code takes the process down and the log gets the shell'sSegmentation fault: 11at best, so a crashed run was summarised asSIGSEGV, or asunknown (no exit line)when the exit status never reached the log.The host writes
victory: fatal signal <n> (code <c>) at address 0x…before it dies (#392, #474) — no timestamp, straight to stderr. So:endedrow (the--comparetable) now readsfatal signal 11 (code 1) at 0x…instead of the bare exit status when the log carries the line;-- how it endedprints that line with its time and frame, next to the exception line it already printed;Nothing else in the summary changes; a log without the line summarises exactly as before, which the existing exact-output expectations in the compare test still pin.
How it was tested
tools/macos/run-summary.sh --self-test: the synthetic log gained a fatal-signal line, asserted under "how it ended" (self-test ok).tools/macos/tests/run-summary-compare.sh: a new syntheticfatal.log(# exit code 139plus the line) asserts the rowended … fatal signal 11 (code 1) at 0x7ff8deadbeef changed(run-summary compare ok).macos-scriptsjob, run the wayci.ymlruns it under Bash 3.2:target-directory.sh,console-default.sh,verify-target.sh,verify-msc.sh,msc-check.sh,tester-report.sh,tools/corpus/compare.sh --self-test— all pass.-- how it endedprintsvictory: fatal signal 11 (code 1) at address 0x7ff8deadbeef,(at +0.0s, frame~64).apps/victory/src/main.rs.Checklist
VICTORY_*variable and documented: none added — this reads a line the host already writes unconditionallyOne ordering note for the maintainer: the
endedchange only shows itself once #474 is in, so landing this without it is harmless (no line, no change), and the useful pairing is #474 for the line and this for the summary that reads it.Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by Olima34 on 2026-11-28T01:36:27Z.
Review: APPROVED
Check report (helping the maintainer clear the queue):
checkandmacos-scriptsgreen on the current head.run-summary.shreports avictory: fatal signalline as how a run ended, in the summary and in the--comparerow. Both are covered by the self-test andrun-summary-compare.sh. That line only appears once #474 lands (changes requested there). This parses it harmlessly until then.226645f9) merged with this PR and the other test/docs/tools PRs we're landing in this batch (#397 #399 #422 #467 #471 #475 #479 #481 #486 #489 #494 #498 #505 #511). On it, thevictory-gpu(arm64),victory-shader,victory-backend,victory-metalandvictorytests pass, as do the macOS script tests (rustup-path.sh,run-summary-compare.sh,run-summary.sh --self-test), Windows clippy (-D warnings) andcargo xtask policy. Onevictory-gpurun in four failed main's ownmulti_mip_array_and_placed_depth_twins_preserve_all_subresources_and_remirror_immediately. That test also flakes on main alone, so it isn't from this batch.Thanks @AnastasisKon!