-
-
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
Abort trap: 6 #660
Comments
See this |
Can you confirm your platform? I think this is related to #670 |
Confirmed. I think it is related to open/close port too: actually I have to use only one port at a time. Inviato da iPad
|
I meant, is this Linux on an embedded device, and if so, which one? |
Nope As written in the code, it is OS X with node 5.4 Claudio
|
@claudio-destro We fixed a ton of bugs in our latest beta specifically ones addressing this issue on osx. #733 Please try it out |
Ok I will try it out! Inviato da iPhone
|
Did it work out? We've released |
I didn't have enough time... Sorry I did a little test yesterday night and seemed working. I will try the new release. Claudio Inviato da iPhone
|
I'm going to close this issue due to it's age, but if you'd like to continue with it feel free to reopen. |
Can you show me the crashing code? And can you tell me what version you're Francis Gulotta On Wed, Nov 9, 2016 at 3:15 PM, Luc DeTellis [email protected]
|
@reconbot Sorry I deleted my original comment, I found a better solution than using a setTimeout. Here's my original code if you're interested:
I fixed the "Abort trap: 6" error by adding serial.drain() before each write:
|
There isn't an upper limit on how many writes you can do in sequence, so Francis Gulotta On Wed, Nov 9, 2016 at 4:00 PM, Luc DeTellis [email protected]
|
Hi guys
Chatted with @reconbot about the following error I got in my code:
Assertion failed: (loop->watchers[w->fd] == w), function uv__io_stop, file ../deps/uv/src/unix/core.c, line 864.
Abort trap: 6
it seems to be random... I got it in my library flashmagic.js branch develop.
please run cli.ts with subcommand "ping" but I think you will need an NXP LPC hardware...
# ./bin/flashmagic.js -P <your_port> ping
I get the error after attempting to close and reopen a given serial port with different baud rate (see last lines in src/Handshake.ts): 9600 -> 115200.
Attempting to reproduce the issue I wrote the following code in plain javascript: it fails fast sometimes with "Error: Serialport not open" (-> uncomment on('data')), sometimes with "Error: Cannot open /dev/tty.usbserial-FTBTBAAW".
It seems like the close/open functions do not work as expected.
The text was updated successfully, but these errors were encountered: