-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
Using select() with stdin (IDFGH-2540) #4627
Comments
Please make sure you are not calling select from an interrupt or a critical section. |
The crash is caused by an assertion which tries to print (from a critical section) that the UART driver is not installed. @eduardsui Please call Please take a look at driver initialization in the following examples: |
Thank you, it works perfectly after UART driver is installed. |
Hello,
I'm facing a issue when running select() with stdin file descriptor. abort() gets called in locks.c, here:
The offending code is:
The text was updated successfully, but these errors were encountered: