-
-
Notifications
You must be signed in to change notification settings - Fork 150
Serial connection closes after receiving interrupted system call
#609
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
Comments
Hey @petrica thank you for the troubleshooting, kudos! We're opening a PR to build a test version of the Agent so you can test it.. |
Sure, I have already downloaded the source code and tested it replacing the Once the PR is ready, I'll give another go. Thanks! |
We have a 1.2.1 release coming so if your test is successful we can ship it to all users. Thank you! 🙇 |
https://github.com/arduino/arduino-create-agent/actions/runs/521166778 |
Running this successfully for the past 10 minutes. Usually it stopped in less than a minute. Tested arduino-create-agent-macos-10.15-amd64.zip artifact on MacOS Catalina 10.15.7. Thank you for the quick reaction to this issue! |
Thank you for taking the time to report a so detailed issue!! 💌 |
Bug Report
Describe the bug
After opening the serial monitor and reading data from an Arduino, if the amount of data is consistent and protracted in time, an interrupted system call error closes the serial connection.
To Reproduce
Write an Arduino sketch that sends data continuously to the serial monitor.
Expected behavior
Connection is kept opened and data is received.
Environment (please complete the following information):
Additional context
This bug seems to have been present in the Arduino CLI as well and got resolved by upgrading the bugst/go-serial library to latest version.
Arduino CLI similar issue here: arduino/arduino-cli#507
bugst/go-serial version that handles the interrupt: bugst/go-serial@6a673bf
The text was updated successfully, but these errors were encountered: