I recently encountered a MCU crash problem. I think it is related to NRF_ LOG_ Process (). I used the simulation to catch the following scenarios. MCU crashes at this time.

Please help me analyze the possible problem. Thank you.
NOTE :
i use #define NRF_LOG_DEFERRED 1,and added code in main(),as follows:
while(1)
{
UNUSED_RETURN_VALUE(NRF_LOG_PROCESS());
}
i am very glad to receive your answer,thanks!