MIDIFLOW IS CLOSING

Need help with Midiflow? Ask here!
Herica
Posts: 1
Joined: Mon Feb 01, 2021 10:07 pm

MIDIFLOW IS CLOSING

Post by Herica »

Good evening!
I'm with a problem at Midiflow. Right after the update of iOS 14, the program is closing all the time. This is hindering my show. So, I need an URGENT solution, because I Work with music, Please!

Best regards,

Herica Silva.
Mof
Posts: 14
Joined: Sat Apr 18, 2020 2:42 am

Re: MIDIFLOW IS CLOSING

Post by Mof »

Mine has started doing this too. Not sure if it is was the iOS 14.4 update I did or resetting my iPad settings. Think it might be the later and specifically the Bluetooth Privacy settings going missing.

Does Midiflow try to do anything Bluetooth on a regular basis in the background by any chance?
Mof
Posts: 14
Joined: Sat Apr 18, 2020 2:42 am

Re: MIDIFLOW IS CLOSING

Post by Mof »

If it helps, the crash I keep getting while using midi flow, looks like it is something in the processing of an incoming midi message.... this is really a problem and is making the app unusable.

Incident Identifier: 67486A13-5780-43DA-8ADF-3415B44B0ED3
CrashReporter Key: 07f2eb056722dc74e30ca45959d9867df88a598e
Hardware Model: iPad11,3
Process: Midiflow [328]
Path: /private/var/containers/Bundle/Application/9644E5C2-8F15-42F0-9891-E93FE3D176CC/Midiflow.app/Midiflow
Identifier: de.johannesdoerr.Midiflow
Version: 2.2.80 (2.2.17)
AppStoreTools: 12A7207
AppVariant: 1:iPad11,3:13
Code Type: ARM-64 (Native)
Role: Non UI
Parent Process: launchd [1]
Coalition: de.johannesdoerr.Midiflow [497]


Date/Time: 2021-02-08 21:07:48.8497 +0800
Launch Time: 2021-02-08 21:07:01.5906 +0800
OS Version: iPhone OS 14.4 (18D52)
Release Type: User
Baseband Version: n/a
Report Version: 104

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 4

Application Specific Information:
abort() called

.....

Thread 4 Crashed:
0 libsystem_kernel.dylib 0x00000001c96b3414 __pthread_kill + 8
1 libsystem_pthread.dylib 0x00000001e6be8b50 pthread_kill + 272
2 libsystem_c.dylib 0x00000001a5228b74 abort + 104
3 libc++abi.dylib 0x00000001b0f1bcf8 __cxxabiv1::__aligned_malloc_with_fallback+ 81144 (unsigned long) + 0
4 libc++abi.dylib 0x00000001b0f0cd4c demangling_terminate_handler+ 19788 () + 52
5 libc++abi.dylib 0x00000001b0f1b0e0 std::__terminate(void (*)+ 78048 ()) + 20
6 libc++abi.dylib 0x00000001b0f1b07c std::terminate+ 77948 () + 60
7 Midiflow 0x0000000104ccefd8 0x104c3c000 + 602072
8 Midiflow 0x0000000104cdb908 0x104c3c000 + 653576
9 Midiflow 0x0000000104ccf87c 0x104c3c000 + 604284
10 Midiflow 0x0000000104cdbc60 0x104c3c000 + 654432
11 Midiflow 0x0000000104ccd450 0x104c3c000 + 595024
12 Midiflow 0x0000000104cceeac 0x104c3c000 + 601772
13 Midiflow 0x0000000104d9c724 0x104c3c000 + 1443620
14 Midiflow 0x0000000104d9dd88 0x104c3c000 + 1449352
15 CoreMIDI 0x00000001cda2cc74 MIDI::PacketizerBase<MIDI::LegacyPacketList>::~PacketizerBase+ 142452 () + 48
16 CoreMIDI 0x00000001cda2ca50 MIDI::MIDIPacketList_Deliverer::operator()+ 141904 (MIDI::EventList const&) + 172
17 CoreMIDI 0x00000001cda48554 MIDIProcess::MIDIInPortThread::Run+ 255316 () + 392
18 CoreMIDI 0x00000001cda2e6f8 XThread::RunHelper+ 149240 (void*) + 28
19 CoreMIDI 0x00000001cda2f77c CAPThread::Entry+ 153468 (CAPThread*) + 92
20 libsystem_pthread.dylib 0x00000001e6be7cb0 _pthread_start + 320
21 libsystem_pthread.dylib 0x00000001e6bf0778 thread_start + 8
Mof
Posts: 14
Joined: Sat Apr 18, 2020 2:42 am

Re: MIDIFLOW IS CLOSING

Post by Mof »

Figured out a pattern to the crashing. Seems to happen 100% of the time, and very quickly, where Midiflow is receiving both controller events and note on/off events at the same time. It does not crash if I am ONLY playing notes OR if I am ONLY sending controller events (even mixed controllers like pitch bend, sustain, mod wheel at the same time). But as soon as I use any of these events while also playing notes, it pretty much instantly crashes.

I've got mine setup so that it is receiving/sending MIDI using virtual midi ports which are then routed through to the real midi interfaces using AUM.

I also have all the In App purchases for Midiflow.

I also notice when I start up MIDI flow, the MIDI Port icon near the preset name is black in color and there is no label in the Input/Config button in the top right. After a while these go blue again/appear. But this doesn't seem to make any difference to the crashing.

Wondering if maybe some start up initialisation is failing and so the controller related in-app purchases aren't being initialised properly?

Consistently getting the same crash as the stack dump I posted earlier.

Only started happening since I upgraded to iOS14.4. Was flawless before this and now it is unusable. Any idea as to when you might be able to look into this as my setup is very very dependant on Midiflow. Happy to try out any betas or do any other troubleshooting if it helps.
User avatar
Johannes
Site Admin
Posts: 138
Joined: Mon Mar 25, 2019 3:06 pm

Re: MIDIFLOW IS CLOSING

Post by Johannes »

Hi,
can you please check the TestFlight version (available here: https://testflight.apple.com/join/2EIfAwQ3) and let me know if it fixes the issue?

Thanks,
Johannes