-
-
Notifications
You must be signed in to change notification settings - Fork 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
Using SerialPort ends in Segmentation fault (Speicherzugriffsfehler) #1771
Comments
In the meanwhile, pierreroth64 postet the same issue. I can confirm, what he descriped. When i change to 6.2.2 everythink works. |
Here is mine #1770 |
SIGSEGV happens at that line because ConnectionOptionsBaton inherits from Nan::AsyncResource (requiring a v8 isolate) and EIO_Open -> setup is called from a uv thread that doesn't have an associated isolate. |
Downgrading to 6.2.2 it's ok. With 7.x.x it's broken. |
I had the same problem. Tried different versions of Node (eg LTS, latest, 8.15, etc) with no change. Glad to see it is possible to roll back to an earlier version, but... |
Same here, downgrading to 6.2.2 works |
How does 7.1.0 work for you? |
We should have this fixed later today btw #1772 |
Alternative fix for serialport#1771 to serialport#1772
415891c fixes the segfaults for me on a Raspberry Pi 3 running 32-bit Arch Linux ARM. 👍 |
|
Summary of Problem
What are you trying to do?
Using serialport for access the serial port.
What happens?
A simple test program ends up in an error message Speicherzugriffsfehler ("segmentation fault").
Other ports (e.g. ttyAMA0) produce the same error.
What should have happened?
No error message / crash should occure.
Code to Reproduce the Issue
Versions, Operating System and Hardware
The text was updated successfully, but these errors were encountered: