Re: multithread problem in zephyr application

Boie, Andrew P

Ø I have no idea why the application crashes at this address, is it like a thread racing condition problem or the thread stack overflow happened?


My money would be on stack overflow. You can try to enable the MPU (if supported) or enable CONFIG_STACK_SENTINEL to try to establish if this is the case. Stack overflows tend to cause all kinds of impossible/baffling behavior.


Ø By the way, how can I check which thread crashes with the thread ID “20000c4c”?


The address should resolve to an instance of struct k_thread in the symbol table.





Join to automatically receive all group messages.