Page 1 of 1

Panic does not show stack trace (v5.0.3)

Posted: Wed Jul 26, 2023 10:50 pm
by derricksenva
We're running ESP-IDF v5.0.3. Is there some generic setting in the sdkconfig that would prevent the stack trace from being displayed on a panic? As you can see in the image below, it does not show the call stack leading up to esp_system_abort(). The details variable simply describes the address of the assert that failed.

I found a related issue from https://github.com/espressif/esp-idf/issues/6124, but it supposedly should already be resolved on v5.0.3.

2023-07-26 15_40_23-espressif_workspace - C__Espressif_frameworks_esp-idf-v5.0.3_components_freertos.png
2023-07-26 15_40_23-espressif_workspace - C__Espressif_frameworks_esp-idf-v5.0.3_components_freertos.png (12.27 KiB) Viewed 710 times
2023-07-26 15_41_58-espressif_workspace - C__Espressif_frameworks_esp-idf-v5.0.3_components_freertos.png
2023-07-26 15_41_58-espressif_workspace - C__Espressif_frameworks_esp-idf-v5.0.3_components_freertos.png (6.6 KiB) Viewed 710 times
2023-07-26 15_46_37-espressif_workspace - C__Espressif_frameworks_esp-idf-v5.0.3_components_freertos.png
2023-07-26 15_46_37-espressif_workspace - C__Espressif_frameworks_esp-idf-v5.0.3_components_freertos.png (24.2 KiB) Viewed 710 times

Re: v5.0.3 Panic does not show stack trace

Posted: Wed Jul 26, 2023 11:11 pm
by derricksenva
I couldn't attach the sdkconfig to my original post for some reason, so here it is.

sdkconfig-no-stack-trace.txt
(53.69 KiB) Downloaded 191 times