Software reset due to exception/panic

dalohar
Posts: 33
Joined: Tue Jul 28, 2020 6:42 am

Software reset due to exception/panic

Postby dalohar » Mon Jun 24, 2024 12:00 pm

Hi,

We are using below setup
Device: ESP32-WROVER-E 16 MB
ESP-IDF: v5.1.1

We have experienced reset issue at one point of time with reason ESP_RST_PANIC.
Unfortunately we did not able to get crash log or core dump for that event.
So we are trying to understand what cases can cause this issue to occur.

Please help us to understand what are major conditions in which this reset reason can occur.
Thanks in advance.

Regards,

Dinesh
Last edited by dalohar on Fri Jul 05, 2024 5:01 am, edited 1 time in total.

ESP_Sprite
Posts: 9709
Joined: Thu Nov 26, 2015 4:08 am

Re: Software reset due to exception/pani

Postby ESP_Sprite » Thu Jun 27, 2024 9:21 am

Generally, ESP-IDF panics whenever it finds a situation that Should Never Happen. There's a fair few things that generate this; just knowing that there was a panic is unlikely to get you to the root cause.

dalohar
Posts: 33
Joined: Tue Jul 28, 2020 6:42 am

Re: Software reset due to exception/pani

Postby dalohar » Fri Jul 05, 2024 4:59 am

ESP_Sprite wrote:
Thu Jun 27, 2024 9:21 am
Generally, ESP-IDF panics whenever it finds a situation that Should Never Happen. There's a fair few things that generate this; just knowing that there was a panic is unlikely to get you to the root cause.
Hi,

Fortunately after long time I am able to catch the event and have got coredump for the same.
I am providing doredump of the same as below.

Can you please help me to understand what is causing this issue?
Also please note that this condition occurred 2 times in day (yesterday) for 2 different devices with similar coredump.

===============================================================
==================== ESP32 CORE DUMP START ====================

Crashed task handle: 0x3fccb0a0, name: 'mqtt_task', GDB name: 'process 1070379168'

================== CURRENT THREAD REGISTERS ===================
ra 0x420ad048 0x420ad048 <mbedtls_md_starts+56>
sp 0x3fccaef0 0x3fccaef0
gp 0x3fc97800 0x3fc97800 <sha3_families>
tp 0x3fc74d94 0x3fc74d94
t0 0x4005890e 1074104590
t1 0xf 15
t2 0xaae0e240 -1428102592
fp 0x50001264 0x50001264
s1 0x50001484 1342182532
a0 0x0 0
a1 0x1 1
a2 0x3c1211f0 1007817200
a3 0x4 4
a4 0xa 10
a5 0x0 0
a6 0x0 0
a7 0x3fccbaa8 1070381736
s2 0x3fca64b4 1070228660
s3 0x50000528 1342178600
s4 0x500004dc 1342178524
s5 0x3fcb7ab0 1070299824
s6 0x2f 47
s7 0x50000338 1342178104
s8 0x0 0
s9 0x0 0
s10 0x0 0
s11 0x0 0
t3 0x80000000 -2147483648
t4 0xff000fff -16773121
t5 0x50722e2f 1349660207
t6 0x72da3450 1926902864
pc 0x420b183e 0x420b183e <mbedtls_sha512_starts+10>

==================== CURRENT THREAD STACK =====================
#0 0x420b183e in mbedtls_sha512_starts (ctx=0x0, is384=is384@entry=1) at ../esp/esp-idf/components/mbedtls/mbedtls/library/sha512.c:271
#1 0x420ad048 in mbedtls_md_starts (ctx=ctx@entry=0x50001484) at ../esp/esp-idf/components/mbedtls/mbedtls/library/md.c:562
#2 0x4209fd34 in ssl_handshake_params_init (handshake=0x50001264) at ../esp/esp-idf/components/mbedtls/port/dynamic/esp_ssl_tls.c:75
#3 0x4209fda0 in ssl_handshake_init (ssl=ssl@entry=0x5000023c) at ../esp/esp-idf/components/mbedtls/port/dynamic/esp_ssl_tls.c:164
#4 0x4209fe42 in __wrap_mbedtls_ssl_setup (ssl=0x5000023c, conf=<optimized out>) at ../esp/esp-idf/components/mbedtls/port/dynamic/esp_ssl_tls.c:288
#5 0x42092e10 in esp_create_mbedtls_handle (hostname=hostname@entry=0x3fcb7ab0 <error: Cannot access memory at address 0x3fcb7ab0>, hostlen=hostlen@entry=47, cfg=cfg@entry=0x3fca64b4, tls=tls@entry=0x5000023c) at ../esp/esp-idf/components/esp-tls/esp_tls_mbedtls.c:120
#6 0x42091a04 in create_ssl_handle (hostname=hostname@entry=0x3fcb7ab0 <error: Cannot access memory at address 0x3fcb7ab0>, hostlen=hostlen@entry=47, cfg=cfg@entry=0x3fca64b4, tls=tls@entry=0x5000023c) at ../esp/esp-idf/components/esp-tls/esp_tls.c:109
#7 0x42091a62 in esp_tls_low_level_conn (hostname=hostname@entry=0x3fcb7ab0 <error: Cannot access memory at address 0x3fcb7ab0>, hostlen=hostlen@entry=47, port=port@entry=443, cfg=cfg@entry=0x3fca64b4, tls=tls@entry=0x5000023c) at ../esp/esp-idf/components/esp-tls/esp_tls.c:480
#8 0x42091e42 in esp_tls_conn_new_sync (hostname=hostname@entry=0x3fcb7ab0 <error: Cannot access memory at address 0x3fcb7ab0>, hostlen=47, port=port@entry=443, cfg=cfg@entry=0x3fca64b4, tls=tls@entry=0x5000023c) at ../esp/esp-idf/components/esp-tls/esp_tls.c:522
#9 0x42093b66 in ssl_connect (t=0x3fca5830, host=0x3fcb7ab0 <error: Cannot access memory at address 0x3fcb7ab0>, port=443, timeout_ms=<optimized out>) at ../esp/esp-idf/components/tcp_transport/transport_ssl.c:111
#10 0x420932de in esp_transport_connect (t=<optimized out>, host=<optimized out>, port=<optimized out>, timeout_ms=<optimized out>) at ../esp/esp-idf/components/tcp_transport/transport.c:123
#11 0x42058a4a in esp_mqtt_task (pv=0x3fcb6fc4, pv@entry=<error reading variable: value has been optimized out>) at ../esp/esp-idf/components/mqtt/esp-mqtt/mqtt_client.c:1593
#12 0x4038e61e in vPortTaskWrapper (pxCode=<optimized out>, pvParameters=<optimized out>) at ../esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/port.c:202

======================== THREADS INFO =========================
Id Target Id Frame
* 1 process 1070379168 0x420b183e in mbedtls_sha512_starts (ctx=0x0, is384=is384@entry=1) at ../esp/esp-idf/components/mbedtls/mbedtls/library/sha512.c:271
2 process 1070231008 0x40389a44 in esp_cpu_wait_for_intr () at ../esp/esp-idf/components/esp_hw_support/cpu.c:121
3 process 1070249996 0x403884c2 in esp_crosscore_int_send_yield (core_id=core_id@entry=0) at ../esp/esp-idf/components/esp_system/crosscore_int.c:158
4 process 1070311000 0x403884c2 in esp_crosscore_int_send_yield (core_id=core_id@entry=0) at ../esp/esp-idf/components/esp_system/crosscore_int.c:158
5 process 1070239328 0x403884c2 in esp_crosscore_int_send_yield (core_id=core_id@entry=0) at ../esp/esp-idf/components/esp_system/crosscore_int.c:158
6 process 1070371444 0x403884c2 in esp_crosscore_int_send_yield (core_id=core_id@entry=0) at ../esp/esp-idf/components/esp_system/crosscore_int.c:158
7 process 1070234508 0x403884c2 in esp_crosscore_int_send_yield (core_id=core_id@entry=0) at ../esp/esp-idf/components/esp_system/crosscore_int.c:158
8 process 1070323432 0x403884c2 in esp_crosscore_int_send_yield (core_id=core_id@entry=0) at ../esp/esp-idf/components/esp_system/crosscore_int.c:158
9 process 1070254060 0x403884c2 in esp_crosscore_int_send_yield (core_id=core_id@entry=0) at ../esp/esp-idf/components/esp_system/crosscore_int.c:158
10 process 1070409348 0x403884c2 in esp_crosscore_int_send_yield (core_id=core_id@entry=0) at ../esp/esp-idf/components/esp_system/crosscore_int.c:158
11 process 1070353488 0x403884c2 in esp_crosscore_int_send_yield (core_id=core_id@entry=0) at ../esp/esp-idf/components/esp_system/crosscore_int.c:158
12 process 1070223460 0x4038e770 in vPortClearInterruptMask (mask=1) at ../esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/port.c:385
13 process 1070266088 0x403884c2 in esp_crosscore_int_send_yield (core_id=core_id@entry=0) at ../esp/esp-idf/components/esp_system/crosscore_int.c:158


TCB NAME PRIO C/B STACK USED/FREE
---------- ---------------- -------- ----------------
0x3fccb0a0 mqtt_task 5/5 672/5460
0x3fca6de0 IDLE 0/0 208/1316
0x3fcab80c tiT 18/18 336/3240
0x3fcba658 rmaker_queue_ta 5/5 304/3788
0x3fca8e60 console_task 3/3 576/3508
0x3fcc9274 httpd 5/5 544/5584
0x3fca7b8c Tmr Svc 1/1 256/2856
0x3fcbd6e8 mdns 1/1 288/3804
0x3fcac7ec sys_evt 20/20 352/2456
0x3fcd2684 nimble_host 21/21 320/3760
0x3fcc4c50 btController 23/23 320/3764
0x3fca5064 esp_timer 22/22 224/3856
0x3fcaf6e8 wifi 23/23 336/6316

==================== THREAD 1 (TCB: 0x3fccb0a0, name: 'mqtt_task') =====================
#0 0x420b183e in mbedtls_sha512_starts (ctx=0x0, is384=is384@entry=1) at ../esp/esp-idf/components/mbedtls/mbedtls/library/sha512.c:271
#1 0x420ad048 in mbedtls_md_starts (ctx=ctx@entry=0x50001484) at ../esp/esp-idf/components/mbedtls/mbedtls/library/md.c:562
#2 0x4209fd34 in ssl_handshake_params_init (handshake=0x50001264) at ../esp/esp-idf/components/mbedtls/port/dynamic/esp_ssl_tls.c:75
#3 0x4209fda0 in ssl_handshake_init (ssl=ssl@entry=0x5000023c) at ../esp/esp-idf/components/mbedtls/port/dynamic/esp_ssl_tls.c:164
#4 0x4209fe42 in __wrap_mbedtls_ssl_setup (ssl=0x5000023c, conf=<optimized out>) at ../esp/esp-idf/components/mbedtls/port/dynamic/esp_ssl_tls.c:288
#5 0x42092e10 in esp_create_mbedtls_handle (hostname=hostname@entry=0x3fcb7ab0 <error: Cannot access memory at address 0x3fcb7ab0>, hostlen=hostlen@entry=47, cfg=cfg@entry=0x3fca64b4, tls=tls@entry=0x5000023c) at ../esp/esp-idf/components/esp-tls/esp_tls_mbedtls.c:120
#6 0x42091a04 in create_ssl_handle (hostname=hostname@entry=0x3fcb7ab0 <error: Cannot access memory at address 0x3fcb7ab0>, hostlen=hostlen@entry=47, cfg=cfg@entry=0x3fca64b4, tls=tls@entry=0x5000023c) at ../esp/esp-idf/components/esp-tls/esp_tls.c:109
#7 0x42091a62 in esp_tls_low_level_conn (hostname=hostname@entry=0x3fcb7ab0 <error: Cannot access memory at address 0x3fcb7ab0>, hostlen=hostlen@entry=47, port=port@entry=443, cfg=cfg@entry=0x3fca64b4, tls=tls@entry=0x5000023c) at ../esp/esp-idf/components/esp-tls/esp_tls.c:480
#8 0x42091e42 in esp_tls_conn_new_sync (hostname=hostname@entry=0x3fcb7ab0 <error: Cannot access memory at address 0x3fcb7ab0>, hostlen=47, port=port@entry=443, cfg=cfg@entry=0x3fca64b4, tls=tls@entry=0x5000023c) at ../esp/esp-idf/components/esp-tls/esp_tls.c:522
#9 0x42093b66 in ssl_connect (t=0x3fca5830, host=0x3fcb7ab0 <error: Cannot access memory at address 0x3fcb7ab0>, port=443, timeout_ms=<optimized out>) at ../esp/esp-idf/components/tcp_transport/transport_ssl.c:111
#10 0x420932de in esp_transport_connect (t=<optimized out>, host=<optimized out>, port=<optimized out>, timeout_ms=<optimized out>) at ../esp/esp-idf/components/tcp_transport/transport.c:123
#11 0x42058a4a in esp_mqtt_task (pv=0x3fcb6fc4, pv@entry=<error reading variable: value has been optimized out>) at ../esp/esp-idf/components/mqtt/esp-mqtt/mqtt_client.c:1593
#12 0x4038e61e in vPortTaskWrapper (pxCode=<optimized out>, pvParameters=<optimized out>) at ../esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/port.c:202

==================== THREAD 2 (TCB: 0x3fca6de0, name: 'IDLE') =====================
#0 0x40389a44 in esp_cpu_wait_for_intr () at ../esp/esp-idf/components/esp_hw_support/cpu.c:121
#1 0x42065bb8 in esp_vApplicationIdleHook () at ../esp/esp-idf/components/esp_system/freertos_hooks.c:59
#2 0x4038d1be in prvIdleTask (pvParameters=<error reading variable: value has been optimized out>) at ../esp/esp-idf/components/freertos/FreeRTOS-Kernel/tasks.c:4327
#3 0x4038e61e in vPortTaskWrapper (pxCode=<optimized out>, pvParameters=<optimized out>) at ../esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/port.c:202

==================== THREAD 3 (TCB: 0x3fcab80c, name: 'tiT') =====================
#0 0x403884c2 in esp_crosscore_int_send_yield (core_id=core_id@entry=0) at ../esp/esp-idf/components/esp_system/crosscore_int.c:158
#1 0x4038e7d2 in vPortYield () at ../esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/port.c:393
#2 0x4038c87e in xQueueReceive (xQueue=0x3fcaa910, pvBuffer=pvBuffer@entry=0x3fcab7ac, xTicksToWait=<optimized out>, xTicksToWait@entry=21) at ../esp/esp-idf/components/freertos/FreeRTOS-Kernel/queue.c:1603
#3 0x42086042 in sys_arch_mbox_fetch (mbox=mbox@entry=0x3fca1a1c <tcpip_mbox>, msg=msg@entry=0x3fcab7ac, timeout=210) at ../esp/esp-idf/components/lwip/port/freertos/sys_arch.c:317
#4 0x4206fcc8 in tcpip_timeouts_mbox_fetch (mbox=mbox@entry=0x3fca1a1c <tcpip_mbox>, msg=msg@entry=0x3fcab7ac) at ../esp/esp-idf/components/lwip/lwip/src/api/tcpip.c:104
#5 0x4206fdac in tcpip_thread (arg=<error reading variable: value has been optimized out>) at ../esp/esp-idf/components/lwip/lwip/src/api/tcpip.c:142
#6 0x4038e61e in vPortTaskWrapper (pxCode=<optimized out>, pvParameters=<optimized out>) at ../esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/port.c:202

==================== THREAD 4 (TCB: 0x3fcba658, name: 'rmaker_queue_ta') =====================
#0 0x403884c2 in esp_crosscore_int_send_yield (core_id=core_id@entry=0) at ../esp/esp-idf/components/esp_system/crosscore_int.c:158
#1 0x4038e7d2 in vPortYield () at ../esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/port.c:393
#2 0x4038c87e in xQueueReceive (xQueue=0x3fcb625c, pvBuffer=pvBuffer@entry=0x3fcba5e8, xTicksToWait=<optimized out>, xTicksToWait@entry=200) at ../esp/esp-idf/components/freertos/FreeRTOS-Kernel/queue.c:1603
#3 0x42053cbc in esp_rmaker_handle_work_queue () at ../esp/rainmaker/components/rmaker_common/src/work_queue.c:48
#4 0x42053d12 in esp_rmaker_work_queue_task (param=<error reading variable: value has been optimized out>) at ../esp/rainmaker/components/rmaker_common/src/work_queue.c:59
#5 0x4038e61e in vPortTaskWrapper (pxCode=<optimized out>, pvParameters=<optimized out>) at ../esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/port.c:202

==================== THREAD 5 (TCB: 0x3fca8e60, name: 'console_task') =====================
#0 0x403884c2 in esp_crosscore_int_send_yield (core_id=core_id@entry=0) at ../esp/esp-idf/components/esp_system/crosscore_int.c:158
#1 0x4038e7d2 in vPortYield () at ../esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/port.c:393
#2 0x4038c87e in xQueueReceive (xQueue=0x3fca90e0, pvBuffer=pvBuffer@entry=0x3fca8cec, xTicksToWait=<optimized out>, xTicksToWait@entry=4294967295) at ../esp/esp-idf/components/freertos/FreeRTOS-Kernel/queue.c:1603
#3 0x42054d6a in scli_task (arg=<error reading variable: value has been optimized out>) at ../esp/rainmaker/components/rmaker_common/src/console/rmaker_console.c:52
#4 0x4038e61e in vPortTaskWrapper (pxCode=<optimized out>, pvParameters=<optimized out>) at ../esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/port.c:202

==================== THREAD 6 (TCB: 0x3fcc9274, name: 'httpd') =====================
#0 0x403884c2 in esp_crosscore_int_send_yield (core_id=core_id@entry=0) at ../esp/esp-idf/components/esp_system/crosscore_int.c:158
#1 0x4038e7d2 in vPortYield () at ../esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/port.c:393
#2 0x4038c9fe in xQueueSemaphoreTake (xQueue=0x3fcc9478, xTicksToWait=<optimized out>, xTicksToWait@entry=4294967295) at ../esp/esp-idf/components/freertos/FreeRTOS-Kernel/queue.c:1844
#3 0x42085e76 in sys_arch_sem_wait (sem=<optimized out>, timeout=0) at ../esp/esp-idf/components/lwip/port/freertos/sys_arch.c:165
#4 0x4206f69c in lwip_select (maxfdp1=56, readset=0x3fcc91f8, writeset=0x0, exceptset=0x0, timeout=0x0) at ../esp/esp-idf/components/lwip/lwip/src/api/sockets.c:2099
#5 0x42006fd2 in esp_vfs_select (nfds=56, readfds=readfds@entry=0x3fcc91f8, writefds=writefds@entry=0x0, errorfds=errorfds@entry=0x0, timeout=timeout@entry=0x0) at ../esp/esp-idf/components/vfs/vfs.c:1037
#6 0x420988b4 in httpd_server (hd=hd@entry=0x3fcc6dc8) at ../esp/esp-idf/components/esp_http_server/src/httpd_main.c:282
#7 0x420989d8 in httpd_thread (arg=0x3fcc6dc8, arg@entry=<error reading variable: value has been optimized out>) at ../esp/esp-idf/components/esp_http_server/src/httpd_main.c:327
#8 0x4038e61e in vPortTaskWrapper (pxCode=<optimized out>, pvParameters=<optimized out>) at ../esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/port.c:202

==================== THREAD 7 (TCB: 0x3fca7b8c, name: 'Tmr Svc') =====================
#0 0x403884c2 in esp_crosscore_int_send_yield (core_id=core_id@entry=0) at ../esp/esp-idf/components/esp_system/crosscore_int.c:158
#1 0x4038e7d2 in vPortYield () at ../esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/port.c:393
#2 0x4038f084 in prvProcessTimerOrBlockTask (xNextExpireTime=0, xListWasEmpty=1) at ../esp/esp-idf/components/freertos/FreeRTOS-Kernel/timers.c:673
#3 0x4038f1f6 in prvTimerTask (pvParameters=<error reading variable: value has been optimized out>) at ../esp/esp-idf/components/freertos/FreeRTOS-Kernel/timers.c:619
#4 0x4038e61e in vPortTaskWrapper (pxCode=<optimized out>, pvParameters=<optimized out>) at ../esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/port.c:202

==================== THREAD 8 (TCB: 0x3fcbd6e8, name: 'mdns') =====================
#0 0x403884c2 in esp_crosscore_int_send_yield (core_id=core_id@entry=0) at ../esp/esp-idf/components/esp_system/crosscore_int.c:158
#1 0x4038e7d2 in vPortYield () at ../esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/port.c:393
#2 0x4038c87e in xQueueReceive (xQueue=0x3fcbb95c, pvBuffer=pvBuffer@entry=0x3fcbd68c, xTicksToWait=<optimized out>, xTicksToWait@entry=4294967295) at ../esp/esp-idf/components/freertos/FreeRTOS-Kernel/queue.c:1603
#3 0x4205199e in _mdns_service_task (pvParameters=<error reading variable: value has been optimized out>) at ../esp/rainmaker/firmwares-V3/mark_DS3_2-lights/components/espressif__mdns/mdns.c:5210
#4 0x4038e61e in vPortTaskWrapper (pxCode=<optimized out>, pvParameters=<optimized out>) at ../esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/port.c:202

==================== THREAD 9 (TCB: 0x3fcac7ec, name: 'sys_evt') =====================
#0 0x403884c2 in esp_crosscore_int_send_yield (core_id=core_id@entry=0) at ../esp/esp-idf/components/esp_system/crosscore_int.c:158
#1 0x4038e7d2 in vPortYield () at ../esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/port.c:393
#2 0x4038c87e in xQueueReceive (xQueue=0x3fcaba08, pvBuffer=pvBuffer@entry=0x3fcac750, xTicksToWait=<optimized out>, xTicksToWait@entry=4294967295) at ../esp/esp-idf/components/freertos/FreeRTOS-Kernel/queue.c:1603
#3 0x421170fe in esp_event_loop_run (event_loop=event_loop@entry=0x3fcab9dc, ticks_to_run=ticks_to_run@entry=4294967295) at ../esp/esp-idf/components/esp_event/esp_event.c:569
#4 0x4211715a in esp_event_loop_run_task (args=0x3fcab9dc, args@entry=<error reading variable: value has been optimized out>) at ../esp/esp-idf/components/esp_event/esp_event.c:107
#5 0x4038e61e in vPortTaskWrapper (pxCode=<optimized out>, pvParameters=<optimized out>) at ../esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/port.c:202

==================== THREAD 10 (TCB: 0x3fcd2684, name: 'nimble_host') =====================
#0 0x403884c2 in esp_crosscore_int_send_yield (core_id=core_id@entry=0) at ../esp/esp-idf/components/esp_system/crosscore_int.c:158
#1 0x4038e7d2 in vPortYield () at ../esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/port.c:393
#2 0x4038c87e in xQueueReceive (xQueue=0x3fcd12f4, pvBuffer=pvBuffer@entry=0x3fcd25fc, xTicksToWait=<optimized out>, xTicksToWait@entry=4294967295) at ../esp/esp-idf/components/freertos/FreeRTOS-Kernel/queue.c:1603
#3 0x40383130 in npl_freertos_eventq_get (evq=<optimized out>, tmo=4294967295) at ../esp/esp-idf/components/bt/host/nimble/nimble/porting/npl/freertos/src/npl_os_freertos.c:282
#4 0x40382a38 in ble_npl_eventq_get (tmo=<optimized out>, evq=0x3fca1890 <g_eventq_dflt>) at ../esp/esp-idf/components/bt/host/nimble/nimble/porting/npl/freertos/include/nimble/nimble_npl_os.h:167
#5 nimble_port_run () at ../esp/esp-idf/components/bt/host/nimble/nimble/porting/nimble/src/nimble_port.c:246
#6 0x42018f98 in blecent_host_task (param=<error reading variable: value has been optimized out>) at ../esp/rainmaker/firmwares-V3/common/app_altbeacon/app_altbeacon.c:694
#7 0x4038e61e in vPortTaskWrapper (pxCode=<optimized out>, pvParameters=<optimized out>) at ../esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/port.c:202

==================== THREAD 11 (TCB: 0x3fcc4c50, name: 'btController') =====================
#0 0x403884c2 in esp_crosscore_int_send_yield (core_id=core_id@entry=0) at ../esp/esp-idf/components/esp_system/crosscore_int.c:158
#1 0x4038e7d2 in vPortYield () at ../esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/port.c:393
#2 0x4038c9fe in xQueueSemaphoreTake (xQueue=0x3fcbfee8, xTicksToWait=<optimized out>, xTicksToWait@entry=4294967295) at ../esp/esp-idf/components/freertos/FreeRTOS-Kernel/queue.c:1844
#3 0x420266ec in semphr_take_wrapper (semphr=<optimized out>, block_time_ms=<optimized out>) at ../esp/esp-idf/components/bt/controller/esp32c3/bt.c:556
#4 0x40383e9c in btdm_controller_task ()
#5 0x4038e61e in vPortTaskWrapper (pxCode=<optimized out>, pvParameters=<optimized out>) at ../esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/port.c:202

==================== THREAD 12 (TCB: 0x3fca5064, name: 'esp_timer') =====================
#0 0x4038e770 in vPortClearInterruptMask (mask=1) at ../esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/port.c:385
#1 0x4038e79a in vPortExitCritical () at ../esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/port.c:336
#2 0x4038e2fe in ulTaskGenericNotifyTake (uxIndexToWait=uxIndexToWait@entry=0, xClearCountOnExit=xClearCountOnExit@entry=1, xTicksToWait=xTicksToWait@entry=4294967295) at ../esp/esp-idf/components/freertos/FreeRTOS-Kernel/tasks.c:5820
#3 0x42005c32 in timer_task (arg=<error reading variable: value has been optimized out>) at ../esp/esp-idf/components/esp_timer/src/esp_timer.c:475
#4 0x4038e61e in vPortTaskWrapper (pxCode=<optimized out>, pvParameters=<optimized out>) at ../esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/port.c:202

==================== THREAD 13 (TCB: 0x3fcaf6e8, name: 'wifi') =====================
#0 0x403884c2 in esp_crosscore_int_send_yield (core_id=core_id@entry=0) at ../esp/esp-idf/components/esp_system/crosscore_int.c:158
#1 0x4038e7d2 in vPortYield () at ../esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/port.c:393
#2 0x4038c87e in xQueueReceive (xQueue=0x3fcad5c4, pvBuffer=0x3fcaf668, xTicksToWait=<optimized out>, xTicksToWait@entry=4294967295) at ../esp/esp-idf/components/freertos/FreeRTOS-Kernel/queue.c:1603
#3 0x421181d4 in queue_recv_wrapper (queue=<optimized out>, item=<optimized out>, block_time_tick=<optimized out>) at ../esp/esp-idf/components/esp_wifi/esp32c3/esp_adapter.c:233
#4 0x400407be in ?? ()


======================= ALL MEMORY REGIONS ========================
Name Address Size Attrs
.rtc.force_fast 0x50000010 0x0 RW
.rtc_noinit 0x50000010 0x0 RW
.rtc.force_slow 0x50000010 0x0 RW
.iram0.text 0x40380000 0x16e1c R XA
.dram0.data 0x3fc97000 0x4db4 RW A
.flash.text 0x42000020 0x1192b0 R XA
.flash.appdesc 0x3c120020 0x100 R A
.flash.rodata 0x3c120120 0x562f0 RW A
.eh_frame 0x3c176410 0x7e0 R A
.iram0.data 0x40397000 0x0 RW
.iram0.bss 0x40397000 0x0 RW
.dram0.heap_start 0x3fca3190 0x0 RW
.coredump.tasks.data 0x3fccb0a0 0x154 RW
.coredump.tasks.data 0x3fccae50 0x230 RW
.coredump.tasks.data 0x3fca6de0 0x154 RW
.coredump.tasks.data 0x3fca6cf0 0xd0 RW
.coredump.tasks.data 0x3fcab80c 0x154 RW
.coredump.tasks.data 0x3fcab6a0 0x150 RW
.coredump.tasks.data 0x3fcba658 0x154 RW
.coredump.tasks.data 0x3fcba510 0x130 RW
.coredump.tasks.data 0x3fca8e60 0x154 RW
.coredump.tasks.data 0x3fca8c00 0x240 RW
.coredump.tasks.data 0x3fcc9274 0x154 RW
.coredump.tasks.data 0x3fcc9030 0x220 RW
.coredump.tasks.data 0x3fca7b8c 0x154 RW
.coredump.tasks.data 0x3fca7a70 0x100 RW
.coredump.tasks.data 0x3fcbd6e8 0x154 RW
.coredump.tasks.data 0x3fcbd5b0 0x120 RW
.coredump.tasks.data 0x3fcac7ec 0x154 RW
.coredump.tasks.data 0x3fcac670 0x160 RW
.coredump.tasks.data 0x3fcd2684 0x154 RW
.coredump.tasks.data 0x3fcd2520 0x140 RW
.coredump.tasks.data 0x3fcc4c50 0x154 RW
.coredump.tasks.data 0x3fcc4af0 0x140 RW
.coredump.tasks.data 0x3fca5064 0x154 RW
.coredump.tasks.data 0x3fca4f60 0xe0 RW
.coredump.tasks.data 0x3fcaf6e8 0x154 RW
.coredump.tasks.data 0x3fcaf580 0x150 RW

===================== ESP32 CORE DUMP END =====================
===============================================================


Thanks in advance.

Regards,

Dinesh

Who is online

Users browsing this forum: jsmith56x, sterisa and 265 guests