[Bug 963895] Re: kmix is crashing after multiple volume changes

Bug Watch Updater 963895 at bugs.launchpad.net
Tue May 15 04:21:07 UTC 2012


Launchpad has imported 183 comments from the remote bug at
https://bugs.kde.org/show_bug.cgi?id=290742.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2012-01-05T21:07:54+00:00 Dj2u wrote:

Application: kmix (4)
KDE Platform Version: 4.7.95 (4.8 RC1 (4.7.95)
Qt Version: 4.7.4
Operating System: Linux 3.2.0-desktop-0.rc7.2.mga2 i686
Distribution: "Mageia Cauldron"

-- Information about the crash:
kmix crashed (segfault) upon changing volume a few times, this is reproducable by changing volume up and down impatiently about a dozen times.

distribution is mageia cauldron, bug is filed:
https://bugs.mageia.org/show_bug.cgi?id=3909

The crash can be reproduced every time.

-- Backtrace:
Application: KMix (kdeinit4), signal: Segmentation fault
Using host libthread_db library "/lib/i686/libthread_db.so.1".
[Current thread is 1 (Thread 0xb54406d0 (LWP 4080))]

Thread 2 (Thread 0xa7563b70 (LWP 4187)):
#0  0xb5abbb40 in clock_gettime () from /lib/i686/librt.so.1
#1  0xb6d0b8d5 in ?? () from /usr/lib/libQtCore.so.4
#2  0xb6ddded6 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb6dde23a in ?? () from /usr/lib/libQtCore.so.4
#4  0xb6ddcad3 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb6ddcb6d in ?? () from /usr/lib/libQtCore.so.4
#6  0xb5a07c9a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0xb5a084bf in ?? () from /lib/libglib-2.0.so.0
#8  0xb5a08711 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0xb6ddd567 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0xb6dae17d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0xb6dae3c1 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#12 0xb6cb13eb in QThread::exec() () from /usr/lib/libQtCore.so.4
#13 0xb6d8ed7d in ?? () from /usr/lib/libQtCore.so.4
#14 0xb6cb42a3 in ?? () from /usr/lib/libQtCore.so.4
#15 0xb6c3ea37 in start_thread () from /lib/i686/libpthread.so.0
#16 0xb601198e in clone () from /lib/i686/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb54406d0 (LWP 4080)):
[KCrash Handler]
#7  volrange (vol=19538, this=0x0) at /usr/src/debug/kdemultimedia-4.7.95/kmix/core/volume.cpp:217
#8  Volume::setAllVolumes (this=0x0, vol=19538) at /usr/src/debug/kdemultimedia-4.7.95/kmix/core/volume.cpp:113
#9  0xb1892399 in volumeChangeInternal (ref_sliders=..., vol=..., this=<optimized out>) at /usr/src/debug/kdemultimedia-4.7.95/kmix/gui/mdwslider.cpp:872
#10 MDWSlider::volumeChangeInternal (this=0x8aa11d8, vol=..., ref_sliders=...) at /usr/src/debug/kdemultimedia-4.7.95/kmix/gui/mdwslider.cpp:867
#11 0xb18923ef in MDWSlider::volumeChange (this=0x8aa11d8) at /usr/src/debug/kdemultimedia-4.7.95/kmix/gui/mdwslider.cpp:862
#12 0xb18953d9 in MDWSlider::qt_metacall (this=0x8aa11d8, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0xbfeff828) at /usr/src/debug/kdemultimedia-4.7.95/build/kmix/mdwslider.moc:121
#13 0xb6db550d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#14 0xb6dc4420 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#15 0xb69e7645 in QAbstractSlider::valueChanged(int) () from /usr/lib/libQtGui.so.4
#16 0xb66e891b in QAbstractSlider::setValue(int) () from /usr/lib/libQtGui.so.4
#17 0xb66e8c10 in QAbstractSlider::triggerAction(QAbstractSlider::SliderAction) () from /usr/lib/libQtGui.so.4
#18 0xb678e934 in QSlider::mousePressEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#19 0xb632bdb3 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#20 0xb66e9473 in QAbstractSlider::event(QEvent*) () from /usr/lib/libQtGui.so.4
#21 0xb678e4b0 in QSlider::event(QEvent*) () from /usr/lib/libQtGui.so.4
#22 0xb62d19f4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#23 0xb62d780b in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#24 0xb7400b31 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#25 0xb6daf15e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#26 0xb62d29b0 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#27 0xb635ca9a in ?? () from /usr/lib/libQtGui.so.4
#28 0xb635af3e in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#29 0xb6385ccc in ?? () from /usr/lib/libQtGui.so.4
#30 0xb5a0822a in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#31 0xb5a08635 in ?? () from /lib/libglib-2.0.so.0
#32 0xb5a08711 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#33 0xb6ddd507 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#34 0xb63858ca in ?? () from /usr/lib/libQtGui.so.4
#35 0xb6dae17d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#36 0xb6dae3c1 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#37 0xb6db2b1a in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#38 0xb62cf874 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#39 0xb187b34b in kdemain (argc=3, argv=0x881dea8) at /usr/src/debug/kdemultimedia-4.7.95/kmix/apps/main.cpp:76
#40 0x0804f8d2 in _start ()

Reported using DrKonqi

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/0

------------------------------------------------------------------------
On 2012-01-06T08:47:30+00:00 Timothee-romain-ravier wrote:

I'm affected by this one too

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/1

------------------------------------------------------------------------
On 2012-01-06T19:59:01+00:00 Dj2u wrote:

Created attachment 67523
New crash information added by DrKonqi

kmix (4) on KDE Platform 4.7.97 (4.8 RC2 (4.7.97) using Qt 4.7.4

this is now a backtrace with the latest version
(kdemultimedia4-4.7.97-1.mga2)

-- Backtrace (Reduced):
#7  operator!= (value=1, this=0x34) at /usr/include/QtCore/qbasicatomic.h:75
[...]
#9  begin (this=0xa00ce84) at /usr/include/QtCore/qmap.h:369
#10 Volume::setAllVolumes (this=0xa00ce80, vol=36576) at /usr/src/debug/kdemultimedia-4.7.97/kmix/core/volume.cpp:113
#11 0xb19493df in MDWSlider::volumeChangeInternal (this=0x9f07098, vol=..., ref_sliders=...) at /usr/src/debug/kdemultimedia-4.7.97/kmix/gui/mdwslider.cpp:868
#12 0xb194942f in MDWSlider::volumeChange (this=0x9f07098) at /usr/src/debug/kdemultimedia-4.7.97/kmix/gui/mdwslider.cpp:854

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/2

------------------------------------------------------------------------
On 2012-01-07T10:35:09+00:00 M-wege wrote:

Created attachment 67536
New crash information added by DrKonqi

kmix (4) on KDE Platform 4.7.97 (4.8 RC2 (4.7.97) using Qt 4.7.4

- What I was doing when the application crashed: Still present in 4.8
RC2. Hope this gets fixed until the release.

-- Backtrace (Reduced):
#6  0x00007f72247fa19c in MDWSlider::volumeChange (this=<optimized out>) at ../../kmix/gui/mdwslider.cpp:854
#7  0x00007f72247fc747 in MDWSlider::qt_metacall (this=0x19be430, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0x7fff9029b140) at ./mdwslider.moc:121
[...]
#9  0x000000345766da4e in QAbstractSlider::valueChanged (this=<optimized out>, _t1=6553) at .moc/release-shared/moc_qabstractslider.cpp:182
#10 0x0000003457448503 in QSlider::mousePressEvent (this=0x19bec00, ev=0x7fff9029b8a0) at widgets/qslider.cpp:480
#11 0x000000345704cf79 in QWidget::event (this=0x19bec00, event=0x7fff9029b8a0) at kernel/qwidget.cpp:8291

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/3

------------------------------------------------------------------------
On 2012-01-24T18:17:27+00:00 Christian Esken wrote:

Unfortunately I cannot reproduce this.
How did you change the volume? Via KMix main window, Keyboard shortcuts, tray, Tray popup, DBUS, or a different application? Or can you reproduce the crash with different methods?

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/4

------------------------------------------------------------------------
On 2012-01-24T18:19:21+00:00 Christian Esken wrote:

(In reply to comment #4)
> Unfortunately I cannot reproduce this.
> How did you change the volume? Via KMix main window, Keyboard shortcuts, tray,
> Tray popup, DBUS, or a different application? Or can you reproduce the crash
> with different methods?

Additional info: This might be duplicate of Bug 290288

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/5

------------------------------------------------------------------------
On 2012-01-25T11:09:11+00:00 Timothee-romain-ravier wrote:

Well, I can't reproduce it anymore. KMix doesn't crash anymore for me.

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/6

------------------------------------------------------------------------
On 2012-02-10T14:31:45+00:00 adaptee wrote:

*** Bug 291418 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/7

------------------------------------------------------------------------
On 2012-02-24T14:57:24+00:00 Dj2u wrote:

sorry for my late reply,

several ways of changing the volume triggered the crash, the most
effective way was however to click with the mouse around the slider
after clicking the speaker symbol in the panel.

it seems this problem is fixed by now, I will confirm as soon as I can.

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/8

------------------------------------------------------------------------
On 2012-02-24T15:22:40+00:00 Dj2u wrote:

I just was about to write I cant reproduce it anymore and tried it one
final time:

package under test is: kdemultimedia4-4.8.0-1.mga2.src.rpm

how I reproduced the crash:

1. clicked on loudspeaker symbol in lower right on panel
2. clicked several times above and below the current volume of the device
3. repeated above step with the volume of the playing stream
4. segfault occurs

I will add a screenshot as soon as I rebooted


Application: KMix (kdeinit4), signal: Segmentation fault
Using host libthread_db library "/lib/i686/libthread_db.so.1".
[Current thread is 1 (Thread 0xb53fd6e0 (LWP 3983))]

Thread 2 (Thread 0xa7592b70 (LWP 4034)):
#0  0xb6e39277 in ?? () from /usr/lib/libQtCore.so.4
#1  0xb59e42ea in g_main_context_prepare () from /lib/libglib-2.0.so.0
#2  0xb59e4b0f in ?? () from /lib/libglib-2.0.so.0
#3  0xb59e4d61 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0xb6e39af7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0xb6e05ccd in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0xb6e05f69 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0xb6cf06dc in QThread::exec() () from /usr/lib/libQtCore.so.4
#8  0xb6de31dd in ?? () from /usr/lib/libQtCore.so.4
#9  0xb6cf3bc0 in ?? () from /usr/lib/libQtCore.so.4
#10 0xb6c77a37 in start_thread () from /lib/i686/libpthread.so.0
#11 0xb601698e in clone () from /lib/i686/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb53fd6e0 (LWP 3983)):
[KCrash Handler]
#7  0x00000050 in ?? ()
#8  0xb17e5abc in MDWSlider::volumeChange (this=0x93fb200) at /usr/src/debug/kdemultimedia-4.8.0/kmix/gui/mdwslider.cpp:854
#9  0xb17e84b9 in qt_static_metacall (_a=0xbfb20668, _id=14, _o=0x93fb200, _c=<optimized out>) at /usr/src/debug/kdemultimedia-4.8.0/build/kmix/mdwslider.moc:98
#10 MDWSlider::qt_static_metacall (_o=0x93fb200, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0xbfb20668) at /usr/src/debug/kdemultimedia-4.8.0/build/kmix/mdwslider.moc:78
#11 0xb6e1d7af in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#12 0xb6a13c65 in QAbstractSlider::valueChanged(int) () from /usr/lib/libQtGui.so.4
#13 0xb670ab75 in QAbstractSlider::setValue(int) () from /usr/lib/libQtGui.so.4
#14 0xb670ae70 in QAbstractSlider::triggerAction(QAbstractSlider::SliderAction) () from /usr/lib/libQtGui.so.4
#15 0xb67b2844 in QSlider::mousePressEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#16 0xb633904b in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#17 0xb670b6d3 in QAbstractSlider::event(QEvent*) () from /usr/lib/libQtGui.so.4
#18 0xb67b23c0 in QSlider::event(QEvent*) () from /usr/lib/libQtGui.so.4
#19 0xb62deb04 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#20 0xb62e493c in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#21 0xb7480741 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#22 0xb6e0715e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#23 0xb62dfac0 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#24 0xb63690ba in ?? () from /usr/lib/libQtGui.so.4
#25 0xb636754e in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#26 0xb63926ac in ?? () from /usr/lib/libQtGui.so.4
#27 0xb59e487a in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#28 0xb59e4c85 in ?? () from /lib/libglib-2.0.so.0
#29 0xb59e4d61 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#30 0xb6e39a97 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#31 0xb63922aa in ?? () from /usr/lib/libQtGui.so.4
#32 0xb6e05ccd in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#33 0xb6e05f69 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#34 0xb6e0b16a in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#35 0xb62dc974 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#36 0xb17ce8bb in kdemain (argc=3, argv=0x90f4db0) at /usr/src/debug/kdemultimedia-4.8.0/kmix/apps/main.cpp:76
#37 0x0804f944 in _start ()

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/9

------------------------------------------------------------------------
On 2012-02-24T15:32:22+00:00 Dj2u wrote:

Created attachment 69062
screenshot of the two sliders i need to click to trigger

as described in my previous comment

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/10

------------------------------------------------------------------------
On 2012-02-24T15:59:16+00:00 Dj2u wrote:

Created attachment 69064
New crash information added by DrKonqi

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

finally a proper and complete backtrace with Qt and KDElibs debug
symbols

-- Backtrace (Reduced):
#8  0xb180eabc in MDWSlider::volumeChange (this=0x8855258) at /usr/src/debug/kdemultimedia-4.8.0/kmix/gui/mdwslider.cpp:854
#9  0xb18114b9 in qt_static_metacall (_a=0xbfaea9d8, _id=14, _o=0x8855258, _c=<optimized out>) at /usr/src/debug/kdemultimedia-4.8.0/build/kmix/mdwslider.moc:98
#10 MDWSlider::qt_static_metacall (_o=0x8855258, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0xbfaea9d8) at /usr/src/debug/kdemultimedia-4.8.0/build/kmix/mdwslider.moc:78
[...]
#12 0xb6a3cc65 in QAbstractSlider::valueChanged (this=0x8857308, _t1=32143) at .moc/release-shared/moc_qabstractslider.cpp:196
#13 0xb6733b75 in QAbstractSlider::setValue (this=0x8857308, value=32143) at widgets/qabstractslider.cpp:543

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/11

------------------------------------------------------------------------
On 2012-02-25T15:35:17+00:00 Dj2u wrote:

Created attachment 69090
kmix applet after logout and relogin

once i logout from kde4 and re-login (same user) the kmix popup looks different (no second slider)
in this case i so far couldnt provoke the crash

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/12

------------------------------------------------------------------------
On 2012-03-07T21:47:18+00:00 Dj2u wrote:

@Christian

what kind of further info is needed? 
please let me know what I can do to trace this bug.

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/13

------------------------------------------------------------------------
On 2012-03-12T18:21:27+00:00 Dj2u wrote:

the crash happens now right after the kde desktop is loaded (every time)
next time i will capture a backtrace and attach here

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/14

------------------------------------------------------------------------
On 2012-03-12T20:45:06+00:00 Christian Esken wrote:

Current findings:
The crash happens in kdemultimedia-4.8.0/kmix/gui/mdwslider.cpp:854, which is:
if (m_slidersPlayback.count() > 0) 		volumeChangeInternal(m_mixdevice->playbackVolume(), m_slidersPlayback);

The problem cannot be m_slidersPlayback, as it is owned by MdwSlider
itself. What remains is m_mixdevice. So my guess is that m_mixdevice
points to something invalid. it is quite likely a disappearing audio
stream. This could easily happen during loginm, when a "welcome sound"
is played.

My  current theory goes like this:
1) Stream plays
2) Somewhere a volume change is coming in (you might consider to disable KMix's own volume restore)
3) Stream ends => m_mixdevice gets discarded
4) The volume change is propagated to the volumeChange() method, which accesses a dead pointer in line 854.

Possible solutions: See next comment

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/15

------------------------------------------------------------------------
On 2012-03-12T20:53:40+00:00 Christian Esken wrote:

Even though KMix is single-threaded (apart from the Qt internal
Threads), we got now a near multi-threaded nature due to asynchronous
delivery. KMix is not build for such and must deal with this. This is a
major effort, and will require quite some time.

What is needed is proper Object management, which means techniques like
object pools, shared pointers, reference counting and proper
synchronizing. I will quite likely do this, beginning with MixDevice, as
this is the one that is relevant here. But we will also need it for
Mixer.

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/16

------------------------------------------------------------------------
On 2012-03-13T00:21:21+00:00 Christian Esken wrote:

SVN commit 1285261 by esken:

ControlPool class. Provides better concurrency handling, required for
asynchronous Backends (Pulseaudio, MPRIS2).

 AM            ControlPool.cpp   [License: LGPL (v2+)]
 AM            ControlPool.h   [License: LGPL (v2+)]


WebSVN link: http://websvn.kde.org/?view=rev&revision=1285261

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/17

------------------------------------------------------------------------
On 2012-03-14T00:28:47+00:00 Christian Esken wrote:

Actually this is becoming a more than major task. I already have
modified 26 files (uncommited, as it has not even reached Alpha
Quality). The required changes are so huge that I don't see how this
could ever fit into a KDE4.8.x bug fix release. Unfortunately it is way
to dangerous in my opinion.

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/18

------------------------------------------------------------------------
On 2012-03-14T21:45:00+00:00 Dj2u wrote:

i understand your concerns, but for sure as it is, it's not in a usable
state at all...

interestingly it seems to be more stable after a restart (either from dr
konqi or manually)

also somehow the applet is garbled please compared the new screenshot
with my previous ones (no changes in settings, in the main windows im
always using vertical sliders)

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/19

------------------------------------------------------------------------
On 2012-03-14T21:46:16+00:00 Dj2u wrote:

Created attachment 69624
messed up layout of applet after one of the latest updates

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/20

------------------------------------------------------------------------
On 2012-03-14T22:51:05+00:00 Dj2u wrote:

@christian

I just wanted to let you know there seems to be one problem with pulse
audio as pointed out by colin
(https://bugs.mageia.org/show_bug.cgi?id=3909#c21) since i removed the
tick mark all symptoms are gone (obviousely not the things you have
identified and are working on) so I guess with a little warning or work-
around we can safe ourselves over to 4.9

thanks for your efforts, im looking forward to see and test your
improvements

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/21

------------------------------------------------------------------------
On 2012-03-14T23:40:51+00:00 Christian Esken wrote:

I noticed the Layout issue as well. It was out of my control. Someone patched KMix so orientation in the Tray follows the configured orientation. This is a good thing.
I had documented years ago in the source code something like "This is good enough. We always have only one Control in the Tray". Which is - well - nowadays not true any longer.

About whether to add my refactoring to 4.8, we'll see. Its really really
hardcore changes - about every part of KMix is affected (Window, Volume
restorer, also all non-GUI-Parts, DBUS, Tray, ...). I am happy that I
now have a version that only shows some strange strings and crashes only
at quit.

I tried to reproduce the crashes wildly changing volume controls, but -
no way. Neither with Pulseaudio backend, ALSA, MPRIS2, mixed backends.

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/22

------------------------------------------------------------------------
On 2012-03-15T23:19:01+00:00 Dj2u wrote:

it sounds like you are seeing good progress :-)
keep the spirit up!

I'm happy disabling this PA feature as it does fix the problem for me
90%, but I'm definitely looking forward to your all new improved
version!

thanks for your efforts

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/23

------------------------------------------------------------------------
On 2012-03-21T21:27:58+00:00 Christian Esken wrote:

I decided to put the change in trunk first. If the issue is so pressing
that we need an updated 4.8 version, then I will copy KMix trunk to
branch 4.8. Commiting to trunk in a couple of seconds.

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/24

------------------------------------------------------------------------
On 2012-03-21T21:30:36+00:00 Christian Esken wrote:

SVN commit 1286620 by esken:

Stabilizing KMix for asynchronous backends (Pulseaudio, MPRIS2), by
using shared pointer constructs, Part 1 (MixDevice class).

 M  +3 -0      CMakeLists.txt  
 M  +20 -13    apps/kmix.cpp  
 M  +5 -5      apps/kmixd.cpp  
 M  +2 -2      backends/mixer_alsa.h  
 M  +9 -9      backends/mixer_alsa9.cpp  
 M  +24 -17    backends/mixer_backend.cpp  
 M  +4 -4      backends/mixer_backend.h  
 M  +13 -16    backends/mixer_mpris2.cpp  
 M  +2 -2      backends/mixer_mpris2.h  
 M  +5 -6      backends/mixer_oss.cpp  
 M  +2 -2      backends/mixer_oss.h  
 M  +7 -7      backends/mixer_oss4.cpp  
 M  +2 -2      backends/mixer_oss4.h  
 M  +13 -10    backends/mixer_pulse.cpp  
 M  +2 -2      backends/mixer_pulse.h  
 M  +3 -3      backends/mixer_sun.cpp  
 M  +2 -2      backends/mixer_sun.h  
 AM            core/ControlPool.cpp   [License: LGPL (v2+)]
 AM            core/ControlPool.h   [License: LGPL (v2+)]
 M  +5 -0      core/MasterControl.h  
 M  +18 -1     core/mixdevice.cpp  
 M  +12 -1     core/mixdevice.h  
 M  +17 -16    core/mixdevicecomposite.cpp  
 M  +2 -2      core/mixdevicecomposite.h  
 M  +59 -43    core/mixer.cpp  
 M  +7 -7      core/mixer.h  
 M  +2 -2      core/mixertoolbox.cpp  
 M  +11 -10    core/mixset.cpp  
 M  +2 -2      core/mixset.h  
 M  +1 -1      core/version.h  
 M  +4 -2      dbus/dbuscontrolwrapper.cpp  
 M  +2 -2      dbus/dbuscontrolwrapper.h  
 M  +2 -2      dbus/dbusmixerwrapper.cpp  
 M  +1 -1      dbus/dbusmixsetwrapper.cpp  
 M  +6 -4      gui/dialogselectmaster.cpp  
 M  +1 -1      gui/dialogviewconfiguration.cpp  
 M  +15 -12    gui/kmixdockwidget.cpp  
 M  +1 -1      gui/mdwenum.cpp  
 M  +1 -1      gui/mdwenum.h  
 M  +1 -1      gui/mdwmoveaction.cpp  
 M  +3 -3      gui/mdwmoveaction.h  
 M  +3 -3      gui/mdwslider.cpp  
 M  +1 -1      gui/mdwslider.h  
 M  +1 -1      gui/mixdevicewidget.cpp  
 M  +4 -3      gui/mixdevicewidget.h  
 M  +4 -4      gui/viewbase.cpp  
 M  +2 -1      gui/viewbase.h  
 M  +4 -6      gui/viewdockareapopup.cpp  
 M  +2 -2      gui/viewdockareapopup.h  
 M  +3 -3      gui/viewsliders.cpp  
 M  +2 -2      gui/viewsliders.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1286620

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/25

------------------------------------------------------------------------
On 2012-03-21T23:09:22+00:00 Christian Esken wrote:

SVN commit 1286624 by esken:

More MixDevice reference cleanups, and fix some minor memory leaks.

 M  +2 -0      backends/mixer_alsa.h  
 M  +10 -2     backends/mixer_alsa9.cpp  
 M  +2 -0      backends/mixer_backend.cpp  
 M  +1 -2      backends/mixer_mpris2.cpp  
 M  +7 -4      core/mixdevice.cpp  
 M  +3 -0      core/mixdevice.h  
 M  +1 -1      core/mixer.cpp  
 M  +1 -1      core/mixer.h  
 M  +4 -0      core/mixset.cpp  
 M  +2 -0      core/mixset.h  
 M  +6 -20     gui/viewbase.cpp  
 M  +3 -2      gui/viewbase.h  
 M  +2 -2      gui/viewdockareapopup.cpp  
 M  +1 -1      gui/viewdockareapopup.h  
 M  +10 -8     gui/viewsliders.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1286624

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/26

------------------------------------------------------------------------
On 2012-03-24T21:21:35+00:00 Ym8-colin-nbv wrote:

*** Bug 296349 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/28

------------------------------------------------------------------------
On 2012-03-27T16:21:15+00:00 adaptee wrote:

*** Bug 292837 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/29

------------------------------------------------------------------------
On 2012-03-27T16:27:07+00:00 adaptee wrote:

*** Bug 290197 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/30

------------------------------------------------------------------------
On 2012-03-27T20:01:50+00:00 Christian Esken wrote:

Testers needed for Trunk version of KMix. This is a good time to test if you can easily reproduce the crash (I am not able to do so at all, as it never crashes for me, independent on the chosen Backend).
The complete change to MixDevice is commited to trunk. There is more to do (especially for hotplug/unplug of complete cards), but this change is the most important one. If at all, I am expecting memory leaks but hopefully this should bring a lot of stability.

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/31

------------------------------------------------------------------------
On 2012-03-27T21:49:06+00:00 Christian Esken wrote:

*** Bug 290248 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/32

------------------------------------------------------------------------
On 2012-03-27T21:50:15+00:00 Christian Esken wrote:

*** Bug 295109 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/33

------------------------------------------------------------------------
On 2012-03-27T21:51:06+00:00 Christian Esken wrote:

*** Bug 288441 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/34

------------------------------------------------------------------------
On 2012-03-27T21:53:14+00:00 Christian Esken wrote:

*** Bug 295547 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/35

------------------------------------------------------------------------
On 2012-03-28T15:28:52+00:00 Eric Erfanian wrote:

I checked out, built, and installed the trunk version of Kmix today. I
tried plugging/unplugging my USB audio card, changing the volume rapidly
on the external and internal card, changing songs -- I cannot get the
software to crash! Everything is working great here.

Please let me know if you would like me to test anything specifically.

Kubuntu 11.10 Backports with KDE 4.8.1 (excluding the kdemultimedia I
just built and installed from source.) 64bit.

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/36

------------------------------------------------------------------------
On 2012-03-30T01:47:56+00:00 Ar2el wrote:

Created attachment 70007
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:

Changing the volume and the bright simultaneously.  I don't think bright
change is related, I mention it just in case.

The crash can be reproduced changing the volume quickly a few times, say
10 times.

-- Backtrace (Reduced):
#8  0xb7710f78 in MDWSlider::update (this=0x8377ba8) at ../../kmix/gui/mdwslider.cpp:1001
#9  0xb770bc23 in ViewDockAreaPopup::refreshVolumeLevels (this=0x8377440) at ../../kmix/gui/viewdockareapopup.cpp:168
#10 0xb7708913 in qt_static_metacall (_a=0xbfc10750, _id=3, _o=0x8377440, _c=<optimized out>) at ./viewbase.moc:64
#11 ViewBase::qt_static_metacall (_o=0x8377440, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfc10750) at ./viewbase.moc:55
[...]
#13 0xb772bc75 in Mixer::controlChanged (this=0x82e7628) at ./mixer.moc:117

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/37

------------------------------------------------------------------------
On 2012-03-30T08:04:32+00:00 Vilhjalmur Magnusson wrote:

Created attachment 70010
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:
Changing between HDMI Audio and Internal Audio in System Settings and changing volume in KMix multiple times.

- Unusual behavior I noticed:
Yes, it's unusual that it crashes in general since both Linux and KDE is something that has been around for years.

- Custom settings of the application:
Running two virtual desktops with different widget sets in KDE.

-- Backtrace (Reduced):
#6  0x000000366787bea0 in typeinfo for QGesture () from /usr/lib64/libQtGui.so.4
#7  0x000000366aa55076 in MDWSlider::update (this=0x1b25590) at /usr/src/debug/kdemultimedia-4.8.1/kmix/gui/mdwslider.cpp:1001
#8  0x000000366aa515db in ViewDockAreaPopup::refreshVolumeLevels (this=<optimized out>) at /usr/src/debug/kdemultimedia-4.8.1/kmix/gui/viewdockareapopup.cpp:168
[...]
#11 0x000000366aa2aa7c in Mixer_Backend::readSetFromHW (this=0x1a25a30) at /usr/src/debug/kdemultimedia-4.8.1/kmix/backends/mixer_backend.cpp:155
#12 0x000000366aa3adf5 in sink_cb (c=<optimized out>, i=<optimized out>, eol=<optimized out>) at /usr/src/debug/kdemultimedia-4.8.1/kmix/backends/mixer_pulse.cpp:191

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/38

------------------------------------------------------------------------
On 2012-03-30T22:33:47+00:00 I4-sergio-md wrote:

Created attachment 70030
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:
Always happen when I am starting up kde 4.8.1 from  latest updates on Fedora 16

-- Backtrace (Reduced):
#6  0x0000003e68a7bea0 in typeinfo for QGesture () from /usr/lib64/libQtGui.so.4
#7  0x0000003e6a055076 in MDWSlider::update (this=0x1d6daf0) at /usr/src/debug/kdemultimedia-4.8.1/kmix/gui/mdwslider.cpp:1001
#8  0x0000003e6a0515db in ViewDockAreaPopup::refreshVolumeLevels (this=<optimized out>) at /usr/src/debug/kdemultimedia-4.8.1/kmix/gui/viewdockareapopup.cpp:168
[...]
#11 0x0000003e6a02aa7c in Mixer_Backend::readSetFromHW (this=0x1cd0860) at /usr/src/debug/kdemultimedia-4.8.1/kmix/backends/mixer_backend.cpp:155
#12 0x0000003e6a03adf5 in sink_cb (c=<optimized out>, i=<optimized out>, eol=<optimized out>) at /usr/src/debug/kdemultimedia-4.8.1/kmix/backends/mixer_pulse.cpp:191

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/39

------------------------------------------------------------------------
On 2012-04-01T10:35:31+00:00 Christian Esken wrote:

@eric.erfanian : Thanks for your test. It is good to hear that there seem to be no regressions.
What I actuylly need is simply a test from somebody who has frequent crashes before may change. Did it crash frequently for your before?

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/40

------------------------------------------------------------------------
On 2012-04-01T10:39:45+00:00 Christian Esken wrote:

Correcting my typos, as they are misleading:
> What I actuylly need is simply a test from somebody who has frequent crashes
> before may change. Did it crash frequently for your before?

What I actually need is simply a test from somebody who has frequent crashes
before my change. Did it crash frequently for your before?

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/41

------------------------------------------------------------------------
On 2012-04-01T12:00:50+00:00 Vilhjalmur Magnusson wrote:

My desktop and applications always crash after a big update.

On Sun, Apr 1, 2012 at 10:39 AM, Christian Esken <esken at kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=290742
>
> --- Comment #40 from Christian Esken <esken at kde.org> ---
> Correcting my typos, as they are misleading:
> > What I actuylly need is simply a test from somebody who has frequent
> crashes
> > before may change. Did it crash frequently for your before?
>
> What I actually need is simply a test from somebody who has frequent
> crashes
> before my change. Did it crash frequently for your before?
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
>

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/42

------------------------------------------------------------------------
On 2012-04-01T12:08:25+00:00 RussianNeuroMancer wrote:

> What I actually need is simply a test from somebody who has frequent
crashes before my change. Did it crash frequently for your before?

For me it crash every time after PulseAudio restart: https://bugs.kde.org/show_bug.cgi?id=297155 (I can reproduce it even right now).
But I can't check trunk version at this moment because of some issues with KDM (without working KDM I can't login into Porject Neon http://dot.kde.org/2011/03/11/confkdein-project-neon-returns-bleeding-edge-kde-software ).

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/43

------------------------------------------------------------------------
On 2012-04-01T14:36:48+00:00 Eric Erfanian wrote:

Indeed, Kmix would crash frequently before. Every time I would resume my
computer from sleep (I suspect because my external sound card was added
again as a USB device), plug in or unplug my external USB sound card, or
frequently when I was playing music in VLC or Amarok.

These problems do not happen for me now with the trunk version.
Sometimes when I am playing something in VLC the playback audio doesn't
change to a different output when I remove the external soundcard, but
this happens only rarely.

(In reply to comment #40)
> Correcting my typos, as they are misleading:
> > What I actuylly need is simply a test from somebody who has frequent crashes
> > before may change. Did it crash frequently for your before?
> 
> What I actually need is simply a test from somebody who has frequent crashes
> before my change. Did it crash frequently for your before?

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/44

------------------------------------------------------------------------
On 2012-04-04T21:03:47+00:00 I4-sergio-md wrote:

(In reply to comment #39)
> @eric.erfanian : Thanks for your test. It is good to hear that there seem to
> be no regressions.

hum 
> What I actuylly need is simply a test from somebody who has frequent crashes
> before may change. Did it crash frequently for your before?

No,  I don't remember a single crash before update to kde-4.8.1 . I just do the regular updates on Fedora, so I'd say that was updated from 4.7.8 .
Now always crash on startup , and sometimes with firefox and flash movies

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/46

------------------------------------------------------------------------
On 2012-04-04T21:10:10+00:00 I4-sergio-md wrote:

also reported here : 
https://bugzilla.redhat.com/show_bug.cgi?id=804363

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/47

------------------------------------------------------------------------
On 2012-04-04T21:13:42+00:00 Christian Esken wrote:

*** Bug 297494 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/48

------------------------------------------------------------------------
On 2012-04-04T22:13:16+00:00 Christian Esken wrote:

*** Bug 296937 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/49

------------------------------------------------------------------------
On 2012-04-04T22:13:43+00:00 Christian Esken wrote:

*** Bug 296945 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/50

------------------------------------------------------------------------
On 2012-04-04T22:19:42+00:00 Christian Esken wrote:

*** Bug 297477 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/51

------------------------------------------------------------------------
On 2012-04-04T22:20:26+00:00 Christian Esken wrote:

*** Bug 297448 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/52

------------------------------------------------------------------------
On 2012-04-04T22:30:01+00:00 Christian Esken wrote:

@eric.erfanian : That is awesome news. This means the fix looks
extremely promising. I also fully expected what you see on unplugs (that
it may still crash on unplugs). But I can fix that with the exact same
technique.

@RunetMember : You don't need a full KDE trunk. Just kmix /
kdemultimedia. KMix will even compile against KDE 4.6 libraries.

@Sérgio Basto : It is no wonder that you see the issues in KDE4.8.1.
Because this bug report is about KDE4.8.x versions. We are talking about
"no regressions" in trunk. So no need to "Hum".

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/53

------------------------------------------------------------------------
On 2012-04-04T22:30:23+00:00 Christian Esken wrote:

*** Bug 296962 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/54

------------------------------------------------------------------------
On 2012-04-04T22:31:15+00:00 Christian Esken wrote:

*** Bug 297077 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/55

------------------------------------------------------------------------
On 2012-04-04T22:31:31+00:00 Christian Esken wrote:

*** Bug 296996 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/56

------------------------------------------------------------------------
On 2012-04-05T08:30:44+00:00 Chemobejk wrote:

Fedora 17, KDE 4.8.2 with kdemultimedia/kmix rebuild from git HEAD:

commit 9b4872a60555c6352078e7f11809006999d151d6
Author: Christian Esken <esken at kde.org>
Date:   Wed Mar 21 23:09:15 2012 +0000

    More MixDevice reference cleanups, and fix some minor memory leaks.
    CCBUGS: 290742

Tests:
 - pactl exit
 - pavucontrol: switch internal audio from OFF to Stereo Output
 - pavucontrol: switch internal audio from Stereo Output to OFF
 - suspend-to-ram & resume

All of these were confirmed cases for kmix crashes in 4.8.1/2. Now
everything work fine.

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/57

------------------------------------------------------------------------
On 2012-04-05T16:40:03+00:00 Rdieter-math wrote:

so, any prospects of getting these fixes to land in 4.8 branch too?

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/58

------------------------------------------------------------------------
On 2012-04-05T17:41:43+00:00 Ym8-colin-nbv wrote:

@rex:
git clone git://anongit.kde.org/kmix
git diff --src-prefix=a/kmix/ --dst-prefix=b/kmix/ v4.8.2..master

Nice patch that applies cleanly to kdemultimedia checkout :) (not tested
the build tho'!)

But in all seriousness, Christian did say he would backport it (or
rather that it needs backporting...)

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/59

------------------------------------------------------------------------
On 2012-04-05T18:30:57+00:00 Chemobejk wrote:

@colin: that's the same as fetching kmix master and replacing the 4.8.2
version. That's not what rex wants.

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/60

------------------------------------------------------------------------
On 2012-04-05T19:05:50+00:00 Chemobejk wrote:

I tried:

  $ git branch --no-track pulseaudio-fixes-backport-4.8 origin/KDE/4.8
  $ git checkout pulseaudio-fixes-backport-4.8
  $ git cherry-pick -x 3314a12de7f4d07ab6b1199de35829ce31f0f733
[ $ git cherry-pick -x 9b4872a60555c6352078e7f11809006999d151d6 ]

the first one already got non-trivial merge conflicts:

#       both modified:      backends/mixer_pulse.cpp
#       both added:         core/ControlPool.cpp
#       both added:         core/ControlPool.h
#       both modified:      core/mixdevice.cpp
#       both modified:      dbus/dbuscontrolwrapper.cpp
#       both modified:      dbus/dbuscontrolwrapper.h

which were beyond my knowledge to fix.

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/61

------------------------------------------------------------------------
On 2012-04-06T09:41:16+00:00 Christian Esken wrote:

*** Bug 297574 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/62

------------------------------------------------------------------------
On 2012-04-06T10:32:05+00:00 Christian Esken wrote:

If you look at the size of the required changes (see e.g. Comment 25), I do not see any reliable way to produce a version unless we replace 4.8 branch with the trunk version. And there are more changes ahead, because I only fixed the "Control/MixDevice" usage - and the same has to be done for the "Cards/Mixer/MixerBackend" level, which will make the changes even bigger.
This would require that I can disable new/unstable features from trunk with feature switches.

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/63

------------------------------------------------------------------------
On 2012-04-06T11:58:16+00:00 Christoph-maxiom wrote:

*** Bug 297547 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/64

------------------------------------------------------------------------
On 2012-04-06T11:59:13+00:00 Christoph-maxiom wrote:

*** Bug 297508 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/65

------------------------------------------------------------------------
On 2012-04-08T01:16:52+00:00 mruffalo wrote:

Created attachment 70221
New crash information added by DrKonqi

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

- What I was doing when the application crashed:

Manually advancing Amarok to the next track. kmix also crashed when
stopping a song in Amarok.

-- Backtrace (Reduced):
#7  0x00007f88564cfe26 in MDWSlider::update (this=0x2516a30) at ../../kmix/gui/mdwslider.cpp:1001
#8  0x00007f88564cb64b in ViewDockAreaPopup::refreshVolumeLevels (this=<optimized out>) at ../../kmix/gui/viewdockareapopup.cpp:168
[...]
#11 0x00007f88564a4b0c in Mixer_Backend::readSetFromHW (this=0x24937e0) at ../../kmix/backends/mixer_backend.cpp:155
#12 0x00007f88564b4df5 in sink_cb (c=<optimized out>, i=<optimized out>, eol=<optimized out>) at ../../kmix/backends/mixer_pulse.cpp:191
[...]
#15 0x00007f884c4cda03 in pa_pdispatch_run () from /usr/lib/x86_64-linux-gnu/libpulsecommon-1.1.so

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/66

------------------------------------------------------------------------
On 2012-04-08T10:01:57+00:00 Ym8-colin-nbv wrote:

*** Bug 285017 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/67

------------------------------------------------------------------------
On 2012-04-09T15:26:10+00:00 Christian Esken wrote:

*** Bug 297754 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/68

------------------------------------------------------------------------
On 2012-04-09T15:27:21+00:00 Christian Esken wrote:

*** Bug 297751 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/69

------------------------------------------------------------------------
On 2012-04-10T20:52:11+00:00 Christian Esken wrote:

*** Bug 297834 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/70

------------------------------------------------------------------------
On 2012-04-10T21:04:49+00:00 Christian Esken wrote:

*** Bug 297857 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/71

------------------------------------------------------------------------
On 2012-04-11T14:41:03+00:00 Gian wrote:

I can confirm that it is fixed in current trunk, and I'm able to
reliably reproduce the problem in 4.8.1 using the procedure outlined in
bug #288441.

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/72

------------------------------------------------------------------------
On 2012-04-11T19:20:26+00:00 Brunofr wrote:

Created attachment 70319
New crash information added by DrKonqi

kmix (4) on KDE Platform 4.8.2 (4.8.2) "release 491" using Qt 4.8.1

- What I was doing when the application crashed: Each time I return to home and open kde the previously opened kmix crash.
When I'm outside of my lan, there 2 details which differs : first no full ipv6 connection (but sound absolutely not related) and no usage of external monitor

- Custom settings of the application: 
The external monitor is connected with hdmi <- which create also a new sound device.

So I believe that case should be also included in dev, (was working in
4.7x series) and testing.

Thanks.

-- Backtrace (Reduced):
#7  0x00007f682cedc526 in MDWSlider::update (this=0x9f7a30) at /usr/src/debug/kdemultimedia-4.8.2/kmix/gui/mdwslider.cpp:1001
#8  0x00007f682ced7d4b in ViewDockAreaPopup::refreshVolumeLevels (this=<optimized out>) at /usr/src/debug/kdemultimedia-4.8.2/kmix/gui/viewdockareapopup.cpp:168
[...]
#11 0x00007f682ceb0cbc in Mixer_Backend::readSetFromHW (this=0xb2aaf0) at /usr/src/debug/kdemultimedia-4.8.2/kmix/backends/mixer_backend.cpp:155
#12 0x00007f682cec0fa5 in sink_cb (c=<optimized out>, i=<optimized out>, eol=<optimized out>) at /usr/src/debug/kdemultimedia-4.8.2/kmix/backends/mixer_pulse.cpp:191
#13 0x00007f6831a44694 in context_get_sink_info_callback (pd=<optimized out>, command=<optimized out>, tag=<optimized out>, t=0xac0120, userdata=0xa82b70) at pulse/introspect.c:272

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/73

------------------------------------------------------------------------
On 2012-04-12T15:08:28+00:00 Eric Erfanian wrote:

Created attachment 70345
New crash information added by DrKonqi

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

- What I was doing when the application crashed:

I unplugged my USB audio card and the application crashed. It was stable
before when I pulled from the SVN a week or two ago, but I cloned from
git yesterday, built, and installed, and now it has regressed.

I'm using Kubuntu 12.04 Beta2 with the latest packages (4.8.2)

-- Backtrace (Reduced):
#6  0x00007fdb8f19be23 in MDWSlider::update (this=0x16f2d60) at ../../kmix/gui/mdwslider.cpp:1001
#7  0x00007fdb8f19764b in ViewDockAreaPopup::refreshVolumeLevels (this=<optimized out>) at ../../kmix/gui/viewdockareapopup.cpp:168
[...]
#10 0x00007fdb8f170b0c in Mixer_Backend::readSetFromHW (this=0x144ce60) at ../../kmix/backends/mixer_backend.cpp:155
#11 0x00007fdb8f180df5 in sink_cb (c=<optimized out>, i=<optimized out>, eol=<optimized out>) at ../../kmix/backends/mixer_pulse.cpp:191
[...]
#14 0x00007fdb8519aa03 in pa_pdispatch_run () from /usr/lib/x86_64-linux-gnu/libpulsecommon-1.1.so

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/74

------------------------------------------------------------------------
On 2012-04-13T18:01:03+00:00 Christian Esken wrote:

*** Bug 297884 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/75

------------------------------------------------------------------------
On 2012-04-13T18:01:40+00:00 Christian Esken wrote:

*** Bug 297879 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/76

------------------------------------------------------------------------
On 2012-04-13T18:03:17+00:00 Christian Esken wrote:

*** Bug 289727 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/77

------------------------------------------------------------------------
On 2012-04-14T09:03:50+00:00 Christian Esken wrote:

*** Bug 298082 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/78

------------------------------------------------------------------------
On 2012-04-14T09:04:46+00:00 Christian Esken wrote:

*** Bug 298089 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/79

------------------------------------------------------------------------
On 2012-04-15T21:24:30+00:00 Christian Esken wrote:

*** Bug 298156 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/80

------------------------------------------------------------------------
On 2012-04-15T21:26:51+00:00 Christian Esken wrote:

*** Bug 298116 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/81

------------------------------------------------------------------------
On 2012-04-15T21:27:26+00:00 Christian Esken wrote:

*** Bug 297933 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/82

------------------------------------------------------------------------
On 2012-04-15T21:37:00+00:00 Christian Esken wrote:

*** Bug 298205 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/83

------------------------------------------------------------------------
On 2012-04-15T21:52:24+00:00 I4-sergio-md wrote:

or I find a way to not get an email on every mark as duplicated or for
me is just spam .

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/84

------------------------------------------------------------------------
On 2012-04-16T17:26:38+00:00 Christian Esken wrote:

*** Bug 298230 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/85

------------------------------------------------------------------------
On 2012-04-16T22:09:44+00:00 Christian Esken wrote:

*** Bug 298269 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/86

------------------------------------------------------------------------
On 2012-04-17T17:02:24+00:00 Christian Esken wrote:

*** Bug 298305 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/87

------------------------------------------------------------------------
On 2012-04-17T17:04:50+00:00 Christian Esken wrote:

*** Bug 298279 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/88

------------------------------------------------------------------------
On 2012-04-17T17:06:11+00:00 Christian Esken wrote:

*** Bug 298278 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/89

------------------------------------------------------------------------
On 2012-04-17T17:12:35+00:00 Christian Esken wrote:

*** Bug 298272 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/90

------------------------------------------------------------------------
On 2012-04-17T21:33:42+00:00 Christian Esken wrote:

*** Bug 298324 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/91

------------------------------------------------------------------------
On 2012-04-17T22:02:22+00:00 Dj2u wrote:

it seems the more kde 4.8 gets adopted the more this bug gets
revealed...

maybe a backport of your solution might be worth considering

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/92

------------------------------------------------------------------------
On 2012-04-17T22:18:18+00:00 Christian Esken wrote:

@diego Backport is in progress. IMO it is a must to do this for KDE4.8.3
(tagging in about 1 week).

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/93

------------------------------------------------------------------------
On 2012-04-18T21:18:00+00:00 Christian Esken wrote:

*** Bug 298379 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/94

------------------------------------------------------------------------
On 2012-04-18T21:23:27+00:00 Christian Esken wrote:

*** Bug 298377 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/95

------------------------------------------------------------------------
On 2012-04-20T16:10:56+00:00 Dj2u wrote:

yepp it got a must, especially as the 4.8 series will be in widespread
use for a few years as its right now getting adopted into a few distros!

in any case a great effort by you! thanks christian!

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/96

------------------------------------------------------------------------
On 2012-04-22T22:16:11+00:00 Diego Viola wrote:

Hi,
I have this issue too, I'm on Arch Linux (x86-64), KDE 4.8.2, pulseaudio 1.1.

I can reproduce this issue for example when I'm listening to music with
Amarok, then I unplug my Logitech USB headset, and kmix would instantly
crash with this message: http://pastie.org/3836052

I've also experienced kmix crashes while decreasing/increasing the
volume, etc. Is this bug going to be fixed for the next 4.8.3 release?
Please fix it.

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/97

------------------------------------------------------------------------
On 2012-04-23T18:10:46+00:00 Christian Esken wrote:

*** Bug 298661 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/98

------------------------------------------------------------------------
On 2012-04-23T22:52:56+00:00 Christian Esken wrote:

SVN commit 1291315 by esken:

Fix crash after multiple volume changes
Backport to KDE4.8 branch

 M  +47 -8     CMakeLists.txt  
 M  +0 -20     ConfigureChecks.cmake  
 M  +1 -0      TestCases  
 M  +21 -14    apps/kmix.cpp  
 M  +7 -17     apps/kmixd.cpp  
 M  +1 -18     backends/kmix-backends.cpp  
 M  +4 -2      backends/mixer_alsa.h  
 M  +19 -11    backends/mixer_alsa9.cpp  
 M  +29 -18    backends/mixer_backend.cpp  
 M  +6 -6      backends/mixer_backend.h  
 D             backends/mixer_hpux.cpp  
 D             backends/mixer_hpux.h  
 M  +19 -20    backends/mixer_mpris2.cpp  
 M  +3 -3      backends/mixer_mpris2.h  
 M  +5 -6      backends/mixer_oss.cpp  
 M  +2 -2      backends/mixer_oss.h  
 M  +11 -10    backends/mixer_oss4.cpp  
 M  +3 -3      backends/mixer_oss4.h  
 M  +95 -33    backends/mixer_pulse.cpp  
 M  +4 -4      backends/mixer_pulse.h  
 M  +5 -4      backends/mixer_sun.cpp  
 M  +2 -2      backends/mixer_sun.h  
 M  +0 -39     config.h.cmake  
 M  +5 -0      core/MasterControl.h  
 M  +1 -1      core/kmixdevicemanager.cpp  
 M  +25 -4     core/mixdevice.cpp  
 M  +15 -1     core/mixdevice.h  
 M  +17 -16    core/mixdevicecomposite.cpp  
 M  +2 -2      core/mixdevicecomposite.h  
 M  +66 -50    core/mixer.cpp  
 M  +8 -8      core/mixer.h  
 M  +3 -3      core/mixertoolbox.cpp  
 M  +15 -10    core/mixset.cpp  
 M  +4 -2      core/mixset.h  
 M  +1 -1      core/version.h  
 M  +2 -1      core/volume.cpp  
 M  +20 -31    dbus/dbuscontrolwrapper.cpp  
 M  +5 -3      dbus/dbuscontrolwrapper.h  
 M  +5 -4      dbus/dbusmixerwrapper.cpp  
 M  +4 -4      dbus/dbusmixerwrapper.h  
 M  +4 -3      dbus/dbusmixsetwrapper.cpp  
 M  +4 -4      dbus/dbusmixsetwrapper.h  
 M  +1 -0      dbus/org.kde.kmix.control.xml  
 M  +2 -1      gui/dialogaddview.cpp  
 M  +8 -5      gui/dialogselectmaster.cpp  
 M  +4 -3      gui/dialogviewconfiguration.cpp  
 M  +10 -10    gui/guiprofile.cpp  
 M  +38 -41    gui/kmixdockwidget.cpp  
 M  +2 -2      gui/kmixdockwidget.h  
 M  +8 -55     gui/kmixerwidget.cpp  
 M  +0 -1      gui/kmixerwidget.h  
 M  +3 -4      gui/kmixprefdlg.cpp  
 M  +2 -1      gui/kmixprefdlg.h  
 M  +3 -1      gui/kmixtoolbox.cpp  
 M  +2 -1      gui/ksmallslider.cpp  
 M  +1 -1      gui/mdwenum.cpp  
 M  +1 -1      gui/mdwenum.h  
 M  +1 -1      gui/mdwmoveaction.cpp  
 M  +3 -3      gui/mdwmoveaction.h  
 M  +33 -32    gui/mdwslider.cpp  
 M  +1 -1      gui/mdwslider.h  
 M  +4 -4      gui/mixdevicewidget.cpp  
 M  +4 -3      gui/mixdevicewidget.h  
 M  +8 -22     gui/viewbase.cpp  
 M  +5 -4      gui/viewbase.h  
 M  +8 -10     gui/viewdockareapopup.cpp  
 M  +2 -2      gui/viewdockareapopup.h  
 M  +44 -13    gui/viewsliders.cpp  
 M  +4 -2      gui/viewsliders.h  
 M  +1 -0      kmix.desktop  
 M  +1 -0      kmix_autostart.desktop  
 M  +1 -0      kmixd.desktop  
 M  +5 -0      plasma/engine/mixer.operations  
 M  +45 -26    plasma/engine/mixerengine.cpp  
 M  +3 -2      plasma/engine/mixerengine.h  
 M  +5 -1      plasma/engine/mixerservice.cpp  
 M  +2 -2      tests/CMakeLists.txt  
 M  +2 -2      tests/dialogtest.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1291315

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/99

------------------------------------------------------------------------
On 2012-04-23T22:55:52+00:00 Diego Viola wrote:

cool, so is this going to be fixed for 4.8.3?

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/100

------------------------------------------------------------------------
On 2012-04-24T21:04:45+00:00 Christian Esken wrote:

Fixed in trunk and 4.8 branch (for KDE4.8.3).
Please test as soon as possible. KDE4.8.3 will be tagged in two days. See http://techbase.kde.org/Schedules/KDE4/4.8_Release_Schedule for more.

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/102

------------------------------------------------------------------------
On 2012-04-24T21:17:42+00:00 Christian Esken wrote:

*** Bug 298757 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/103

------------------------------------------------------------------------
On 2012-04-24T21:22:30+00:00 Diego Viola wrote:

Thanks a lot. KDE rocks!

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/104

------------------------------------------------------------------------
On 2012-04-25T18:14:51+00:00 Christian Esken wrote:

*** Bug 298492 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/105

------------------------------------------------------------------------
On 2012-04-25T18:17:20+00:00 Christian Esken wrote:

*** Bug 297515 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/106

------------------------------------------------------------------------
On 2012-04-25T18:19:56+00:00 Christian Esken wrote:

*** Bug 298495 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/107

------------------------------------------------------------------------
On 2012-04-25T18:20:58+00:00 Christian Esken wrote:

*** Bug 298528 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/108

------------------------------------------------------------------------
On 2012-04-25T18:21:26+00:00 Christian Esken wrote:

*** Bug 298696 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/109

------------------------------------------------------------------------
On 2012-04-25T18:38:32+00:00 Klimsamgin wrote:

постоянное падение при переключение на гарнитуру DIABLO stelseries
происходит падение   kmix и вообще в нем     kmix  нет переключателя при
включение USB гарнитуры

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/110

------------------------------------------------------------------------
On 2012-04-25T21:10:29+00:00 Christian Esken wrote:

(In reply to comment #107)
> постоянное падение при переключение на гарнитуру DIABLO stelseries
> происходит падение 	kmix и вообще в нем 	kmix  нет переключателя при
> включение USB гарнитуры

Ignoring this comment, as this bug report system is english only.

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/111

------------------------------------------------------------------------
On 2012-04-25T21:11:42+00:00 Christian Esken wrote:

*** Bug 298388 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/112

------------------------------------------------------------------------
On 2012-04-25T21:12:43+00:00 Christian Esken wrote:

*** Bug 298585 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/113

------------------------------------------------------------------------
On 2012-04-25T21:13:09+00:00 Christian Esken wrote:

*** Bug 298578 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/114

------------------------------------------------------------------------
On 2012-04-26T18:51:58+00:00 Chemobejk wrote:

With rdieter's backport to 4.8.2 of these changes on Fedora 17 the
crashes are gone. Thanks.

There is only one minor problem left: when the default PA device
changes, kmix does not automatically update the Master Channel. E.g.
with my laptop

   * on the road pavucontrol shows two devices, HDMI & Internal Audio, which I have switched to Off, i.e. the dummy device is the default device. When I insert the laptop into the docking station at the office, where an USB headset is connected, then PA switches to the USB Headset as default device, but kmix does not (the system tray icon changes from "loudspeaker" to "unknown document type")
   * vice versa: when I remove the laptop from the docking station, PA switches to the dummy device as default device, but kmix does not.

If I press the right mouse button on the kmix system tray icon and
select "Select Master Channel..." it always shows the correct PA default
device, but it is not selected.

Can somebody reproduce this? Or is this a problem on Fedora 17's
backport, i.e. it will be gone when we go to KDE 4.8.3?

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/116

------------------------------------------------------------------------
On 2012-04-26T18:59:17+00:00 Diego Viola wrote:

I agree with Stefan,

better integration with PulseAudio would be awesome.

I will test the kmix fix for the crash ASAP, and then I will report back
here.

Thanks.

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/117

------------------------------------------------------------------------
On 2012-04-26T19:10:20+00:00 Diego Viola wrote:

Ability for kmix to do most things that pavucontrol does would be
awesome.

Like having kmix "detect" that pulseaudio is present on the system and
then automatically have all pavucontrol features into kmix.

Features of pavucontrol that would be nice to have in kmix:

1- ability to switch off/on profiles (cards) from pavucontrol "Configuration" window.
2- ability to redirect streams to different devices.

Let's just say that it would be nice to do everything pavucontrol can do
with kmix, it would also be nice to be able to have all system
integrated with pavucontrol but still have the system working fine
without pavucontrol, for those that don't like pulseaudio.

It would also be nice to be able to control PA from the CLI and do
everything pavucontrol can do with different applications, CLI, GUI,
whatever.

Perhaps this is off-topic here and it should go to another thread. Sorry
in that case.

I just wanted to give my ideas. I'm very grateful for KDE and Linux,
thanks for everything. :)

KDE rocks.

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/118

------------------------------------------------------------------------
On 2012-04-26T19:13:11+00:00 Diego Viola wrote:

Sorry.

it would also be nice to be able to have all system integrated with
pulseaudio but still have the system working fine without pulseaudio*

s/pavucontrol/pulseaudio/

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/119

------------------------------------------------------------------------
On 2012-04-26T22:11:42+00:00 Ym8-colin-nbv wrote:

@diego: This is exactly how kmix's current PA integration works already!
It will automatically detect PA and if it is not running, it will fall
back to it's alsa mode. If PA is running it offers 90% of the
functionality of pavucontol. You can adjust individual streams and even
move streams from one device to another if you right click on them. You
can control individual channels by splitting the channels. The two
things you cannot do are: 1 change default device and 2. change
profile/port configurations. For 1) I'll discuss that below, for 2) this
is deliberate as such functionality is provided instead in the Audio
Hardware Setup page in System Settings which is a more appropriate place
than the "day to day" mixer IMHO.

While off-topic, there are also not one, but TWO command line utilities
shipped with pulseaudio. One, pactl offers most of the functionality for
day-to-day control (volume changes, device moves etc) and is a standard
PA client. The second, pacmd, is more powerful and raw but is a very
useful debugging tool. it can do more but is not a standard PA client
and cannot be used over the network.

@Stephan: Not changing master when the default device in PA changes is
somewhat deliberate. It's something that is fundamentally at odds with
the category based defaults configurable in System Settings. There is no
such thing as a "default". (i.e. Amarok and Dragon defaults could be
different because the operate in different categories). So the "master"
device is not an absolute. With regards to keyboard controls etc., wider
questions have to be asked. If there is a stream playing should you be
controlling the device that is in use rather than the "master". I've not
quite worked out a universally good way of handling this, but one thing
is for certain, the priority lists exposed in System Settings will be
moved to PA core (they are currently implemented in a PA module) and
when that happens the "default device" concept in PA itself will change
too (the default is essentially implied. I've not 100% decided how I'll
make the "default device" work in PA at that stage - it might become
semi-intelligent: i.e. one logic could be: if nothing is playing then
it's the highest priority device in the "default" priority list that
becomes the "default device", if there is one stream playing then that
device is default. If there are more than one stream playing and one of
them is playing on the highest priory device in the "default" priority
list, then it's default, but otherwise the highest priority stream's
device is the default" This logic sounds more complex than it is, but I
think you get my point about why I've not yet implemented some kind of
trivial logic yet. I want to solve it properly.

Hope this explains things a little.

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/120

------------------------------------------------------------------------
On 2012-04-26T22:17:45+00:00 Diego Viola wrote:

@Colin: Amazing! I wasn't aware that kmix could do all that already.
WOW! :D

I've just right-clicked now and found everything, thanks a bunch. KDE
forever! :-)

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/121

------------------------------------------------------------------------
On 2012-04-26T22:20:14+00:00 Diego Viola wrote:

Perhaps it wasn't so obvious for me at first but now that I've right-
clicked in kmix I see that it has all I need. Thanks a bunch.

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/122

------------------------------------------------------------------------
On 2012-04-26T22:22:43+00:00 Diego Viola wrote:

"While off-topic, there are also not one, but TWO command line utilities
shipped with pulseaudio. One, pactl offers most of the functionality for
day-to-day control (volume changes, device moves etc) and is a standard
PA client. The second, pacmd, is more powerful and raw but is a very
useful debugging tool. it can do more but is not a standard PA client
and cannot be used over the network."

@Colin: thanks for recommending those (pactl and pacmd), I will give
those a try too. I love pulseaudio.

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/123

------------------------------------------------------------------------
On 2012-04-27T08:49:58+00:00 Chemobejk wrote:

Sorry for getting this off-topic. I just used pavucontrol to show the
settings on my laptop. The problem is not about how to do the same
things from kmix as pavucontrol/pactl/pacmd can do.

(In reply to comment #116)
> @Stephan: Not changing master when the default device in PA changes is
> somewhat deliberate. It's something that is fundamentally at odds with the
> category based defaults configurable in System Settings. There is no such
> thing as a "default". (i.e. Amarok and Dragon defaults could be different

In the general case you are correct, but I tried to describe a use case
where IMHO kmix simply doesn't do "the right thing" and therefore
confuses or annoys the user.

Let me rephrase: on my system
   * at any given point in time PA has only ONE active device. Depending on the situation it is either Dummy, USB Headset or Internal Audio.
   * at any given point in time I can press the right mouse button on kmix and select "Select Master Channel...": in the new window I see a selection list with ONE(!!) entry only, the one which is the PA default device.
   * when the state changes, i.e. I take the laptop out of the docking station and the USB Headset disappears, PA changes the default device and kmix knows about it.

What IMHO kmix does wrong, i.e. confuses the user:
   * there is only one device item to choose from after the state changes. Instead kmix chooses to go into the "undefined master channel" state (well, it remembers the old device, so changing the state back restores the old kmix mode)
   * the system tray icon for the "undefined master channel" state is the "default document" icon. So the user wonders "where did kmix disappear to"? I would have expected a "loudspeaker OFF" icon instead.
   * in the "undefined master channel" state the volume up/down keyboard keys stop working.

As far as I can remember this worked correctly before 4.8.1. Probably it
just worked by luck with PA :-)

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/124

------------------------------------------------------------------------
On 2012-04-27T15:39:53+00:00 Christian Esken wrote:

*** Bug 298885 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/126

------------------------------------------------------------------------
On 2012-04-27T20:52:14+00:00 Ettore Atalan wrote:

Created attachment 70717
New crash information added by DrKonqi

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

- What I was doing when the application crashed:

KMix crashed quite suddenly with several open program windows.

-- Backtrace (Reduced):
#6  0x00007f2f89719753 in MDWSlider::update (this=0x1b7eaa0) at ../../kmix/gui/mdwslider.cpp:1001
#7  0x00007f2f8971500b in ViewDockAreaPopup::refreshVolumeLevels (this=<optimized out>) at ../../kmix/gui/viewdockareapopup.cpp:168
#8  0x00007f2f89712311 in ViewBase::qt_metacall (this=0x1b7d5c0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff42daeb60) at ./viewbase.moc:87
#9  0x00007f2f897149e0 in ViewDockAreaPopup::qt_metacall (this=0x1b7d5c0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff42daeb60) at ./viewdockareapopup.moc:73
[...]
#11 0x00007f2f897310cc in Mixer::qt_metacall (this=0x1ad6860, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff42daecb0) at ./mixer.moc:82

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/127

------------------------------------------------------------------------
On 2012-04-28T02:56:42+00:00 Bhubbard wrote:

Created attachment 70719
New crash information added by DrKonqi

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

- What I was doing when the application crashed:

Resumed from sleep and kmix immediately segfaulted. Backtrace is similar
to others but I loaded complete debuginfo so thought it might add
something? HTH.

-- Backtrace (Reduced):
#6  0x00000030fd255033 in MDWSlider::update (this=0x186c150) at /usr/src/debug/kdemultimedia-4.8.2/kmix/gui/mdwslider.cpp:1001
#7  0x00000030fd25159b in ViewDockAreaPopup::refreshVolumeLevels (this=<optimized out>) at /usr/src/debug/kdemultimedia-4.8.2/kmix/gui/viewdockareapopup.cpp:168
[...]
#10 0x00000030fd22aa7c in Mixer_Backend::readSetFromHW (this=0x17f25c0) at /usr/src/debug/kdemultimedia-4.8.2/kmix/backends/mixer_backend.cpp:155
#11 0x00000030fd23adf5 in sink_cb (c=<optimized out>, i=<optimized out>, eol=<optimized out>) at /usr/src/debug/kdemultimedia-4.8.2/kmix/backends/mixer_pulse.cpp:191
#12 0x0000003a75e156f0 in context_get_sink_info_callback (pd=<optimized out>, command=<optimized out>, tag=<optimized out>, t=0x17b7540, userdata=0x176ea30) at pulse/introspect.c:263

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/128

------------------------------------------------------------------------
On 2012-04-29T09:35:27+00:00 Bhubbard wrote:

Captured a core on Fedora 16, it appears to be incomplete and I'm not
sure whether that is due to the libicudata warning or not. Captured this
by running kmix manually and then unplugging the power cable.

warning: "/usr/lib/debug/usr/lib64/libicudata.so.46.0.debug": separate debug info file has no debug info
Core was generated by `kmix --nocrashhandler'.
Program terminated with signal 11, Segmentation fault.
#0  0x0000000000000000 in ?? ()
(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x00000030fd255036 in MDWSlider::update (this=0x109af50) at /usr/src/debug/kdemultimedia-4.8.2/kmix/gui/mdwslider.cpp:1001
#2  0x00000030fd25159b in ViewDockAreaPopup::refreshVolumeLevels (this=<optimized out>) at /usr/src/debug/kdemultimedia-4.8.2/kmix/gui/viewdockareapopup.cpp:168
#3  0x00000030f638d571 in QMetaObject::activate (sender=0x1009910, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#4  0x00000030f638d571 in QMetaObject::activate (sender=0x101f9f0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#5  0x00000030fd22aa7c in Mixer_Backend::readSetFromHW (this=0x101f9f0) at /usr/src/debug/kdemultimedia-4.8.2/kmix/backends/mixer_backend.cpp:155
#6  0x00000030fd23adf5 in sink_cb (c=<optimized out>, i=<optimized out>, eol=<optimized out>) at /usr/src/debug/kdemultimedia-4.8.2/kmix/backends/mixer_pulse.cpp:191
#7  0x0000003a75e156f0 in context_get_sink_info_callback (pd=<optimized out>, command=<optimized out>, tag=<optimized out>, t=0xfe6780, userdata=0xf9d450)
    at pulse/introspect.c:263
#8  0x0000003a76227223 in run_action (pd=0xfd5640, r=0xf9d9e0, command=2, ts=0xfe6780) at pulsecore/pdispatch.c:274
#9  0x0000003a76227593 in pa_pdispatch_run (pd=0xfd5640, packet=<optimized out>, creds=0xcb0e20, userdata=0x1020ab0) at pulsecore/pdispatch.c:326
#10 0x0000003a75e0ebfd in pstream_packet_callback (p=<optimized out>, packet=0xecdba0, creds=0xcb0e20, userdata=0x1020ab0) at pulse/context.c:346
#11 0x0000003a7622be39 in do_read (p=0xcb0cd0) at pulsecore/pstream.c:816
#12 do_something (p=0xcb0cd0) at pulsecore/pstream.c:184
#13 0x0000003a76a01bd3 in dispatch_func (source=0xf9a570, callback=<optimized out>, userdata=<optimized out>) at pulse/glib-mainloop.c:585
#14 0x0000003c38a44acd in g_main_dispatch (context=0xcc50a0) at gmain.c:2441
#15 g_main_context_dispatch (context=0xcc50a0) at gmain.c:3011
#16 0x0000003c38a452c8 in g_main_context_iterate (context=0xcc50a0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3089
#17 0x0000003c38a4549c in g_main_context_iteration (context=0xcc50a0, may_block=1) at gmain.c:3152
#18 0x00000030f63a85bf in QEventDispatcherGlib::processEvents (this=0xc893f0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#19 0x00000030f766c8ce in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#20 0x00000030f6378a12 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#21 0x00000030f6378c67 in QEventLoop::exec (this=0x7ffff7f97910, flags=...) at kernel/qeventloop.cpp:204
#22 0x00000030f637d665 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#23 0x00000030fd2423f2 in kdemain (argc=2, argv=0x7ffff7f97e98) at /usr/src/debug/kdemultimedia-4.8.2/kmix/apps/main.cpp:76
#24 0x0000003c36a2169d in __libc_start_main (main=0x400730 <main(int, char**)>, argc=2, ubp_av=0x7ffff7f97e98, init=<optimized out>, fini=<optimized out>, 
    rtld_fini=<optimized out>, stack_end=0x7ffff7f97e88) at libc-start.c:226
#25 0x0000000000400761 in _start ()

Core should be available here for a while.

http://dl.dropbox.com/u/67505327/core.22385.gz

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/130

------------------------------------------------------------------------
On 2012-04-29T10:22:58+00:00 Bhubbard wrote:

I took a closer look at the core, thanks to Kevin Kofler for setting me
straight on frame 0 being "nothing" :)

(gdb) f 1
#1  0x00000030fd255036 in MDWSlider::update (this=0x109af50) at /usr/src/debug/kdemultimedia-4.8.2/kmix/gui/mdwslider.cpp:1001
1001                    updateInternal(m_mixdevice->playbackVolume(), m_slidersPlayback, m_mixdevice->isMuted() );

1001                    updateInternal(m_mixdevice->playbackVolume(), m_slidersPlayback, m_mixdevice->isMuted() );
   0x00000030fd25502c <+28>:    mov    0x28(%rbx),%rdi
   0x00000030fd255030 <+32>:    mov    (%rdi),%rax
   0x00000030fd255033 <+35>:    callq  *0x60(%rax)
=> 0x00000030fd255036 <+38>:    mov    0x28(%rbx),%rdi

Looking at the function callq on the second last line.

(gdb) info reg rax
rax            0xfbe110 16507152

(gdb) p/x 0xfbe110+0x60
$12 = 0xfbe170
(gdb) x/x 0xfbe170
0xfbe170:       0x00000000

So we are indeed calling 0x0()

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/131

------------------------------------------------------------------------
On 2012-04-29T11:25:10+00:00 Christian Esken wrote:

*** Bug 298997 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/132

------------------------------------------------------------------------
On 2012-04-29T11:25:26+00:00 Christian Esken wrote:

*** Bug 298981 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/133

------------------------------------------------------------------------
On 2012-04-29T11:25:57+00:00 Christian Esken wrote:

*** Bug 298964 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/134

------------------------------------------------------------------------
On 2012-04-29T11:26:19+00:00 Christian Esken wrote:

*** Bug 298957 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/135

------------------------------------------------------------------------
On 2012-04-29T11:26:36+00:00 Christian Esken wrote:

*** Bug 298926 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/136

------------------------------------------------------------------------
On 2012-04-29T13:00:29+00:00 Christoph-maxiom wrote:

Christian, is there anything else that needs to be done for this ticket?
If not, please mark as RESOLVED, so that the downstream bug trackers get
notified of the patches.

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/137

------------------------------------------------------------------------
On 2012-04-29T15:45:41+00:00 Loïc Grobol wrote:

Created attachment 70758
New crash information added by DrKonqi

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

- What I was doing when the application crashed:
Restarting Clementine after a crash and some time with muted sounds

-- Backtrace (Reduced):
#7  0x00007f5f5484fe26 in MDWSlider::update (this=0x26fa7d0) at ../../kmix/gui/mdwslider.cpp:1001
#8  0x00007f5f5484b64b in ViewDockAreaPopup::refreshVolumeLevels (this=<optimized out>) at ../../kmix/gui/viewdockareapopup.cpp:168
[...]
#11 0x00007f5f54824b0c in Mixer_Backend::readSetFromHW (this=0x2697ae0) at ../../kmix/backends/mixer_backend.cpp:155
#12 0x00007f5f54834df5 in sink_cb (c=<optimized out>, i=<optimized out>, eol=<optimized out>) at ../../kmix/backends/mixer_pulse.cpp:191
[...]
#15 0x00007f5f4a84ea03 in pa_pdispatch_run () from /usr/lib/x86_64-linux-gnu/libpulsecommon-1.1.so

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/138

------------------------------------------------------------------------
On 2012-04-29T20:35:37+00:00 Christian Esken wrote:

Christoph,

I waited for somebody to verify the branch Version. But as nobody is
doing so, I will simply presume that everything got tranported over
properly from trunk.

Closing bug report.

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/139

------------------------------------------------------------------------
On 2012-04-30T00:38:47+00:00 Bhubbard wrote:

Sorry for the noise, I missed #97 and #99 somehow.

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/140

------------------------------------------------------------------------
On 2012-04-30T14:23:28+00:00 Christian Esken wrote:

*** Bug 299098 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/141

------------------------------------------------------------------------
On 2012-04-30T14:24:27+00:00 Christian Esken wrote:

*** Bug 283194 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/142

------------------------------------------------------------------------
On 2012-04-30T14:24:54+00:00 Christian Esken wrote:

*** Bug 299032 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/143

------------------------------------------------------------------------
On 2012-04-30T14:25:32+00:00 Christian Esken wrote:

*** Bug 299090 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/144

------------------------------------------------------------------------
On 2012-04-30T14:25:53+00:00 Christian Esken wrote:

*** Bug 299085 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/145

------------------------------------------------------------------------
On 2012-04-30T14:26:02+00:00 Christian Esken wrote:

*** Bug 299084 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/146

------------------------------------------------------------------------
On 2012-04-30T16:59:02+00:00 Gian wrote:

I tried and the fix in the 4.8 branch works as well.

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/147

------------------------------------------------------------------------
On 2012-05-01T10:03:09+00:00 Christian Esken wrote:

*** Bug 299125 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/148

------------------------------------------------------------------------
On 2012-05-01T13:47:46+00:00 Christian Esken wrote:

*** Bug 299167 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/149

------------------------------------------------------------------------
On 2012-05-01T14:49:10+00:00 Christian Esken wrote:

*** Bug 299170 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/150

------------------------------------------------------------------------
On 2012-05-01T19:03:04+00:00 Christian Esken wrote:

*** Bug 299176 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/151

------------------------------------------------------------------------
On 2012-05-02T19:50:18+00:00 Christian Esken wrote:

*** Bug 299251 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/152

------------------------------------------------------------------------
On 2012-05-02T19:54:48+00:00 Christian Esken wrote:

*** Bug 299249 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/153

------------------------------------------------------------------------
On 2012-05-04T03:56:07+00:00 Diego Viola wrote:

KDE 4.8.3 just landed in Arch Linux now and I can confirm that this bug
is fixed.

Thanks so much for fixing this! KDE rocks.

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/154

------------------------------------------------------------------------
On 2012-05-04T19:10:08+00:00 Christian Esken wrote:

*** Bug 299399 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/155

------------------------------------------------------------------------
On 2012-05-04T19:12:20+00:00 Christian Esken wrote:

*** Bug 299284 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/156

------------------------------------------------------------------------
On 2012-05-04T19:16:48+00:00 Christian Esken wrote:

*** Bug 299361 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/157

------------------------------------------------------------------------
On 2012-05-04T21:08:54+00:00 Christian Esken wrote:

*** Bug 299405 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/159

------------------------------------------------------------------------
On 2012-05-05T02:58:47+00:00 Diego Viola wrote:

What was done to fix this? Was pulseaudio involved? If so, when
pulseaudio 2.0 comes out (or another further version) will it break kmix
again?

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/160

------------------------------------------------------------------------
On 2012-05-05T09:06:58+00:00 Ym8-colin-nbv wrote:

@Diego: As you know already from earlier comments, the fix was in kmix,
not PA. PA 2.0 or whatever will be irrelevant to anything in kmix (it's
a stable ABI) so future upgrades will not affect it.

The problem in this case was related to memory management inside kmix.
PulseAudio's more dynamic nature exposed this somewhat in kmix and was
exacerbated by other changes in kmix relating to MPRIS (which is also
very dynamic).

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/161

------------------------------------------------------------------------
On 2012-05-05T13:23:17+00:00 Chemobejk wrote:

Verified on Fedora 17: KDE 4.8.3 fixes the problem.

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/162

------------------------------------------------------------------------
On 2012-05-05T19:15:55+00:00 Diego Viola wrote:

(In reply to comment #154)
> @Diego: As you know already from earlier comments, the fix was in kmix, not
> PA. PA 2.0 or whatever will be irrelevant to anything in kmix (it's a stable
> ABI) so future upgrades will not affect it.
> 
> The problem in this case was related to memory management inside kmix.
> PulseAudio's more dynamic nature exposed this somewhat in kmix and was
> exacerbated by other changes in kmix relating to MPRIS (which is also very
> dynamic).

@Colin: I see, thanks for clarifying that. I actually didn't suspect of
pulseaudio. It's actually a good thing that PA exposed that and that the
bug was fixed in kmix. Thanks for your hard work.

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/163

------------------------------------------------------------------------
On 2012-05-06T10:20:25+00:00 Zeelax wrote:

Created attachment 70893
New crash information added by DrKonqi

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

- What I was doing when the application crashed:

I was changing the volume with notebook's volume buttons

-- Backtrace (Reduced):
#7  0x00007f385fb4be26 in MDWSlider::update (this=0x28ada20) at ../../kmix/gui/mdwslider.cpp:1001
#8  0x00007f385fb4764b in ViewDockAreaPopup::refreshVolumeLevels (this=<optimized out>) at ../../kmix/gui/viewdockareapopup.cpp:168
[...]
#11 0x00007f385fb20b0c in Mixer_Backend::readSetFromHW (this=0x27bb100) at ../../kmix/backends/mixer_backend.cpp:155
#12 0x00007f385fb30df5 in sink_cb (c=<optimized out>, i=<optimized out>, eol=<optimized out>) at ../../kmix/backends/mixer_pulse.cpp:191
[...]
#15 0x00007f3855b4aa03 in pa_pdispatch_run () from /usr/lib/x86_64-linux-gnu/libpulsecommon-1.1.so

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/164

------------------------------------------------------------------------
On 2012-05-07T04:57:29+00:00 Christian Esken wrote:

*** Bug 299450 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/165

------------------------------------------------------------------------
On 2012-05-07T04:58:21+00:00 Christian Esken wrote:

*** Bug 299486 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/166

------------------------------------------------------------------------
On 2012-05-07T04:59:51+00:00 Christian Esken wrote:

*** Bug 299425 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/167

------------------------------------------------------------------------
On 2012-05-07T05:01:29+00:00 Christian Esken wrote:

*** Bug 299412 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/168

------------------------------------------------------------------------
On 2012-05-07T16:18:53+00:00 Lundgren wrote:

No longer seeing constant crashes with 4.8.3 on opensuse 12.1 x64.

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/169

------------------------------------------------------------------------
On 2012-05-07T17:34:22+00:00 Christian Esken wrote:

*** Bug 299558 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/170

------------------------------------------------------------------------
On 2012-05-07T17:54:09+00:00 Christian Esken wrote:

*** Bug 299568 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/171

------------------------------------------------------------------------
On 2012-05-09T19:10:20+00:00 Christian Esken wrote:

*** Bug 299592 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/172

------------------------------------------------------------------------
On 2012-05-09T19:15:22+00:00 Christian Esken wrote:

*** Bug 299613 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/173

------------------------------------------------------------------------
On 2012-05-09T19:17:41+00:00 Christian Esken wrote:

*** Bug 299693 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/174

------------------------------------------------------------------------
On 2012-05-09T19:20:03+00:00 Christian Esken wrote:

*** Bug 299650 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/175

------------------------------------------------------------------------
On 2012-05-09T19:20:49+00:00 Christian Esken wrote:

*** Bug 299659 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/176

------------------------------------------------------------------------
On 2012-05-09T21:35:48+00:00 Christian Esken wrote:

*** Bug 299708 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/177

------------------------------------------------------------------------
On 2012-05-10T18:43:08+00:00 Christian Esken wrote:

*** Bug 299720 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/178

------------------------------------------------------------------------
On 2012-05-10T18:43:39+00:00 Christian Esken wrote:

*** Bug 299721 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/179

------------------------------------------------------------------------
On 2012-05-11T16:59:36+00:00 Christian Esken wrote:

*** Bug 299811 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/180

------------------------------------------------------------------------
On 2012-05-12T08:03:20+00:00 Christian Esken wrote:

*** Bug 299832 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/181

------------------------------------------------------------------------
On 2012-05-12T09:17:41+00:00 Christian Esken wrote:

*** Bug 299864 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/182

------------------------------------------------------------------------
On 2012-05-13T11:17:58+00:00 Marius Van Deventer wrote:

Created attachment 71065
New crash information added by DrKonqi

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

Related to the main report, except that the crashes seem to be totally
random. The only commonality seems to be that sound must be playing.

On another note, i find that my microphone settings are frequently
reset. Since my mic requires tweaking to work, this results in a
frequently unresponsive microphone. Not sure if it is related.

-- Backtrace (Reduced):
#7  0x0055af75 in MDWSlider::update (this=0x9ea5ed0) at ../../kmix/gui/mdwslider.cpp:1001
#8  0x00555c23 in ViewDockAreaPopup::refreshVolumeLevels (this=0x9e9d218) at ../../kmix/gui/viewdockareapopup.cpp:168
#9  0x00552913 in qt_static_metacall (_a=0xbfe507f0, _id=3, _o=0x9e9d218, _c=<optimized out>) at ./viewbase.moc:64
#10 ViewBase::qt_static_metacall (_o=0x9e9d218, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfe507f0) at ./viewbase.moc:55
[...]
#12 0x00575c75 in Mixer::controlChanged (this=0x9b9e2c8) at ./mixer.moc:117

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/183

------------------------------------------------------------------------
On 2012-05-13T14:30:17+00:00 Ajrlegits+kdebugs wrote:

Created attachment 71069
New crash information added by DrKonqi

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

- What I was doing when the application crashed:

Rewinding YouTube video using the slider.

-- Backtrace (Reduced):
#6  0x00007f426d5e8e23 in MDWSlider::update (this=0x22f6710) at ../../kmix/gui/mdwslider.cpp:1001
#7  0x00007f426d5e464b in ViewDockAreaPopup::refreshVolumeLevels (this=<optimized out>) at ../../kmix/gui/viewdockareapopup.cpp:168
[...]
#10 0x00007f426d5bdb0c in Mixer_Backend::readSetFromHW (this=0x2253dc0) at ../../kmix/backends/mixer_backend.cpp:155
#11 0x00007f426d5cddf5 in sink_cb (c=<optimized out>, i=<optimized out>, eol=<optimized out>) at ../../kmix/backends/mixer_pulse.cpp:191
[...]
#14 0x00007f42635e7a03 in pa_pdispatch_run () from /usr/lib/x86_64-linux-gnu/libpulsecommon-1.1.so

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/184

------------------------------------------------------------------------
On 2012-05-14T16:54:10+00:00 Christian Esken wrote:

*** Bug 299902 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/185

------------------------------------------------------------------------
On 2012-05-14T18:06:22+00:00 Christian Esken wrote:

*** Bug 300019 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/186

------------------------------------------------------------------------
On 2012-05-14T18:07:47+00:00 Christian Esken wrote:

*** Bug 299908 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/187

------------------------------------------------------------------------
On 2012-05-14T18:08:41+00:00 Christian Esken wrote:

*** Bug 299912 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/188

------------------------------------------------------------------------
On 2012-05-14T18:09:49+00:00 Christian Esken wrote:

*** Bug 299920 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/comments/189


** Changed in: kdemultimedia
       Status: Unknown => Fix Released

** Changed in: kdemultimedia
   Importance: Unknown => High

** Bug watch added: bugs.mageia.org/ #3909
   https://bugs.mageia.org/show_bug.cgi?id=3909

** Bug watch added: KDE Bug Tracking System #297155
   https://bugs.kde.org/show_bug.cgi?id=297155

** Bug watch added: Red Hat Bugzilla #804363
   https://bugzilla.redhat.com/show_bug.cgi?id=804363

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdemultimedia in Ubuntu.
https://bugs.launchpad.net/bugs/963895

Title:
  kmix is crashing after multiple volume changes

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdemultimedia/+bug/963895/+subscriptions




More information about the kubuntu-bugs mailing list