-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
HARD FAULT when aborting essential thread #84460
Comments
Hi @fsammoura1980! We appreciate you submitting your first issue for our open-source project. 🌟 Even though I'm a bot, I can assure you that the whole community is genuinely grateful for your time and effort. 🤖💙 |
I am not sure why the details of the bug did not show up: I set
The test did indeed detect that This was also reproduced in a similar test run on a Google board: |
you had your details enclosed with '<! ... >` |
Thanks Anas. |
Someone familiar with the ztest This may need special handling if we have to support it. My vague guess is that we'll just need to document the limitation and pull a will-not-fix on this. But in theory it should be possible, we just need to recognize how to get back to a legal state. |
Describe the bug
I created a test for aborting an essential thread per this CL: fsammoura1980@f68690f. I set
valid_fault
totrue
to let the test know that I am expecting aKernel panic
. Although the test clearly states thatFatal error expected as part of test case.
as shown in the log, the test terminates with aHARD FAULT
, which I expect to be a zephyr bug.This issue was also reproduced on a Google board using this CL: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/6096994
To Reproduce
Steps to reproduce the behavior:
Expected behavior
We test is expecting a kernel panic, so it should end up without a
HARD FAULT
. I believe this is a zephyr bug.Impact
Adding proper test infrastructure to a Google project
Logs and console output
Environment (please complete the following information):
Additional context
None
The text was updated successfully, but these errors were encountered: