Bug 288983 - Kmix hangs and eats 99% cpu when adjusting volume
Summary: Kmix hangs and eats 99% cpu when adjusting volume
Status: CLOSED DUPLICATE of bug 288675
Alias: None
Product: kmix
Classification: Applications
Component: On-Screen-Display (OSD) (show other bugs)
Version: 1
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Christian Esken
Depends on:
Reported: 2011-12-14 17:06 UTC by Tommi Tervo
Modified: 2012-10-08 22:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Note You need to log in before you can comment on or make changes to this bug.
Description Tommi Tervo 2011-12-14 17:06:12 UTC
Version:           0.9 (using Devel) 
OS:                Linux

Multimedia keys worked fine with KDE 4.7.2/3 but now with 4.7.90 (beta2) kmix starts to consume a lot of CPU and ODS slider hangs on the screen:

(gdb) bt
#0  0xb65ec17e in QCoreApplication::removePostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#1  0xb65ec5a3 in QCoreApplication::removePostedEvents(QObject*) () from /usr/lib/libQtCore.so.4
#2  0xb5b0b4fc in QWidget::~QWidget() () from /usr/lib/libQtGui.so.4
#3  0xb5f2cddf in QFrame::~QFrame() () from /usr/lib/libQtGui.so.4
#4  0xb5f31290 in QLabel::~QLabel() () from /usr/lib/libQtGui.so.4
#5  0xb768faf3 in MDWSlider::createWidgets (this=0x85469c0, showMuteButton=true, showCaptureLED=true) at /usr/src/debug/kdemultimedia-4.7.90/kmix/gui/mdwslider.cpp:302
#6  0xb7690b6a in MDWSlider::MDWSlider (this=0x85469c0, md=0x81fada8, showMuteLED=true, showCaptureLED=true, small=false, orientation=Qt::Vertical, parent=0x825d580, view=0x825d580, par_ctl=0x8222e40) at /usr/src/debug/kdemultimedia-4.7.90/kmix/gui/mdwslider.cpp:78
#7  0xb7689eb2 in ViewSliders::add (this=0x825d580, md=0x81fada8) at /usr/src/debug/kdemultimedia-4.7.90/kmix/gui/viewsliders.cpp:133
#8  0xb7687547 in ViewBase::createDeviceWidgets (this=0x825d580) at /usr/src/debug/kdemultimedia-4.7.90/kmix/gui/viewbase.cpp:125
#9  0xb768733f in controlsReconfigured (mixer_ID=..., this=0x825d580) at /usr/src/debug/kdemultimedia-4.7.90/kmix/gui/viewbase.cpp:223
#10 ViewBase::controlsReconfigured (this=0x825d580, mixer_ID=...) at /usr/src/debug/kdemultimedia-4.7.90/kmix/gui/viewbase.cpp:215
#11 0xb7686062 in qt_static_metacall (_a=0xbfd2ee58, _id=3, _o=0x825d580, _c=<optimized out>) at /usr/src/debug/kdemultimedia-4.7.90/build/kmix/viewbase.moc:66
#12 ViewBase::qt_static_metacall (_o=0x825d580, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfd2ee58) at /usr/src/debug/kdemultimedia-4.7.90/build/kmix/viewbase.moc:57
#13 0xb65fe64f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#14 0xb76a8f55 in Mixer::controlsReconfigured (this=0x821bba8, _t1=...) at /usr/src/debug/kdemultimedia-4.7.90/build/kmix/mixer.moc:124
#15 0xb65fe64f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#16 0xb765f005 in Mixer_Backend::controlsReconfigured (this=0x8226850, _t1=...) at /usr/src/debug/kdemultimedia-4.7.90/build/kmix/mixer_backend.moc:114
#17 0xb65f9b81 in QMetaCallEvent::placeMetaCall(QObject*) () from /usr/lib/libQtCore.so.4
#18 0xb6602cdb in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#19 0xb5ab7154 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#20 0xb5abc563 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#21 0xb7138171 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#22 0xb65e7dfe in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#23 0xb65eba78 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#24 0xb65ebdac in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#25 0xb661a6a4 in ?? () from /usr/lib/libQtCore.so.4
#26 0xb2e7fe2f in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#27 0xb2e80560 in ?? () from /usr/lib/libglib-2.0.so.0
#28 0xb2e807fa in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#29 0xb661aa97 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#30 0xb5b6ad6a in ?? () from /usr/lib/libQtGui.so.4
#31 0xb65e696d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#32 0xb65e6c09 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#33 0xb65ebe5a in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#34 0xb5ab4fc4 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#35 0xb767794b in kdemain (argc=1, argv=0xbfd2f914) at /usr/src/debug/kdemultimedia-4.7.90/kmix/apps/main.cpp:75
#36 0x0804852b in main (argc=1, argv=0xbfd2f914) at /usr/src/debug/kdemultimedia-4.7.90/build/kmix/kmix_dummy.cpp:3

Reproducible: Always

Steps to Reproduce:
I was watching plasma active video with mplayer and tried to change volume level.

Expected Results:  
No hangs

OS: Linux (i686) release 3.1.0-1.2-default
Compiler: gcc
Comment 1 Francesco Riosa 2011-12-18 19:40:59 UTC
see also bug 288619
Comment 2 Tommi Tervo 2011-12-23 17:24:16 UTC

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