ps2rig: parse and symbolize the crashscreen report #1

Merged
techwritescode merged 1 commit from crash-screen-symbolize into main 2026-10-15 15:43:18 +00:00

Recognises the sdk-core crash screen report (PROGRAM CRASHED, PC=/RA=, raw-address backtrace) and resolves the PC, RA and backtrace addresses to function and file:line with the EE addr2line. Falls back to the unstripped ELF ps2build leaves next to a built ELF; line numbers need a target built with debug: true. Repeated addresses are listed once.

Tested: go test ./internal/rig, and two crash-trap runs on the rig (crash restarted by ps2link, frames resolved to main.c:16).

🤖 Generated with Claude Code

Recognises the sdk-core crash screen report (PROGRAM CRASHED, PC=/RA=, raw-address backtrace) and resolves the PC, RA and backtrace addresses to function and file:line with the EE addr2line. Falls back to the unstripped ELF ps2build leaves next to a built ELF; line numbers need a target built with `debug: true`. Repeated addresses are listed once. Tested: go test ./internal/rig, and two crash-trap runs on the rig (crash restarted by ps2link, frames resolved to main.c:16). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
techwritescode deleted branch crash-screen-symbolize 2026-10-15 15:43:18 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ps2/ps2rig!1
No description provided.