#1347 Crash when recording MIDI

Ted Felix
sequencer (64)
Ted Felix

After doing some MIDI recording for a bit, eventually you will encounter the following exception:

WARNING: Rosegarden::Exception: "No data found for property pitch" at src/base/Event.h:544
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.

terminate called after throwing an instance of 'Rosegarden::Event::NoData'
what(): std::exception

Aere Greenway first noticed this.

I reproduced by recording two devices to different tracks. I recorded some segments, then deleted them and recorded some more. It took a fair amount of playing around before this happened. The crash occurred while recording was underway.


  • Ted Felix
    Ted Felix

    My bad. Had an RG_DEBUG in that was dumping pitch and it got hold of a sustain controller event. Boom!