Bug 359424

Summary: KMid crashes on opening some MIDI files
Product: [Unmaintained] kmid Reporter: Rob <robin>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: andrew.crouthamel
Priority: NOR Keywords: drkonqi
Version: 2.4.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Rob 2016-02-15 10:21:55 UTC
Application: kmid (2.4.0)
KDE Platform Version: 4.14.9
Qt Version: 4.8.6
Operating System: Linux 3.16.7-32-desktop x86_64
Distribution: "openSUSE 13.2 (Harlequin) (x86_64)"

-- Information about the crash:
Load QSynth
Open MIDI file with KMid, either directly or via Dolphin
KMid crashes immediately on opening file.

Notes:
1. This is 100% reproducible for certain MIDI files, but there is no problem with the great majority of MIDI files.
2. These files were created in Rosegarden and play perfectly in that program.  Many other files also created in Rosegarden are no problem with KMid.

The crash can be reproduced every time.

-- Backtrace:
Application: KMid (kmid), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fc7cb3157c0 (LWP 4064))]

Thread 3 (Thread 0x7fc7b99f9700 (LWP 4065)):
#0  0x00007fc7c7b53d2d in read () at /lib64/libc.so.6
#1  0x00007fc7c4d35750 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fc7c4cf4714 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fc7c4cf4b7b in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007fc7c4cf4cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#5  0x00007fc7c87f20de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#6  0x00007fc7c87c3e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#7  0x00007fc7c87c4165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#8  0x00007fc7c86c10bf in QThread::exec() () at /usr/lib64/libQtCore.so.4
#9  0x00007fc7c87a5783 in  () at /usr/lib64/libQtCore.so.4
#10 0x00007fc7c86c379f in  () at /usr/lib64/libQtCore.so.4
#11 0x00007fc7c5e360a4 in start_thread () at /lib64/libpthread.so.0
#12 0x00007fc7c7b6008d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7fc7b3fff700 (LWP 4066)):
#0  0x00007fc7c7b57c5d in poll () at /lib64/libc.so.6
#1  0x00007fc7b890c625 in drumstick::MidiClient::SequencerInputThread::run() () at /usr/lib64/libdrumstick-alsa.so.0
#2  0x00007fc7c86c379f in  () at /usr/lib64/libQtCore.so.4
#3  0x00007fc7c5e360a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007fc7c7b6008d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7fc7cb3157c0 (LWP 4064)):
[KCrash Handler]
#5  0x00007fc7c8f65c94 in  () at /usr/lib64/libkdecore.so.5
#6  0x00007fc7c8f67182 in  () at /usr/lib64/libkdecore.so.5
#7  0x00007fc7c8f68514 in  () at /usr/lib64/libkdecore.so.5
#8  0x00007fc7c8f638c6 in KEncodingProber::feed(char const*, int) () at /usr/lib64/libkdecore.so.5
#9  0x00007fc7b8dddbdc in  () at /usr/lib64/kde4/kmid_alsa.so
#10 0x00007fc7b8dd2c8c in  () at /usr/lib64/kde4/kmid_alsa.so
#11 0x00000000004283ad in _start ()

Reported using DrKonqi
Comment 1 Andrew Crouthamel 2018-09-03 03:30:34 UTC
Hello! Sorry to be the bearer of bad news, but this project has been
unmaintained for many years and I will be closing this bug.