Hi,
We have a production device using the NRF9160 and after several days end up triggering a __bus_fault() that arises likely from memory fragmentation in the heap within block_break() within mempool.c (after who knows how many memory allocations and corresponding frees).
Not being too concerned about the heap fragmentation issue itself, but our Watchdog isn't triggering when it is in __bus_fault's idlecpu loop so our firmware has no ability to reset itself. We have a z_SysFatalErrorHandler handler, but this doesn't seem to be called for __bus_fault() cases.
Is there anyway at the application level to trap __bus_fault() so we can do a sys_reboot(), or prevent our watchdog from being disabled?
Thanks!