-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
DUT server: random crashes in MarkAsDefunct #22225
Comments
@bluebin14 Is this crashing inside MarkAsDefunct, or after MarkAsDefunct returns and we are doing the OnSessionHang notification? It's not clear to me from the logged stacks which function we are actually crashing in.... That said, we are clearly not getting to the MoveToState call inside MarkAsDefunct, since that would log things that are not appearing in the log. So we're in one of the other states, and it would be really good to figure out which one we're in... @bluebin14 do you have a complete log for one of those crashes so we can look at previous state transition logs for the session involved, since we're not logging the state? |
I do not have complete logs but it may have resulted from the controller exiting due to --timeout setting (i.e. without cleaning up) leaving the device in an undefined state then continuing with Sigma 1 with next chip-tool call, that caused the crash. |
Any updates here @bluebin14 ? If you could try to repro it, that would be really helpful. |
I did 2 things that currently seem to not produce the crash: reduce sleep interval to 300 ms and increase command timeout. After SVE2 I can debug it further. |
@bzbarsky-apple it is possibly related so closing it for now since it is not reproducible with current code. |
Problem
DUT firmware [Nordic] randomly crashes sometimes in MarkAsDefunct. Does not look platform specific and unfortunately cannot debug it at the moment. Two crashes attached.
Proposed Solution
Check what could cause the random crash.
The text was updated successfully, but these errors were encountered: