Closed bwagner closed 1 year ago
Thanks for the repro case, that's very helpful. Investigating.
The crash is in code that gets MIDI data from the "spying" MIDI driver. If you turn off "Spy on output to destinations > IAC Driver Bus 1", then it's fine.
My fault. SpyingMIDIDriver::SizeOfPacketList
is very old and does not account for the 4-byte alignment of MIDIPacket
s on Apple Silicon processors.
Will do a release of MIDI Monitor 1.5.4 shortly!
Interesting: After installing 1.5.4 I still get a crash in that situation. midi_monitor_crash2.txt
The bug fix was actually in the driver that gets installed into ~/Library/Audio/MIDI Drivers/MIDI Monitor.plugin
.
So a few things might have gone wrong:
/Library/Audio/MIDI Drivers
, then that old copy might be getting used instead. Check for any copies and remove them. The one in ~/Library/Audio/MIDI Drivers
ought to work.MIDIServer
process alive, with the old driver code. Try quitting all apps that use MIDI, wait a few moments, then launch MIDI Monitor again and try again. Or, to be completely foolproof, log out and in again, or just restart the whole computer.Let me know if that none of those help.
restarted my computer and now it works. Thank you!
To reproduce: activate IAC Driver start MIDI Monitor in Terminal:
sendmidi dev iac panic
MIDI Monitor crashesDoes only occasionally occur when using a hardware MIDI device, i.e.
sendmidi dev micro panic
midi_monitor_crash.txt
when issuing the command
sendmidi dev iac panic
the following sequence is repeated for all 16 MIDI channels:resulting in 2096 midi messages, each 3 bytes in quick succession.