tools: run-summary reports a fatal-signal line as how a run ended (#493) #498
No reviewers
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!498
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-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?
@AnastasisKon on GitHub · 2026-11-27 22:10 UTC · original
AnastasisKon:vibe/run-summary-fatal-signal-4f9c68→main· +14 −2 · 2 files · 1 commits · merged 2026-11-28 01:36 UTCWhat this changes
Refs #497.
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 (#395, #478) — 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 #478 is in, so landing this without it is harmless (no line, no change), and the useful pairing is #478 for the line and this for the summary that reads it.@Olima34 on GitHub · 2026-11-28 01:36 UTC · original · approved these changes
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 #478 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 (#401 #403 #426 #471 #475 #479 #483 #485 #490 #493 #498 #502 #509 #515). 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!