-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zephyr/kernel/thread.c:382 failed #32515
Comments
If I replace the qemu-riscv32 with qemu-x86, there is nothing wrong, it works well, so is this related to riscv ? |
Hi @Dream-math, |
@cwshu Thanks for your reply, there are one place in my main.c related to memory size explicitly:
and the next place is running the program:
so I just need to increase these two size? I search on the internet, but didn't find too much, can you give me some advice about enlarging the thread stack size, how to find and set the stack size? Thanks! |
@Dream-math You should find which thread has stack overflow at first (e.g. check |
Thanks, it works! |
Closing since this seems solved now. Please reopen if that is not the case. |
Hi, my python code communicates with zephyr program based on qemu-riscv32 board, after several rounds, the zephyr will crash, and the python code will receive
zephyr/kernel/thread.c:382
( I guess this is the problem), their communication is based on FIFO file.Here is the zephyr program writing message
and
zephyr/kernel/thread.c:382
code iswhen I debug with single step, I found it crashed even not calling zephyr functions.
my command to run zephyr program:
Any help would be appreciated, thanks!
The text was updated successfully, but these errors were encountered: