Bug 296754

Summary: KMix Crashes when usb-dongle of wireless headphones set was unplugged
Product: [Applications] kmix Reporter: GenuZ <genuz>
Component: generalAssignee: Christian Esken <esken>
Status: RESOLVED DUPLICATE    
Severity: crash CC: adaptee, frol.onn
Priority: NOR    
Version: 4   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description GenuZ 2012-03-25 16:38:44 UTC
Application: kmix (4)
KDE Platform Version: 4.8.1 (4.8.1)
Qt Version: 4.8.0
Operating System: Linux 3.0.0-17-generic x86_64
Distribution: Linux Mint 12 KDE

-- Information about the crash:
- What I was doing when the application crashed:
When using USB wireless headphones (Planctronics Audio .995) and playing music with Clementine sound start lags...
I've unpluged USB-dongle of headphones, and Kmix suddenly crashes... Interesting that herewith lags of sound stopped without kmix restarting...

LinuxMint 12 KDE + kubuntu beta repositories

The crash can be reproduced every time.

-- Backtrace:
Application: KMix (kmix), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f48c1bfc7c0 (LWP 2764))]

Thread 3 (Thread 0x7f48a0e31700 (LWP 2796)):
#0  0x00007f48b760eff2 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f48b760fdfd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f48b7610429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f48be284c26 in QEventDispatcherGlib::processEvents (this=0xa54d60, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f48be254402 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f48be254657 in QEventLoop::exec (this=0x7f48a0e30cd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f48be154067 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f48be23417f in QInotifyFileSystemWatcherEngine::run (this=0xa57a20) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f48be15708b in QThreadPrivate::start (arg=0xa57a20) at thread/qthread_unix.cpp:298
#9  0x00007f48b355b56c in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#10 0x00007f48b8179efc in start_thread (arg=0x7f48a0e31700) at pthread_create.c:304
#11 0x00007f48c14e359d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f4897ffe700 (LWP 2926)):
#0  0x00007f48c14d7473 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f48b760ff68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f48b7610429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f48be284c26 in QEventDispatcherGlib::processEvents (this=0xb6f6b0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f48be254402 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f48be254657 in QEventLoop::exec (this=0x7f4897ffdcd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f48be154067 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f48be23417f in QInotifyFileSystemWatcherEngine::run (this=0xb6eea0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f48be15708b in QThreadPrivate::start (arg=0xb6eea0) at thread/qthread_unix.cpp:298
#9  0x00007f48b355b56c in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#10 0x00007f48b8179efc in start_thread (arg=0x7f4897ffe700) at pthread_create.c:304
#11 0x00007f48c14e359d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f48c1bfc7c0 (LWP 2764)):
[KCrash Handler]
#6  0x00007f48bf988c20 in typeinfo for QGesture () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#7  0x00007f48c17f6756 in MDWSlider::update (this=0xb41d60) at ../../kmix/gui/mdwslider.cpp:1001
#8  0x00007f48c17f200b in ViewDockAreaPopup::refreshVolumeLevels (this=<optimized out>) at ../../kmix/gui/viewdockareapopup.cpp:168
#9  0x00007f48c17ef311 in ViewBase::qt_metacall (this=0xb40fd0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff6d34e530) at ./viewbase.moc:87
#10 0x00007f48c17f19e0 in ViewDockAreaPopup::qt_metacall (this=0xb40fd0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff6d34e530) at ./viewdockareapopup.moc:73
#11 0x00007f48be269c09 in QMetaObject::activate (sender=0xa8fe20, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3566
#12 0x00007f48c180e0cc in Mixer::qt_metacall (this=0xa8fe20, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff6d34e680) at ./mixer.moc:82
#13 0x00007f48be269c09 in QMetaObject::activate (sender=0xa936c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3566
#14 0x00007f48c17cb38c in Mixer_Backend::readSetFromHW (this=0xa936c0) at ../../kmix/backends/mixer_backend.cpp:155
#15 0x00007f48c17db725 in sink_cb (c=<optimized out>, i=<optimized out>, eol=<optimized out>) at ../../kmix/backends/mixer_pulse.cpp:191
#16 0x00007f48bfbe3ce4 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#17 0x00007f48b7b315f3 in ?? () from /usr/lib/x86_64-linux-gnu/libpulsecommon-1.0.so
#18 0x00007f48b7b31963 in pa_pdispatch_run () from /usr/lib/x86_64-linux-gnu/libpulsecommon-1.0.so
#19 0x00007f48bfbd9c1d in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#20 0x00007f48b7b36209 in ?? () from /usr/lib/x86_64-linux-gnu/libpulsecommon-1.0.so
#21 0x00007f48bf9c7b23 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse-mainloop-glib.so.0
#22 0x00007f48b760fa5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f48b7610258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f48b7610429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f48be284bbf in QEventDispatcherGlib::processEvents (this=0x622ad0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#26 0x00007f48bef6b28e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#27 0x00007f48be254402 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#28 0x00007f48be254657 in QEventLoop::exec (this=0x7fff6d34f250, flags=...) at kernel/qeventloop.cpp:204
#29 0x00007f48be2596e7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#30 0x00007f48c17e2cc2 in kdemain (argc=1, argv=0x7fff6d34f7d8) at ../../kmix/apps/main.cpp:76
#31 0x00007f48c142130d in __libc_start_main (main=0x400630 <main(int, char**)>, argc=1, ubp_av=0x7fff6d34f7d8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff6d34f7c8) at libc-start.c:226
#32 0x0000000000400661 in _start ()

Possible duplicates by query: bug 296717, bug 296639, bug 296628, bug 296592, bug 296392.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-03-25 16:50:05 UTC

*** This bug has been marked as a duplicate of bug 288441 ***
Comment 2 Evgenii Frolov 2012-03-29 16:32:52 UTC
Created attachment 69995 [details]
New crash information added by DrKonqi

kmix (4) on KDE Platform 4.8.1 (4.8.1) using Qt 4.8.0

- What I was doing when the application crashed:

I removed my usb-card of wireless headphones (Logitech) while listening to amarok.
Kmix crashed then. The amarok continued to play using my integrated sound card

-- Backtrace (Reduced):
#6  0x00007fc099605c00 in typeinfo for QGesture () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#7  0x00007fc09b4a3e26 in MDWSlider::update (this=0x2294c40) at ../../kmix/gui/mdwslider.cpp:1001
#8  0x00007fc09b49f64b in ViewDockAreaPopup::refreshVolumeLevels (this=<optimized out>) at ../../kmix/gui/viewdockareapopup.cpp:168
[...]
#11 0x00007fc09b478b0c in Mixer_Backend::readSetFromHW (this=0x221dc60) at ../../kmix/backends/mixer_backend.cpp:155
#12 0x00007fc09b488df5 in sink_cb (c=<optimized out>, i=<optimized out>, eol=<optimized out>) at ../../kmix/backends/mixer_pulse.cpp:191