Repository navigation
Double the console task's stack and report its low-water mark - #252
Merged
Merged
Conversation
status crashed with a double exception while it read the settings from NVS for the schedule lines: the registers show a debug exception (interrupt level 6, the end-of-stack watchpoint) during the start of the flash read, the deepest point of the command. Refs #251 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Csa4N7j74wokEkrsQv9qfr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
statuscrashed twice on the Waveshare ESP32-S3 board with a double exception, both times right after theSD cardline, whereprint_schedule()reads the settings from NVS (#251).What the dumps show: the task was in
spi_flash_disable_interrupts_caches_and_other_cpu(start of a flash read, the deepest point of the command), and the savedPShas interrupt level 6, the debug level. That is the end-of-stack watchpoint (CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK) firing; the handler then ran on the exhausted stack.A9is only the core id value (0xcdcd/0xabab), not a corrupted pointer.statusends withTCH INFO console stack N of 12288 bytes never used, so that the margin can be read on hardware.Not tested on hardware; the stack overflow is the likely cause, not a proven one. If
statusstill crashes with this build, the low-water mark of the last good reply and the core dump are the next step.Refs #251
Generated by Claude Code