Crashing with assertion/segmentation fault/bus error
See original GitHub issueIssuing new (require('midi')).input().getPortCount();
in a node repl gives me one of the following:
Assertion failed: (0), function uv_close, file ../deps/uv/src/unix/core.c, line 165. Abort trap: 6
Segmentation fault: 11
Bus error 10
But only after using the repl for a while. Easiest way for me to reproduce is by repeatedly pressing enter some 30 times.
Can reproduce on Mac running OS X 10.11.2, node v5.4.0 and on a Raspberry Pi running Linux 4.1.13, node v4.2.1.
Issue Analytics
- State:
- Created 8 years ago
- Comments:31 (2 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@grav Here’s an example, hacked down a bit so it only depends on node-midi, child_process, and segfault-handler.
midispawn.js
midiinchild.js
midioutchild.js
Happy days. Reopen if it comes back!