Zigbee Light Switch crashes: zb_nwk_ed_timeout_req_frame_confirm

I'm struggling with the nrf sdk v2.9.2 zigbee light_switch example. I copy the example, add this to proj.conf

CONFIG_ZIGBEE_CHANNEL=25
CONFIG_ZIGBEE_CHANNEL_SELECTION_MODE_SINGLE=y

Compile it up and install it on the nrf52840dk. Connect it to my Zigbee network which is hosted by my Home Assistant, ZHA and using a ZBT-2.

It works, but at some point - between 1min, and 15min - it'll panic.  I've tried many debugging and logging options and as best I can tell it's related to this backtrace: zb_nwk_ed_timeout_req_frame_confirm → zb_schedule_alarm → zb_osif_abort. No amount of logging get me more actionable info and searching and AI queries haven't helped.

If I hook sys_arch_reboot there appears to be stack space left and zb_buf_get_out can still return buffers when it crashes.

Related