I implement basic Thermostat Zigbee device on top of FreeRTOS v10.0.0 with nRF Thread and Zigbee SDK in version v3.0.0
When there is no network to connect then after some time the ZBOSS stack crashes.
See the GDB backtrace:
#1 0x00004388 in zb_nrf52840_abort () at external_dependencies/nrf_thread_zigbee_sdk/external/zboss/osif/zb_nrf52840_common.c:154 #2 0x0000d544 in zb_address_get_pan_id () #3 0x0001652c in zb_nlme_network_discovery_confirm () #4 0x0001188e in zb_sched_loop_iteration () #5 0x00000b5e in drv_zigbee_task (params=<optimized out>) at ./drivers/src/drv_zigbee.c:645 #6 0x00002b38 in ?? ()
I can't figure out where the problem is. There is no stack overflow. I can't find any race condition which may cause this problem.
Could you help me?