wbsoft/frescobaldi — Issue #4: disconnecting/stopping MIDI synth while playing crashes Frescobaldi
Author: wbsoft
Created: 2011-11-15 08:47:49+00:00
State: open

When a MIDI softsynth is stopped while Frescobaldi is playing, PortMIDI in some Linux distributions (notably Ubuntu which I'm using currently) halts the whole program, prompting "PortMidi found host error Operation not permitted, type Enter..." on the console and then exits the whole application.

This problem is due to the Ubuntu libportmidi0 currently being a debug build somehow.

It needs to be tested if a non-debug build just causes a normal exception in this case. MIDI playback can be stopped then gracefully, possibly with a message. PortMIDI needs to be re-initialized then to see the updated devices list. This is currently being done via a button in the settings, but could also be done automatically.