Bug 300374

Summary: kmix crashes randomly, no apparent reason, always segfault
Product: [Applications] kmix Reporter: Tor Bellino <ariel>
Component: generalAssignee: Christian Esken <esken>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Tor Bellino 2012-05-21 03:31:57 UTC
Application: kmix (4)
KDE Platform Version: 4.8.2 (4.8.2)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-24-generic-pae i686
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:

Nothing special, kmix is crashing at random moments, even while not playing a sound, not changing volume, not doing anything.

If it's any good, I can attach the backtrace every time it crashes. Sometimes I'm getting up to one crash per minute, so a lot of backtraces to analyze.

The crash can be reproduced every time.

-- Backtrace:
Application: KMix (kmix), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb1b99740 (LWP 8537))]

Thread 3 (Thread 0xaa46db40 (LWP 8538)):
#0  0xb76585d7 in pthread_mutex_lock () from /lib/i386-linux-gnu/libc.so.6
#1  0xb2e46390 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb2e06a75 in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb2e07002 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb2e071c1 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb5c068e7 in QEventDispatcherGlib::processEvents (this=0xa9b00468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb5bd250d in QEventLoop::processEvents (this=0xaa46d240, flags=...) at kernel/qeventloop.cpp:149
#7  0xb5bd27a9 in QEventLoop::exec (this=0xaa46d240, flags=...) at kernel/qeventloop.cpp:204
#8  0xb5abb94c in QThread::exec (this=0xa0bad80) at thread/qthread.cpp:501
#9  0xb5bafb5d in QInotifyFileSystemWatcherEngine::run (this=0xa0bad80) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb5abede0 in QThreadPrivate::start (arg=0xa0bad80) at thread/qthread_unix.cpp:298
#11 0xb2f7fd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0xb764aace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xa5afeb40 (LWP 8565)):
#0  0xb2f82c49 in __pthread_mutex_unlock_usercnt () from /lib/i386-linux-gnu/libpthread.so.0
#1  0xb7658634 in pthread_mutex_unlock () from /lib/i386-linux-gnu/libc.so.6
#2  0xb2e463d0 in g_mutex_unlock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb2e060de in g_main_context_acquire () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb2e06f18 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb2e071c1 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb5c068e7 in QEventDispatcherGlib::processEvents (this=0xa5100468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0xb5bd250d in QEventLoop::processEvents (this=0xa5afe240, flags=...) at kernel/qeventloop.cpp:149
#8  0xb5bd27a9 in QEventLoop::exec (this=0xa5afe240, flags=...) at kernel/qeventloop.cpp:204
#9  0xb5abb94c in QThread::exec (this=0xa20d120) at thread/qthread.cpp:501
#10 0xb5bafb5d in QInotifyFileSystemWatcherEngine::run (this=0xa20d120) at io/qfilesystemwatcher_inotify.cpp:248
#11 0xb5abede0 in QThreadPrivate::start (arg=0xa20d120) at thread/qthread_unix.cpp:298
#12 0xb2f7fd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#13 0xb764aace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb1b99740 (LWP 8537)):
[KCrash Handler]
#7  0xb776af75 in MDWSlider::update (this=0xa1f4ee0) at ../../kmix/gui/mdwslider.cpp:1001
#8  0xb7765c23 in ViewDockAreaPopup::refreshVolumeLevels (this=0xa1f4778) at ../../kmix/gui/viewdockareapopup.cpp:168
#9  0xb7762913 in qt_static_metacall (_a=0xbfbed310, _id=3, _o=0xa1f4778, _c=<optimized out>) at ./viewbase.moc:64
#10 ViewBase::qt_static_metacall (_o=0xa1f4778, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfbed310) at ./viewbase.moc:55
#11 0xb5bea6b1 in QMetaObject::activate (sender=0xa199718, m=0xb77a6d48, local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3547
#12 0xb7785c75 in Mixer::controlChanged (this=0xa199718) at ./mixer.moc:117
#13 0xb5bea6b1 in QMetaObject::activate (sender=0xa1c38c0, m=0xb77a4c44, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3547
#14 0xb773aea5 in Mixer_Backend::controlChanged (this=0xa1c38c0) at ./mixer_backend.moc:107
#15 0xb773b1a8 in Mixer_Backend::readSetFromHW (this=0xa1c38c0) at ../../kmix/backends/mixer_backend.cpp:155
#16 0xb774812a in Mixer_PULSE::triggerUpdate (this=0xa1c38c0) at ../../kmix/backends/mixer_pulse.cpp:1286
#17 0xb774c47d in sink_cb (c=0xa07cd48, i=0x0, eol=1) at ../../kmix/backends/mixer_pulse.cpp:191
#18 0xb6b73b45 in context_get_sink_info_callback (pd=0xa07af68, command=2, tag=3, t=0xa05f310, userdata=0xa1c7298) at pulse/introspect.c:280
#19 0xb2f32eed in run_action (pd=0xa07af68, r=0xa1c7390, command=2, ts=0xa05f310) at pulsecore/pdispatch.c:279
#20 0xb2f332f0 in pa_pdispatch_run (pd=0xa07af68, packet=0xa19cff8, creds=0xa080d38, userdata=0xa07cd48) at pulsecore/pdispatch.c:331
#21 0xb6b67a1d in pstream_packet_callback (p=0xa080c70, packet=0xa19cff8, creds=0xa080d38, userdata=0xa07cd48) at pulse/context.c:335
#22 0xb2f388c3 in do_read (p=0xa080c70) at pulsecore/pstream.c:809
#23 do_something (p=0xa080c70) at pulsecore/pstream.c:177
#24 0xb2f22c28 in callback (m=0xa183934, e=0xa054fc0, fd=13, f=3, userdata=0xa07e6c0) at pulsecore/iochannel.c:160
#25 0xb6b56a3a in dispatch_func (source=0xa183900, callback=0, userdata=0x0) at pulse/glib-mainloop.c:584
#26 0xb2e06cda in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#27 0xb2e070e5 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#28 0xb2e071c1 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#29 0xb5c06887 in QEventDispatcherGlib::processEvents (this=0x9ed7e88, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#30 0xb6275aaa in QGuiEventDispatcherGlib::processEvents (this=0x9ed7e88, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#31 0xb5bd250d in QEventLoop::processEvents (this=0xbfbede44, flags=...) at kernel/qeventloop.cpp:149
#32 0xb5bd27a9 in QEventLoop::exec (this=0xbfbede44, flags=...) at kernel/qeventloop.cpp:204
#33 0xb5bd7eba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#34 0xb61baa74 in QApplication::exec () at kernel/qapplication.cpp:3820
#35 0xb775479b in kdemain (argc=1, argv=0xbfbee0a4) at ../../kmix/apps/main.cpp:76
#36 0x0804850b in main (argc=1, argv=0xbfbee0a4) at kmix_dummy.cpp:3

Possible duplicates by query: bug 300324, bug 300182, bug 300133, bug 299908, bug 299708.

Reported using DrKonqi
Comment 1 Christian Esken 2012-05-21 20:17:10 UTC
Preface: Any bug reporter that sees the following in the Stacktrace, please do NOT report it any longer: kmix/gui/mdwslider.cpp:1001 or kmix/gui/mdwslider.cpp:1003 The issue is fixed in KDE 4.8.3 , see Bug 290742 .

*** This bug has been marked as a duplicate of bug 290742 ***