Stack overflow (context area not valid) on ncs v2.4.2

I use nRF5340 DK to test NOR flash writing. But it failed due to stack overflow. What is meaning of context area not valid and do you have any suggestion to debug this issue?

1 2