Skip to content
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

RTOS not trapped in assertOSError while-loop #385

Closed
KnockbackNemo opened this issue Dec 25, 2023 · 0 comments · Fixed by #421
Closed

RTOS not trapped in assertOSError while-loop #385

KnockbackNemo opened this issue Dec 25, 2023 · 0 comments · Fixed by #421
Assignees
Labels
bug Something isn't working M2

Comments

@KnockbackNemo
Copy link
Contributor

When the assertOSError function fails and enters an infinite while-loop, the loop is only as high of a priority as the task that called it. As a result, higher priority tasks can still run, even if a lower priority task experienced an OS error.

This happens any time the OS error occurs in a task that isn't the highest priority. To trap the OS in the loop and force a complete shutdown, one option is to lock the scheduler inside _assertOSError.

@KnockbackNemo KnockbackNemo added bug Something isn't working M2 labels Dec 25, 2023
@KnockbackNemo KnockbackNemo self-assigned this Feb 27, 2024
@KnockbackNemo KnockbackNemo linked a pull request Mar 2, 2024 that will close this issue
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working M2
Projects
Development

Successfully merging a pull request may close this issue.

1 participant