What does this error mean - Raspberry PI 4 #32
Unanswered
brianreinhold
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Errno 6 is apparently 'no such device or address.' I would be surprised if this caused the system to reboot, since all it is doing is attempting to open the device to see if it is a tty. Simply attempting to open a device should not cause the system to reboot. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I get this error when I call the method SerialPort.getSerialPorts()
ERROR: This is a very bad thing that should never happen /home/runner/work/JavaSerial/JavaSerial/main/NativeCode/SerialPortImpl.c:1952 errno:6
Its just a 'No such device or address' BUT it causes the system to crash and reboot - sometimes immediately and sometimes not until after about a 10-20 seconds. Looking at the C code where this error occurs it is not clear to me why this should cause a crash unless the errors are not handled at all.
Never see this error on Windows 10
I see it on Raspberry PI 3 versions too.
Beta Was this translation helpful? Give feedback.
All reactions