-
Notifications
You must be signed in to change notification settings - Fork 95
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
[Crash] MIKMIDICommand.m - Line 73 +[MIKMIDICommand commandsWithMIDIPacket:] + 73 #314
Comments
Hi! The screenshot you posted really doesn't have enough information in it to say much of anything about the crash by itself. Can you tell me more about the circumstances behind the crash? |
Thank you for quick response @armadsen. I got it from our firebase system. I saw it just happen on iOS 14 (especially 14.4.2). it just came out recently and i still haven't replayed it on my device. |
Hi. We have also received crash reports with the same stack trace. The only additional info I can give is that it seems to occur also with macOS 10.16.0 and 11.4.0. |
Hi, I've also experienced this crash but in a very special circumstance: I have an older MIDI interface and when I connect it to the output of one of my synths, before the connection is fully made I get a few calls to this function where the standardLength variable is -1. It seems that it makes its way into the MIDIPacketListAdd function and causes the crash. Am I right in guessing standardLength should never be -1? From what I've seen I only get this in this specific case... maybe its a corrupted message as the cable is not fully connected. BTW this is on Mac Catalyst. I've added a condition just to check this: if (standardLength == -1) { now the crash doesn't happen but I'm not really sure this is any good... |
A System Message (MIKMIDICommandTypeSystemMessage) results in standardLength being -1. You can reproduce the crash by sending a message with status byte 0xFF (Reset command) to the library. Some footswitches seem to be sending those messages, for example. |
Hi I has crash issue in this line. Could you please help me check it. Thank you so much. I just happen on iOS 14.
The text was updated successfully, but these errors were encountered: