Crash and FRAM corruption when launching stage selection mode #21
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
zadammac/PETI#21
Loading…
Add table
Add a link
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?
When entering the "stage select" mode via the debug menu, the screen will go blank. Subsequent BOR does nothing to relieve the condition.
Inspection via Debugger reveals the following behaviour:
SCENE_ACTcorrectly to0xF3, the registered address for that scene.Thereafter the execution pointer appears to leap into the bootloader in perpetuity.
Some testing was conducted on this last night with the following results:
Based on this it is likely the issue is in the Stage Select. Attention should be paid to the following three most likely causes:
strcpyvsstrncpyand the corresponding risks of overflow, which has happened in the past.Resolved with commit
d1948de.Issue was calling a MENU function that should have been explicitly recalled to SCENESEL