- </s>Guru Meditation Error: Core 0 panic'ed (Load access fault). Exception was unhandled.<br/>
- <br/>
- Core 0 register dump:<br/>
- Stack dump detected<br/>
- MEPC : 0x42009624 RA : 0x4200965e SP : 0x3fca9670 GP : 0x3fc91e00 <br/>
- 0x42009624: ble_npl_mutex_pend at /home/kalpesh/esp/esp-idf/components/bt/host/nimble/nimble/porting/npl/freertos/include/nimble/nimble_npl_os.h:234<br/>
- (inlined by) ble_hs_lock_nested at /home/kalpesh/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs.c:174<br/>
- 0x4200965e: ble_hs_lock at /home/kalpesh/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs.c:220<br/>
- <br/>
- TP : 0x3fc913c0 T0 : 0x4005890e T1 : 0x0000000f T2 : 0x42015e36 <br/>
- 0x4005890e: memset in ROM<br/>
- 0x42015e36: npl_freertos_callout_deinit at /home/kalpesh/esp/esp-idf/components/bt/host/nimble/nimble/porting/npl/freertos/src/npl_os_freertos.c:795<br/>
- <br/>
- S0/FP : 0x3fca3254 S1 : 0x00000001 A0 : 0x00000001 A1 : 0x00000009 <br/>
- A2 : 0x3fca3254 A3 : 0x00000012 A4 : 0x00000001 A5 : 0x00000000 <br/>
- A6 : 0x4200624e A7 : 0x3fc92958 S2 : 0x00000009 S3 : 0x00000001 <br/>
- 0x4200624e: console_write at /home/kalpesh/esp/esp-idf/components/vfs/vfs_console.c:71<br/>
- <br/>
- S4 : 0x00000001 S5 : 0x0000001d S6 : 0x00000012 S7 : 0x00000000 <br/>
- S8 : 0x00000000 S9 : 0x00000000 S10 : 0x00000000 S11 : 0x00000000 <br/>
- T3 : 0x42014c94 T4 : 0x42015f62 T5 : 0x42014c90 T6 : 0x42015f4c <br/>
- 0x42014c94: npl_freertos_callout_set_arg at /home/kalpesh/esp/esp-idf/components/bt/host/nimble/nimble/porting/npl/freertos/src/npl_os_freertos.c:956<br/>
- 0x42015f62: npl_freertos_callout_remaining_ticks at /home/kalpesh/esp/esp-idf/components/bt/host/nimble/nimble/porting/npl/freertos/src/npl_os_freertos.c:915<br/>
- 0x42014c90: npl_freertos_callout_get_ticks at /home/kalpesh/esp/esp-idf/components/bt/host/nimble/nimble/porting/npl/freertos/src/npl_os_freertos.c:910<br/>
- 0x42015f4c: npl_freertos_callout_is_active at /home/kalpesh/esp/esp-idf/components/bt/host/nimble/nimble/porting/npl/freertos/src/npl_os_freertos.c:884<br/>
- <br/>
- MSTATUS : 0x00001881 MTVEC : 0x40380001 MCAUSE : 0x00000005 MTVAL : 0x00000044 <br/>
- 0x40380001: _vector_table at ??:?<br/>
- <br/>
- MHARTID : 0x00000000 <br/>
- <br/>
- <br/>
- Backtrace:<br/>
- <br/>
- <br/>
- 0x42009624 in ble_npl_mutex_pend (timeout=4294967295, mu=0x3fc95ae0 <ble_hs_mutex>) at /home/kalpesh/esp/esp-idf/components/bt/host/nimble/nimble/porting/npl/freertos/include/nimble/nimble_npl_os.h:234<br/>
- 234 return npl_funcs->p_ble_npl_mutex_pend(mu, timeout);<br/>
- #0 0x42009624 in ble_npl_mutex_pend (timeout=4294967295, mu=0x3fc95ae0 <ble_hs_mutex>) at /home/kalpesh/esp/esp-idf/components/bt/host/nimble/nimble/porting/npl/freertos/include/nimble/nimble_npl_os.h:234<br/>
- #1 ble_hs_lock_nested () at /home/kalpesh/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs.c:174<br/>
- #2 0x4200965e in ble_hs_lock () at /home/kalpesh/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs.c:219<br/>
- #3 0x4201ba0e in ble_att_svr_tx_rsp (conn_handle=conn_handle@entry=1, hs_status=9, om=0x3fca3254, att_op=att_op@entry=18 '\022', err_status=1 '\001', err_handle=err_handle@entry=29) at /home/kalpesh/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_att_svr.c:680<br/>
- #4 0x4201bffc in ble_att_svr_rx_write (conn_handle=1, rxom=0x3fc95f60 <ble_l2cap_chan_mem+16>) at /home/kalpesh/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_att_svr.c:2303<br/>
- #5 0x4200a890 in ble_att_rx (chan=0x3fc95f50 <ble_l2cap_chan_mem>) at /home/kalpesh/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_att.c:517<br/>
- #6 0x4200a6c0 in ble_hs_hci_evt_acl_process (om=0x0) at /home/kalpesh/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs_hci_evt.c:1145<br/>
- #7 0x4200967c in ble_hs_process_rx_data_queue () at /home/kalpesh/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs.c:243<br/>
- #8 0x42009698 in ble_hs_event_rx_data (ev=<optimized out>) at /home/kalpesh/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs.c:540<br/>
- #9 0x42014c4c in npl_freertos_event_run (ev=<optimized out>) at /home/kalpesh/esp/esp-idf/components/bt/host/nimble/nimble/porting/npl/freertos/src/npl_os_freertos.c:451<br/>
- #10 0x40381d86 in ble_npl_event_run (ev=0x3fc95ccc <ble_hs_rx_q+8>) at /home/kalpesh/esp/esp-idf/components/bt/host/nimble/nimble/porting/npl/freertos/include/nimble/nimble_npl_os.h:185<br/>
- #11 nimble_port_run () at /home/kalpesh/esp/esp-idf/components/bt/host/nimble/nimble/porting/nimble/src/nimble_port.c:279<br/>
- #12 0x42008ef2 in host_task (param=<error reading variable: value has been optimized out>) at /home/kalpesh/esp/ds18b20_temp_sens/GitHub/LoRaWAN-Sensor-Node/4. Firmware/Final_Firmware/LoRaWAN_SensorNode/main/LoraWaN_BLE/CapufGap.c:107<br/>
- #13 0x4038ab06 in vPortTaskWrapper (pxCode=<optimized out>, pvParameters=<optimized out>) at /home/kalpesh/esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/port.c:255<br/>
- ELF file SHA256: 7c504abdb<br/>
- <br/>
- Rebooting...<e>
<br/>
Problem: after Re-initializing BLE stack it is getting reboot<br/>
<br/>
Terminal Output:
<CODEBOX codebox="text" file="Untitled.txt"><s>