Migrating to 2.6.1 we have everything working and the project builds. But as soon as lte_lc_connect_async is called the app now crashes. The Faulting instruction address seems like it might be datetime related? I have tried doubling the main thread stack size, the modem thread stack size, and the system queue stack size but nothing seems to have changed it. If I comment out the LTE connection the app runs normally (but doesn't connect to LTE).
[00:00:31.390,899] <wrn> modem: Functional mode changed to 1 [00:00:31.391,693] <inf> app_event_manager: MODEM_EVT_LTE_CONNECTING [00:00:31.392,517] <wrn> modem: -><- LTE CONNECTING.... [00:00:31.434,234] <err> os: ***** USAGE FAULT ***** [00:00:31.434,234] <err> os: Illegal use of the EPSR [00:00:31.434,265] <err> os: r0/a1: 0x200213a8 r1/a2: 0x200139c0 r2/a3: 0x200139c0 [00:00:31.434,295] <err> os: r3/a4: 0x0002b800 r12/ip: 0x0ccccccc r14/lr: 0x00029edb [00:00:31.434,326] <err> os: xpsr: 0x60000000 [00:00:31.434,356] <err> os: s[ 0]: 0x00000000 s[ 1]: 0x20021398 s[ 2]: 0x20021398 s[ 3]: 0x00029a11 [00:00:31.434,356] <err> os: s[ 4]: 0x2002136f s[ 5]: 0x7959db2c s[ 6]: 0x008739b0 s[ 7]: 0x0000f750 [00:00:31.434,387] <err> os: s[ 8]: 0x00000000 s[ 9]: 0x00000000 s[10]: 0x00000000 s[11]: 0x00000000 [00:00:31.434,417] <err> os: s[12]: 0xffffffff s[13]: 0xffffffff s[14]: 0x00000000 s[15]: 0x00000000 [00:00:31.434,417] <err> os: fpscr: 0x00000000 [00:00:31.434,417] <err> os: Faulting instruction address (r15/pc): 0x0002b800 [00:00:31.434,478] <err> os: >>> ZEPHYR FATAL ERROR 35: Unknown error on CPU 0 [00:00:31.434,509] <err> os: Current thread: 0x200139c0 (sysworkq) [00:00:32.131,866] <err> fatal_error: Resetting system
Zephyr Map
.text.date_time_core_notify_event 0x000000000002b868 0x1c modules/nrf/lib/date_time/lib..__nrf__lib__date_time.a(date_time_core.c.obj) .text.date_time_lte_ind_handler 0x000000000002b884 0x38 modules/nrf/lib/date_time/lib..__nrf__lib__date_time.a(date_time_core.c.obj) 0x000000000002b884 date_time_lte_ind_handler .text.date_time_core_schedule_update 0x000000000002b8bc 0x54 modules/nrf/lib/date_time/lib..__nrf__lib__date_time.a(date_time_core.c.obj)