Open geolessel opened 5 years ago
Uh, very odd! I cannot reproduce, unfortunately, as I'm on Elixir 1.8.0 and Erlang 21, but on archlinux. Is there anything special about the MIDI device you're connecting to?
Googling a bit, this
2019-01-22 18:00:40.089 beam.smp[93854:3670893] *** Assertion failure in void assertRunningOnAppKitThread(void)(), /BuildRoot/Library/Caches/com.apple.xbs/Sources/ViewBridge/ViewBridge-401.1/ViewBridgeUtilities.m:912
2019-01-22 18:00:40.095 beam.smp[93854:3670893] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'not running on AppKit (main) thread'
seems to be popping up in Processing-related threads, and looks fairly recent :thinking:
There's also a success story tracking down this bug that could definitely help with debugging this. If anybody with MacOS (and super-heroic intents) could give it a stab, I'd be super grateful! :heart:
If I have a brand new mix project and add
portmidi
as a dependency, everything is fine up to this point. I can run:observer.start()
in an IEx session without any issue.However, as soon as I run
PortMidi.open(:output, output_device)
, I can no longer run:observer.start()
and IEx crashes. The error output is below.Do you have any idea why?
I'm running Elixir 1.8.0 on Erlang 21 on Mac OS.
Error output (I've attempted to clean up various white space oddities):