Hi all. I am using the latest nrf5340_audio application from NCS v2.5.1 running on nRF5340 Audio DK boards
From time to time, the application crashes with the below errors. Any idea what is wrong here, and how to possibly solve it? Thanks
HL [00:01:46.099,029] <inf> broadcast_sink: Stream index 0 started HL [00:01:46.099,060] <inf> broadcast_sink: Codec config for LC3: HL [00:01:46.099,060] <inf> broadcast_sink: Frequency: 48000 Hz HL [00:01:46.099,060] <inf> broadcast_sink: Frame Duration: 10000 us HL [00:01:46.099,060] <inf> broadcast_sink: Octets per frame: 120 (96000 kbps) HL [00:01:46.099,090] <inf> broadcast_sink: Frames per SDU: 1 HL [00:01:46.099,090] <inf> broadcast_sink: Channel allocation: 0x1 HL [00:01:46.490,539] <inf> bt_mgmt: Disconnected: 4D:42:B3:3B:7D:E1 (random) (reason 0x08) HL [00:01:46.490,570] <wrn> streamctrl_broadcast_sink: Unexpected/unhandled bt_mgmt event: 6 HL [00:01:46.490,570] <err> bt_mgmt_adv: No valid advertising data stored HL [00:01:46.490,600] <err> bt_mgmt: ERR_CHK Err_code: [-2] @ line: 177 HL [00:01:46.490,600] <err> os: r0/a1: 0x00000003 r1/a2: 0x0000000b r2/a3: 0x0000000a HL [00:01:46.490,600] <err> os: r3/a4: 0x000699e5 r12/ip: 0x0000000c r14/lr: 0x00069a6f HL [00:01:46.490,600] <err> os: xpsr: 0x41100000 HL [00:01:46.490,631] <err> os: s[ 0]: 0x00000000 s[ 1]: 0x00000010 s[ 2]: 0x20019720 s[ 3]: 0x00079a54 HL [00:01:46.490,631] <err> os: s[ 4]: 0x20019728 s[ 5]: 0x00000000 s[ 6]: 0x00000000 s[ 7]: 0x00000000 HL [00:01:46.490,631] <err> os: s[ 8]: 0x00000000 s[ 9]: 0x0000968b s[10]: 0x00006d6f s[11]: 0x200038d8 HL [00:01:46.490,661] <err> os: s[12]: 0x00000002 s[13]: 0x200038d8 s[14]: 0x00000002 s[15]: 0x20019720 HL [00:01:46.490,661] <err> os: fpscr: 0x00000004 HL [00:01:46.490,661] <err> os: Faulting instruction address (r15/pc): 0x00009698 HL [00:01:46.490,692] <err> os: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 HL [00:01:46.490,692] <err> os: Current thread: 0x20004838 (sysworkq) HL [00:01:46.490,722] <err> error_handler: Caught system error -- reason 3. Entering infinite loop
Just now, I had another crash, even when not switching streams.
HL [00:08:20.906,555] <wrn> audio_datapath: In I2S TX underrun condition, total: 425000 HL [00:08:25.906,585] <wrn> audio_datapath: In I2S TX underrun condition, total: 430000 HL [00:08:30.906,585] <wrn> audio_datapath: In I2S TX underrun condition, total: 435000 HL [00:08:35.906,616] <wrn> audio_datapath: In I2S TX underrun condition, total: 440000 HL [00:08:40.906,616] <wrn> audio_datapath: In I2S TX underrun condition, total: 445000 HL [00:08:45.906,646] <wrn> audio_datapath: In I2S TX underrun condition, total: 450000 HL [00:08:50.906,646] <wrn> audio_datapath: In I2S TX underrun condition, total: 455000 HL [00:08:55.906,677] <wrn> audio_datapath: In I2S TX underrun condition, total: 460000 HL [00:09:00.906,677] <wrn> audio_datapath: In I2S TX underrun condition, total: 465000 HL [00:09:05.906,707] <wrn> audio_datapath: In I2S TX underrun condition, total: 470000 HL [00:09:10.906,707] <wrn> audio_datapath: In I2S TX underrun condition, total: 475000 HL [00:09:15.906,738] <wrn> audio_datapath: In I2S TX underrun condition, total: 480000 HL [00:09:20.906,768] <wrn> audio_datapath: In I2S TX underrun condition, total: 485000 HL [00:09:25.906,768] <wrn> audio_datapath: In I2S TX underrun condition, total: 490000 HL [00:09:30.906,799] <wrn> audio_datapath: In I2S TX underrun condition, total: 495000 HL [00:09:35.906,799] <wrn> audio_datapath: In I2S TX underrun condition, total: 500000 HL [00:09:40.906,829] <wrn> audio_datapath: In I2S TX underrun condition, total: 505000 HL [00:09:45.906,829] <wrn> audio_datapath: In I2S TX underrun condition, total: 510000 HL [00:09:48.736,663] <inf> bt_mgmt: Disconnected: 68:24:8C:26:BC:6A (random) (reason 0x08) HL [00:09:48.736,694] <wrn> streamctrl_broadcast_sink: Unexpected/unhandled bt_mgmt event: 6 HL [00:09:48.736,694] <err> bt_mgmt_adv: No valid advertising data stored HL [00:09:48.736,694] <err> bt_mgmt: ERR_CHK Err_code: [-2] @ line: 177 HL [00:09:48.736,724] <err> os: r0/a1: 0x00000003 r1/a2: 0x00000004 r2/a3: 0x00000003 HL [00:09:48.736,724] <err> os: r3/a4: 0x00069df1 r12/ip: 0x0000000c r14/lr: 0x00069e7b HL [00:09:48.736,724] <err> os: xpsr: 0x41100000 HL [00:09:48.736,755] <err> os: s[ 0]: 0x00000000 s[ 1]: 0x00000010 s[ 2]: 0x20019720 s[ 3]: 0x00079e64 HL [00:09:48.736,755] <err> os: s[ 4]: 0x20019728 s[ 5]: 0x00000000 s[ 6]: 0x00000000 s[ 7]: 0x00000000 HL [00:09:48.736,755] <err> os: s[ 8]: 0x00000000 s[ 9]: 0x0000968b s[10]: 0x00006d6f s[11]: 0x200038d8 HL [00:09:48.736,785] <err> os: s[12]: 0x00000002 s[13]: 0x200038d8 s[14]: 0x00000002 s[15]: 0x20019720 HL [00:09:48.736,785] <err> os: fpscr: 0x00000004 HL [00:09:48.736,785] <err> os: Faulting instruction address (r15/pc): 0x00009698 HL [00:09:48.736,816] <err> os: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 HL [00:09:48.736,816] <err> os: Current thread: 0x20004838 (sysworkq) HL [00:09:48.736,846] <err> error_handler: Caught system error -- reason 3. Entering infinite loop