-
Notifications
You must be signed in to change notification settings - Fork 60
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
Segv when reading and writing a storm of events #40
Comments
On MacOs 10.15.7 Catalina I have the same problem, I'm working on a DMX lighting controller which uses the Novation Launchpad to send Midi button events to and from my software. I've just implented a lot more flashing of buttons and as chinenual said, as you get busy the app crashes. Any help much appreciated.
|
On Macos 10.14.6 (Mojave)
go 1.14.1
gitlab.com/gomidi/portmididrv v0.6.0
portmidi installed via homebrew - version 217_2
This looks very similar to #36 . I tried setting GODEBUG as described there, but don't see anything in the log. I've been successfully using the library for some prototyping, but now get this seg fault whenever my app processes a quick stream of events (each inbound event triggers a corresponding outbound event and soon after the first in the storm, the app crashes). If I break the cycle (process inbound events, but don't immediately send an outbound event in response - or just send a bunch of outbound events), everything works fine. Could there be some problem with attempting to write at same time the read listener is still processing an inbound event?
Help?
The text was updated successfully, but these errors were encountered: