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
Opening a port does not work with versions > 7.0.1 : segfault (MacOS & Ubuntu) #1770
Comments
@pierreroth64 Have you tried the latest release of |
I am seeing a segfault when trying to open port with the following:
Segfault on trying |
@kjhe11e Is this with any port or a specific device? |
@HipsterBrown |
We can confirm the issue with Arduino (/dev/ttyACM0) and CP210 hardware (/dev/ttyUSB0) serial port on Ubuntu 18.04 with nodejs 10.14.1 serial port module version 7.1.2 and 7.0.2, moving to 6.2.2 has solved the problem for now. |
using https://github.com/ddopson/node-segfault-handler i get:
does that mean anything to you? |
Hi, sorry for the delayed answer. Yes, it still does not work with |
Same issue with 7.1.2. Latest MacOS + PL2303 TTL-to-USB adapter. 6.2.2 works fine. |
#1772 should fix this once it lands |
I've pulled the bad releases, sorry for issues everyone. It's been hard to test with hardware on all the platforms, so I really thank you for these bug reports. |
Does 7.1.0 work for everyone? |
I had this problem this morning, and set @serialport/bindings to 2.0.3, which fixed the problem. If serialport 7.1.0 uses @serialport/bindings 2.0.3, it should work... |
7.1.0 still segfaults for me :-( |
to add to that, 7.1.0 still comes with binding 2.0.5. |
7.1.0 still segfaults here, running macOS 10.13.6 |
I am happy to say |
Opening a port does not work anymore on my MacOS with versions > 7.0.1.
I created a repo with all the informations: https://github.com/pierreroth64/serialport-test
Do not hesitate to ask for more details if needed.
Thanks for your help
The text was updated successfully, but these errors were encountered: