#1347 Crash when recording MIDI

closed
Ted Felix
sequencer (64)
6
2012-09-16
2012-07-10
Ted Felix
No

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.

Discussion

  • Ted Felix
    Ted Felix
    2012-07-10

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