-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
NodeJS process with WebMIDI crashes upon closing Max 8, if Max was started before starting the NodeJS process #391
Comments
WEBMIDI.js uses the const navigator = require('jzz');
navigator.requestMIDIAccess({sysex: true}).then((access)=>{
console.log(Array.from(access.inputs.values()), Array.from(access.outputs.values()));
}, (err)=>{console.log(err)}); Thanks! P.S. It might be related to this: jazz-soft/JZZ#49 (follow-up here: jazz-soft/jazz-midi#5) |
@djipco Yes, I do get the exact same error in a test npm project that only has jzz 1.7.4 installed. When I open Max, start the Node process, and then close Max, I get |
Thanks for reporting back. It is quite clear now that the issue is with the |
Description
My nodeJS process crashes when I include WebMIDI, under the following circumstance:
I first open Max 8, then start a nodeJS process, and then close Max.
Environment:
Specify the environment where you are witnessing the problem:
Details
Here's the contents of a nodeJS process that's crashing on my machine. This
test.js
file contains only:Steps to reproduce:
node test.js
I see the following error in the console, and I see that the nodeJS process thread has terminated.
Segmentation fault: 11
I checked that the same workflow does not cause a crash with Ableton Live 11.
The text was updated successfully, but these errors were encountered: