Summary: | crash first time running kmid, after confirming changes to "Configure Kmid" | ||
---|---|---|---|
Product: | kmid | Reporter: | Niels Mayer <NielsMayer> |
Component: | general | Assignee: | Unknown <null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | kevin.kofler |
Priority: | NOR | ||
Version: | 2.3.0 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Niels Mayer
2010-06-01 22:30:28 UTC
Confirmed. I'm working on this. I can reproduce this issue, with conditions: * There is no ~/.kde4/share/config/kmidrc configuration file. Removing this file the crash can be reproduced consistently. * There is only one MIDI output port available in the system. For instance, if drumstick-vpiano is started before kmid, the crash doesn't happen. By the way, this does not depend on the "Reset mode" setting, or any other option in the Configuration dialog. For instance, changing the lyrics font size and pressing OK -> crash. w/r/t/ the statement: "There is only one MIDI output port available in the system" ... this is not consistent with what I'm seeing, where I have many available MIDI ports, e.g.: on the machine that produced the crashdumps: port created: Midi-Through:midi/capture_1 port created: MT4:midi/playback_1 port created: MT4:midi/capture_1 port created: MT4:midi/playback_2 port created: MT4:midi/capture_2 port created: MT4:midi/playback_3 port created: MT4:midi/capture_3 port created: MT4:midi/capture_4 port created: MT4:midi/capture_5 port created: BCD3000:midi/playback_1 port created: BCD3000:midi/capture_1 port created: UM-2:midi/playback_1 port created: UM-2:midi/capture_1 port created: UM-2:midi/playback_2 port created: UM-2:midi/capture_2 port created: QMidiRoute:midi/capture_1 port created: QMidiRoute:midi/playback_2 port created: QMidiRoute:midi/playback_3 port created: QXGEdit:midi/playback_1 port created: QXGEdit:midi/capture_1 port created: QmidiNet:midi/playback_1 port created: QmidiNet:midi/capture_1 port created: QmidiNet:midi/playback_2 port created: QmidiNet:midi/capture_2 And on a different machine that has same behavior: port created: Midi-Through:midi/capture_1 port created: MT4:midi/playback_1 port created: MT4:midi/capture_1 port created: MT4:midi/playback_2 port created: MT4:midi/capture_2 port created: MT4:midi/playback_3 port created: MT4:midi/capture_3 port created: MT4:midi/capture_4 port created: MT4:midi/capture_5 port created: LPK25:midi/playback_1 port created: LPK25:midi/capture_1 port created: DJ-Console-(WE):midi/playback_1 port created: DJ-Console-(WE):midi/capture_1 port created: ICEnsemble-ICE1724:midi/playback_1 port created: ICEnsemble-ICE1724:midi/capture_1 port created: QmidiNet:midi/playback_1 port created: QmidiNet:midi/capture_1 port created: QmidiNet:midi/playback_2 port created: QmidiNet:midi/capture_2 I don't recognize your port list format. Maybe you are using jack-midi or something like that? I didn't test kmid using jack midi. Anyway, to reproduce the crash is not necessary to uninstall and reinstall kmid. It should be enough renaming or deleting the file named 'kmidrc' in ~/.kde4/share/config About the realtime settings. To perform the test without realtime priority enabled, you only need to edit your /etc/security/limits.conf file, leading the 'rtprio' line with a character '#' (comment), and restarting the session (logout/login). SVN commit 1134129 by pedrol: ALSA backend. Removed a call to ALSAMIDIOutput::reloadDeviceList() from the MIDI event handling thread, because this method is not thread safe and it is not needed since 2.3.0 anyway. This fixes an ugly crash. BUG: 240394 M +1 -1 CMakeLists.txt M +2 -4 alsa/alsamidiobject.cpp M +0 -3 alsa/alsamidioutput.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1134129 The list of midi devices is from qjackctl's output... they're all ALSA midi devices. They are not jack midi devices nor do I use Jack midi very much, and certainly not with kmid. |