tools: run-summary.sh should report a fatal-signal line as how a run ended #493
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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:27Z.
What
tools/macos/run-summary.shsummarises how a run ended from the log's unhandled-exception line, its watchdog lines and the shell's exit status. A native fault has none of those: the title's own code takes the process down, the log getsSegmentation fault: 11from the shell at best, and the summary saysSIGSEGV— orunknown (no exit line)when the exit status never reached the log.The host now writes
victory: fatal signal <n> (code <c>) at address 0x…before it dies by the fault (#392, #474), with no timestamp, straight to stderr. The summary ignores it, so the most precise line a crashed run produces is the one a reader has to find by hand.What this changes
endedrow names the fault —fatal signal 11 (code 1) at 0x…— in place of the bareSIGSEGVwhen the log carries the line;-- how it endedprints the line with its time and frame, next to the unhandled-exception line it already prints;How it was tested
run-summary.sh --self-test: a synthetic log now carries a fatal-signal line, asserted in "how it ended".tools/macos/tests/run-summary-compare.sh: a syntheticfatal.log(exit code 139 plus the line) asserts theendedrow readsfatal signal 11 (code 1) at 0x7ff8deadbeef.ci.yml'smacos-scriptsjob runs them.Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by AnastasisKon on 2026-11-27T22:10:29Z.
/claim
Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by github-actions[bot] on 2026-11-27T22:10:39Z.
Claimed by @AnastasisKon. Open a draft pull request with
Refs #493in its description within 24 hours, or the claim expires.Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by AnastasisKon on 2026-11-28T12:45:09Z.
/release - done without a PR: on branch
vibe/run-summary-fatal-signal-4f9c68, in my fork'smain.tools/macos/run-summary.shnow keeps the host'svictory: fatal signalline as how the run ended and prints it with the time and frame it happened at, which is what the exit status alone cannot say (#392).Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by github-actions[bot] on 2026-11-28T12:45:17Z.
Released. This issue is free to claim.