You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In case of stack pointer corruption, the panic handler will enter infinite recursion, which eventually results in an interrupt WDT timeout, without providing any useful information about the crash.
In my opinion, the panic handler should switch stacks and print at least basic information before touching the original stack pointer, which may be invalid.
A crash in the panic handler will result in a DoubleException,
Hello world!
ets Jun 8 2016 00:22:57
rst:0x8 (TG1WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:4
load:0x3fff0034,len:5132
load:0x40078000,len:14484
load:0x40080400,len:4068
entry 0x40080624
W (205) boot.esp32: PRO CPU has been reset by WDT.
W (205) boot.esp32: WDT reset info: PRO CPU PC=0x4008e4b2
0x4008e4b2: _xt_context_save at /home/szmodz/invendyne/esp-idf/components/freertos/xtensa/xtens
a_context.S:149
E (205) boot.esp32: WDT reset info: &s CPU not support!
The text was updated successfully, but these errors were encountered:
In case of stack pointer corruption, the panic handler will enter infinite recursion, which eventually results in an interrupt WDT timeout, without providing any useful information about the crash.
In my opinion, the panic handler should switch stacks and print at least basic information before touching the original stack pointer, which may be invalid.
A crash in the panic handler will result in a DoubleException,
esp-idf/components/freertos/xtensa/xtensa_vectors.S
Line 440 in ad60568
test case:
https://github.com/szmodz/esp-idf/commits/panic_crash
example output:
The text was updated successfully, but these errors were encountered: