Panic does not show stack trace (v5.0.3)

derricksenva
Posts: 21
Joined: Tue Aug 02, 2022 8:19 pm

Panic does not show stack trace (v5.0.3)

Postby derricksenva » Wed Jul 26, 2023 10:50 pm

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 822 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 822 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 822 times
Last edited by derricksenva on Wed Jul 26, 2023 11:18 pm, edited 2 times in total.

derricksenva
Posts: 21
Joined: Tue Aug 02, 2022 8:19 pm

Re: v5.0.3 Panic does not show stack trace

Postby derricksenva » Wed Jul 26, 2023 11:11 pm

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 216 times

Who is online

Users browsing this forum: letter57 and 243 guests