Bug 285017 - Crash setting up Pulse Audio capture device via Skype
Summary: Crash setting up Pulse Audio capture device via Skype
Status: RESOLVED DUPLICATE of bug 290742
Alias: None
Product: kmix
Classification: Applications
Component: Backend: Pulseaudio (show other bugs)
Version: 3.9
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Colin Guthrie
URL:
Keywords:
: 286698 287535 288786 289216 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-10-26 15:19 UTC by Richard Donaldson
Modified: 2012-04-08 10:01 UTC (History)
18 users (show)

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


Attachments
My crash, same issue (4.39 KB, text/plain)
2011-12-02 10:13 UTC, Radu Andries
Details
New crash information added by DrKonqi (4.46 KB, text/plain)
2011-12-05 12:17 UTC, Hrvoje Senjan
Details
New crash information added by DrKonqi (5.65 KB, text/plain)
2011-12-07 19:07 UTC, Bruno Friedmann
Details
New crash information added by DrKonqi (6.83 KB, text/plain)
2011-12-11 18:01 UTC, Elias Probst
Details
New crash information added by DrKonqi (5.61 KB, text/plain)
2011-12-13 19:40 UTC, Bruno Friedmann
Details
Port of Christians patch to 4.7 branch (3.25 KB, patch)
2011-12-13 20:20 UTC, Colin Guthrie
Details
New crash information added by DrKonqi (6.20 KB, text/plain)
2011-12-25 16:22 UTC, Admc
Details
New crash information added by DrKonqi (4.35 KB, text/plain)
2012-03-12 06:53 UTC, Christoph Obexer
Details
New crash information added by DrKonqi (5.69 KB, text/plain)
2012-03-14 17:53 UTC, Bruno Friedmann
Details
New crash information added by DrKonqi (5.43 KB, text/plain)
2012-03-16 15:45 UTC, Anssi Hannula
Details
New crash information added by DrKonqi (5.21 KB, text/plain)
2012-03-18 14:28 UTC, Robin Green
Details
New crash information added by DrKonqi (6.20 KB, text/plain)
2012-03-19 10:46 UTC, Manuel Nickschas
Details
New crash information added by DrKonqi (6.87 KB, text/plain)
2012-04-07 11:48 UTC, Alfred Egger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Donaldson 2011-10-26 15:19:51 UTC
Application: kmix (3.9)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-13-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed: While configuring my internal microphone for Skype, selected capture devices using the Pulse Audio button in Skype the system gave this crash

- Custom settings of the application: Configuring Pulse Audio input device via Skype the crash report appeared twice

The crash can be reproduced some of the time.

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

Thread 3 (Thread 0x7f8a9b4a1700 (LWP 7799)):
#0  0xffffffffff60014c in ?? ()
#1  0x00007f8a9b4a0ab0 in ?? ()
#2  0x00007fffa87c67e7 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0x7f8a96a94700 (LWP 8198)):
#0  0x00007f8ab09f0708 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f8ab09f0f82 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8ab09f1429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8ab73e4f3e in QEventDispatcherGlib::processEvents (this=0x1e2a2c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f8ab73b8cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f8ab73b8ef7 in QEventLoop::exec (this=0x7f8a96a93d90, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f8ab72d027f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f8ab739bcbf in QInotifyFileSystemWatcherEngine::run (this=0x1e24fb0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f8ab72d2d05 in QThreadPrivate::start (arg=0x1e24fb0) at thread/qthread_unix.cpp:331
#9  0x00007f8ab155aefc in start_thread (arg=0x7f8a96a94700) at pthread_create.c:304
#10 0x00007f8aba63289d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f8abac377c0 (LWP 7539)):
[KCrash Handler]
#6  0x0000001600000016 in ?? ()
#7  0x00007f8aba92aa58 in MDWSlider::update (this=0x1de6ba0) at ../../kmix/gui/mdwslider.cpp:938
#8  0x00007f8aba925034 in ViewDockAreaPopup::refreshVolumeLevels (this=<optimized out>) at ../../kmix/gui/viewdockareapopup.cpp:164
#9  0x00007f8aba9236a1 in ViewBase::qt_metacall (this=0x1dfbac0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffa87635d0) at ./viewbase.moc:90
#10 0x00007f8aba924e68 in ViewDockAreaPopup::qt_metacall (this=0x1dfbac0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=<optimized out>) at ./viewdockareapopup.moc:67
#11 0x00007f8ab73cceba in QMetaObject::activate (sender=0x1d69430, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#12 0x00007f8aba942b3c in Mixer::qt_metacall (this=0x1d69430, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffa87636b0) at ./mixer.moc:84
#13 0x00007f8ab73cceba in QMetaObject::activate (sender=0x1d5adb0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#14 0x00007f8aba9538d0 in Mixer_Backend::readSetFromHW (this=0x1d5adb0) at ../../kmix/backends/mixer_backend.cpp:132
#15 0x00007f8aba94d506 in ext_stream_restore_read_cb (c=<optimized out>, i=<optimized out>, eol=<optimized out>) at ../../kmix/backends/mixer_pulse.cpp:471
#16 0x00007f8ab8d2f0fe in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#17 0x00007f8ab0f125f3 in ?? () from /usr/lib/x86_64-linux-gnu/libpulsecommon-1.0.so
#18 0x00007f8ab0f12963 in pa_pdispatch_run () from /usr/lib/x86_64-linux-gnu/libpulsecommon-1.0.so
#19 0x00007f8ab8d29c1d in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#20 0x00007f8ab0f17209 in ?? () from /usr/lib/x86_64-linux-gnu/libpulsecommon-1.0.so
#21 0x00007f8ab8b17b23 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse-mainloop-glib.so.0
#22 0x00007f8ab09f0a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f8ab09f1258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f8ab09f1429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f8ab73e4ed6 in QEventDispatcherGlib::processEvents (this=0x18e9f40, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#26 0x00007f8ab80db07e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#27 0x00007f8ab73b8cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#28 0x00007f8ab73b8ef7 in QEventLoop::exec (this=0x7fffa87643b0, flags=...) at kernel/qeventloop.cpp:201
#29 0x00007f8ab73bd789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#30 0x00007f8aba917cb2 in kdemain (argc=5, argv=0x7fffa8764938) at ../../kmix/apps/main.cpp:73
#31 0x00007f8aba57230d in __libc_start_main (main=0x400630 <main(int, char**)>, argc=5, ubp_av=0x7fffa8764938, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffa8764928) at libc-start.c:226
#32 0x0000000000400661 in _start ()

Possible duplicates by query: bug 283194.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2011-11-29 13:31:20 UTC
*** Bug 287535 has been marked as a duplicate of this bug. ***
Comment 2 Myriam Schweingruber 2011-11-29 13:32:41 UTC
*** Bug 286698 has been marked as a duplicate of this bug. ***
Comment 3 Myriam Schweingruber 2011-11-29 13:33:25 UTC
Confirmed by duplicates.
Comment 4 Colin Guthrie 2011-11-29 13:41:46 UTC
Hmm, seeing as comments were already left on #286698 by myself and Christian it would have been better if it was the master bug... ahh well, I'll add myself to CC anyway, as I think this is a general memory handling issue where old dynamic elements are not cleaned out properly, and not something that is PA specific.

Most exploratory detail on this issue is covered by comments 1 and 2 on #286698
Comment 5 Radu Andries 2011-12-02 10:13:59 UTC
Created attachment 66298 [details]
My crash, same issue

Same issue.
Comment 6 Hrvoje Senjan 2011-12-05 12:17:06 UTC
Created attachment 66400 [details]
New crash information added by DrKonqi

kmix (3.9-plus) on KDE Platform 4.7.90 (4.8 Beta2 (4.7.90) "release 5" using Qt 4.8.0

- What I was doing when the application crashed:
Startet kmix from konsole, it crashed after i watched a youtube video.

-- Backtrace (Reduced):
#6  0x00007f8ac23f3653 in MDWSlider::update (this=0xa24fe0) at /usr/src/debug/kdemultimedia-4.7.90/kmix/gui/mdwslider.cpp:990
#7  0x00007f8ac23eeebb in ViewDockAreaPopup::refreshVolumeLevels (this=<optimized out>) at /usr/src/debug/kdemultimedia-4.7.90/kmix/gui/viewdockareapopup.cpp:159
[...]
#10 0x00007f8ac23c8bec in Mixer_Backend::readSetFromHW (this=0x8601e0) at /usr/src/debug/kdemultimedia-4.7.90/kmix/backends/mixer_backend.cpp:155
#11 0x00007f8ac23d7e45 in sink_cb (c=<optimized out>, i=<optimized out>, eol=<optimized out>) at /usr/src/debug/kdemultimedia-4.7.90/kmix/backends/mixer_pulse.cpp:191
#12 0x00007f8ac07b3694 in context_get_sink_info_callback (pd=<optimized out>, command=<optimized out>, tag=<optimized out>, t=0x8b9d20, userdata=0x9020c0) at pulse/introspect.c:272
Comment 7 Colin Guthrie 2011-12-05 12:32:25 UTC
Christian,

Are you going to take a look at what when wrong when you refactored the code with regards to the ViewDock memory management or will I have to get my hands dirty and fix it up?

It's quite a nasty regression seeing as this is how most people are using kmix these days.
Comment 8 Bruno Friedmann 2011-12-07 19:07:33 UTC
Created attachment 66484 [details]
New crash information added by DrKonqi

kmix (3.9-plus) on KDE Platform 4.7.4 (4.7.4) "release 9" using Qt 4.8.0

- What I was doing when the application crashed: Opening kde session (kmix was running last shutdown) on my private network which has ipv6 ( don't if related, this is one parameter that change compared to this morning)

In my previous session, I've setup kmix by changing the default mixer, and fix the size of the window.

-- Backtrace (Reduced):
#6  0x00007f5f73f96653 in MDWSlider::update (this=0xbc6930) at /usr/src/debug/kdemultimedia-git/kmix/gui/mdwslider.cpp:990
#7  0x00007f5f73f91ebb in ViewDockAreaPopup::refreshVolumeLevels (this=<optimized out>) at /usr/src/debug/kdemultimedia-git/kmix/gui/viewdockareapopup.cpp:159
[...]
#10 0x00007f5f73f6bbec in Mixer_Backend::readSetFromHW (this=0xab54a0) at /usr/src/debug/kdemultimedia-git/kmix/backends/mixer_backend.cpp:155
#11 0x00007f5f73f7ae45 in sink_cb (c=<optimized out>, i=<optimized out>, eol=<optimized out>) at /usr/src/debug/kdemultimedia-git/kmix/backends/mixer_pulse.cpp:191
#12 0x00007f5f7872b694 in context_get_sink_info_callback (pd=<optimized out>, command=<optimized out>, tag=<optimized out>, t=0xaed200, userdata=0xad9b60) at pulse/introspect.c:272
Comment 9 Colin Guthrie 2011-12-07 22:00:31 UTC
Hmm, actually I've only just noticed this is happening in older versions too, so please ignore my last comment about your refactor Christian... it is apparently not to blame if we're seeing this in 4.7.*.... I'll try and find time to go poking at the code soon.
Comment 10 Elias Probst 2011-12-11 18:01:40 UTC
Created attachment 66638 [details]
New crash information added by DrKonqi

kmix (3.9-plus) on KDE Platform 4.7.90 (4.8 Beta2 (4.7.90) using Qt 4.7.2

- What I was doing when the application crashed:
It happened here using KDE 4.8 beta 2 (4.7.90) when opening a new browser tab loading a TED flash video.
When the new stream should have appeared in the KMix window, it crashed instead.

Using:
- A Bluetooth headset (Sennheiser MM550)
- BlueZ 4.96
- Kernel 3.1.0
- PulseAudio 0.9.22
- Qt 4.7.2

-- Backtrace (Reduced):
#7  0x00007faa8ca40cb4 in MDWSlider::update (this=0xaf98d0) at /var/tmp/portage/kde-base/kmix-4.7.90/work/kmix-4.7.90/kmix/gui/mdwslider.cpp:990
#8  0x00007faa8ca3d4c3 in ViewDockAreaPopup::refreshVolumeLevels (this=<value optimized out>) at /var/tmp/portage/kde-base/kmix-4.7.90/work/kmix-4.7.90/kmix/gui/viewdockareapopup.cpp:159
#9  0x00007faa8ca3a734 in ViewBase::qt_metacall (this=0xb4c520, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff56dad8a0) at /var/tmp/portage/kde-base/kmix-4.7.90/work/kmix-4.7.90_build/kmix/viewbase.moc:90
#10 0x00007faa8ca3cf88 in ViewDockAreaPopup::qt_metacall (this=0xb4c520, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at /var/tmp/portage/kde-base/kmix-4.7.90/work/kmix-4.7.90_build/kmix/viewdockareapopup.moc:67
[...]
#12 0x00007faa8ca57277 in Mixer::qt_metacall (this=0x95b890, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff56dad9b0) at /var/tmp/portage/kde-base/kmix-4.7.90/work/kmix-4.7.90_build/kmix/mixer.moc:82
Comment 11 Jekyll Wu 2011-12-13 15:23:13 UTC
[from bug 288786]

- What I was doing when the application crashed:

I am not sure I can 100% reproduce this, but it happens very often when
starting or stopping an audio stream (random music player, flash-applet,
whatever).

When it does NOT crash, it will likely hang and eat 100% cpu until I kill and
restart kmix.

The crash can be reproduced some of the time.
Comment 12 Jekyll Wu 2011-12-13 15:23:26 UTC
*** Bug 288786 has been marked as a duplicate of this bug. ***
Comment 13 Bruno Friedmann 2011-12-13 19:40:56 UTC
Created attachment 66704 [details]
New crash information added by DrKonqi

kmix (3.9-plus) on KDE Platform 4.7.4 (4.7.4) "release 17" using Qt 4.8.0

- What I was doing when the application crashed:
That crash actually is produced every time I open kde session.
pulseaudio is active, and kde should restore the previous session.
skype & kopete are open

After the crash running kmix with krunner works

-- Backtrace (Reduced):
#7  0x00007f73f38e8656 in MDWSlider::update (this=0xb464b0) at /usr/src/debug/kdemultimedia-git/kmix/gui/mdwslider.cpp:990
#8  0x00007f73f38e3ebb in ViewDockAreaPopup::refreshVolumeLevels (this=<optimized out>) at /usr/src/debug/kdemultimedia-git/kmix/gui/viewdockareapopup.cpp:159
[...]
#11 0x00007f73f38bdbec in Mixer_Backend::readSetFromHW (this=0xa380c0) at /usr/src/debug/kdemultimedia-git/kmix/backends/mixer_backend.cpp:155
#12 0x00007f73f38cce45 in sink_cb (c=<optimized out>, i=<optimized out>, eol=<optimized out>) at /usr/src/debug/kdemultimedia-git/kmix/backends/mixer_pulse.cpp:191
#13 0x00007f73f807d694 in context_get_sink_info_callback (pd=<optimized out>, command=<optimized out>, tag=<optimized out>, t=0xa6b130, userdata=0x97fd90) at pulse/introspect.c:272
Comment 14 Colin Guthrie 2011-12-13 20:07:17 UTC
Hmm, I wonder if Christian's latest commit (http://websvn.kde.org/?revision=1268580&view=revision) indirectly fixes this issue.
Comment 15 Colin Guthrie 2011-12-13 20:20:43 UTC
Created attachment 66707 [details]
Port of Christians patch to 4.7 branch

Can people please test this patch to see if it fixes the issue for them?
Comment 16 Christian (Fuchs) 2011-12-13 20:25:32 UTC
Not tested with the backported patch but rather with building current git that has Christians changes: 

it didn't crash so far, but it doesn't show the streams in the popup either, plus it sometimes ends up unresponsive for a while when a stream changed (e.g. track change in amarok)

Kind regards, 

Christian
Comment 17 Marc Schiffbauer 2011-12-13 20:34:54 UTC
I just built kmix from master (~20:30 UTC) and I will have a look. Until now it crashed often. Lets see what this build will bring.

For me it *does* show the pa streams (which I did not recognize before.. since when does it do that??)

I will report back.
Comment 18 Marc Schiffbauer 2011-12-13 20:42:21 UTC
Update:

When started, kmix shows all current streams when left-clicking on the tray icon. -> GOOD
When a stream disappears (Quit my vlc for example), the stream disappears. -> GOOD
Whn I start vlc again (my radio stream), the new stream will NOT appear -> BAD
However, when I do RMB -> select master channel (german l10n here), it lists all channels, so the problem is only in the "slider-list" of streams which appears when left-clicking
Comment 19 Colin Guthrie 2011-12-13 22:03:57 UTC
As I cannot reproduce this error (no idea why) it would be really useful if someone could test it on the 4.7 branch as I'd like to push it to the 4.7 branch and generally recommend distros ship the patch etc.

I'm still not sure why it would ever be a problem anyway as I can't see why streams would ever be configured as the master channel (it's possible, but no idea why anyone would do that) and thus they should NOT appear in the view dock popup.... git master is quite different, in this regard relating to how streams how up etc, and thus the testing is quite, quite different.

At this precise moment, I'm more interested in 4.7 branch problems as I'd like to know what is actually triggering this.

The above patch is quite brutal and does far more work than should be needed here, but it's a fix, it'll do for now.
Comment 20 Christian Esken 2011-12-13 22:05:32 UTC
All application streams (PA, MPRIS2) should show in the tray icon since several
months in SVN trunk. "Hotplugging" and "Unplugging" streams in the tray is
supported since today. I haven't tested Pulseaudio yet, as my normal setup is
"ALSA + MPRIS2".
Comment 21 Marc Schiffbauer 2011-12-13 22:22:13 UTC
(In reply to comment #20)
> All application streams (PA, MPRIS2) should show in the tray icon since several
> months in SVN trunk. "Hotplugging" and "Unplugging" streams in the tray is
> supported since today. I haven't tested Pulseaudio yet, as my normal setup is
> "ALSA + MPRIS2".

OK, thanks. So this will be in 4.8 right? Well as I wrote: With PA the streams do not get properly updated yet in the popup.

But I not not have any kmix crashes since I am using todays git master (4.7.90 before).

Another thing I got few minutes ago: kmix was not responsive and the process was at 100% CPU (same behavior as when I also had the crashes) but recovered itself after some time (10 secs or so?), where I had to kill and restart it before with the 4.7.90 version.
Comment 22 Colin Guthrie 2011-12-13 22:43:18 UTC
(In reply to comment #20)
> All application streams (PA, MPRIS2) should show in the tray icon since several
> months in SVN trunk. "Hotplugging" and "Unplugging" streams in the tray is
> supported since today. I haven't tested Pulseaudio yet, as my normal setup is
> "ALSA + MPRIS2".

I'm quite concerned about some of these changes as this means multiple backends could be present at any given time and I went to a lot of effort to disable the incompatible bits of kmix when PA is in use. With multiple backends this work might have been undone. As PulseAudio is the default on pretty much all distributions, please ensure you do test this configuration as it should be the one that works out of the box.
Comment 23 Christian Esken 2011-12-13 23:18:29 UTC
Sorry. You are right.
I am just stressed and tired.
It happens only if backends are enabled. And there still is only one backend active (unless you hack the kmixrc). Sorry for the confusion.
Comment 24 Lamarque V. Souza 2011-12-18 02:10:30 UTC
*** Bug 289216 has been marked as a duplicate of this bug. ***
Comment 25 Admc 2011-12-25 16:22:51 UTC
Created attachment 67099 [details]
New crash information added by DrKonqi

kmix (3.9-plus) on KDE Platform 4.7.90 (4.8 Beta2 (4.7.90) using Qt 4.7.4

- What I was doing when the application crashed:
I reloaded kmix after it frezzed. (killall kmix && kmix)

- Unusual behavior I noticed:
Kwin sometimes frezzes and it uses 25% of cpu (I have quad-core cpu so it uses 100% of single core)

-- Backtrace (Reduced):
#8  0xb782db18 in MDWSlider::update (this=0x8d1cd78) at ../../kmix/gui/mdwslider.cpp:990
#9  0xb78288a3 in ViewDockAreaPopup::refreshVolumeLevels (this=0x8d15590) at ../../kmix/gui/viewdockareapopup.cpp:159
#10 0xb78252cf in ViewBase::qt_metacall (this=0x8d15590, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbffc3e04) at ./viewbase.moc:90
#11 0xb782829e in ViewDockAreaPopup::qt_metacall (this=0x8d15590, _c=QMetaObject::InvokeMetaMethod, _id=31, _a=0xbffc3e04) at ./viewdockareapopup.moc:67
#12 0xb5d14b7d in metacall (argv=0xbffc3e04, idx=31, cl=QMetaObject::InvokeMetaMethod, object=0x8d15590) at kernel/qmetaobject.cpp:237
Comment 26 Christian Esken 2011-12-30 14:28:29 UTC
Might be related to 288675. Please try again with the newest from branch 4.8
(or trunk). I might have just fixed that today.
Comment 27 Christian (Fuchs) 2012-01-05 12:51:16 UTC
Looks good so far in 4.8 RC2, however, I did not try Skype, but rather the general problem with pulseaudio. 

(See: https://bugs.kde.org/show_bug.cgi?id=287535)
Comment 28 Christoph Obexer 2012-03-12 06:53:45 UTC
Created attachment 69526 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:
i unloaded the sound drivers (/etc/init.d/alsasound stop).
from the comments is looks like this should be fixed in KDE 4.8.1, but it isn't.
(seems to reproduce every time)

-- Backtrace (Reduced):
#6  0x00007ffe3e6b9523 in MDWSlider::update (this=0x9f1ad0) at /usr/src/debug/kdemultimedia-4.8.1/kmix/gui/mdwslider.cpp:1001
#7  0x00007ffe3e6b4d4b in ViewDockAreaPopup::refreshVolumeLevels (this=<optimized out>) at /usr/src/debug/kdemultimedia-4.8.1/kmix/gui/viewdockareapopup.cpp:168
[...]
#10 0x00007ffe3e68dcbc in Mixer_Backend::readSetFromHW (this=0x9e2bc0) at /usr/src/debug/kdemultimedia-4.8.1/kmix/backends/mixer_backend.cpp:155
#11 0x00007ffe3e69dfa5 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
#12 0x00007ffe416d96c4 in context_get_sink_info_callback (pd=<optimized out>, command=<optimized out>, tag=<optimized out>, t=0x9881d0, userdata=0x9ecdf0) at pulse/introspect.c:272
Comment 29 Bruno Friedmann 2012-03-14 17:53:04 UTC
Created attachment 69616 [details]
New crash information added by DrKonqi

kmix (4) on KDE Platform 4.8.1 (4.8.1) "release 481" using Qt 4.8.0

- What I was doing when the application crashed: From 4.8.1 every time I open my kde session and kmix was running in the previous one I get a crash of kmix.

Setup is vlc phonon backend + pulseaudio
if any backtrace like valgrind etc is needed just ask.

-- Backtrace (Reduced):
#7  0x00007fdc4b49b526 in MDWSlider::update (this=0x98e5e0) at /usr/src/debug/kdemultimedia-4.8.1/kmix/gui/mdwslider.cpp:1001
#8  0x00007fdc4b496d4b in ViewDockAreaPopup::refreshVolumeLevels (this=<optimized out>) at /usr/src/debug/kdemultimedia-4.8.1/kmix/gui/viewdockareapopup.cpp:168
[...]
#11 0x00007fdc4b46fcbc in Mixer_Backend::readSetFromHW (this=0xa1f760) at /usr/src/debug/kdemultimedia-4.8.1/kmix/backends/mixer_backend.cpp:155
#12 0x00007fdc4b47ffa5 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
#13 0x00007fdc50003694 in context_get_sink_info_callback (pd=<optimized out>, command=<optimized out>, tag=<optimized out>, t=0xc09f40, userdata=0xae5360) at pulse/introspect.c:272
Comment 30 Anssi Hannula 2012-03-16 15:45:59 UTC
Created attachment 69673 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:

The USB audio device got unplugged (and possibly replugged, but not sure about that).

-- Backtrace (Reduced):
#6  0x00007f21db7f2f33 in MDWSlider::update (this=0x21f8cb0) at /usr/src/debug/kdemultimedia-4.8.1/kmix/gui/mdwslider.cpp:1001
#7  0x00007f21db7ee75b in ViewDockAreaPopup::refreshVolumeLevels (this=<optimized out>) at /usr/src/debug/kdemultimedia-4.8.1/kmix/gui/viewdockareapopup.cpp:168
[...]
#10 0x00007f21db7c7c1c in Mixer_Backend::readSetFromHW (this=0x20b1b30) at /usr/src/debug/kdemultimedia-4.8.1/kmix/backends/mixer_backend.cpp:155
#11 0x00007f21db7d7f05 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
[...]
#14 0x00007f21dd24a713 in pa_pdispatch_run () from /usr/lib64/libpulsecommon-1.1.so
Comment 31 Robin Green 2012-03-18 14:28:26 UTC
Created attachment 69712 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:
I had just killed pulseaudio using:

pulseaudio -k

-- Backtrace (Reduced):
#7  0x00007fe45a3dd076 in MDWSlider::update (this=0x145fc10) at /usr/src/debug/kdemultimedia-4.8.1/kmix/gui/mdwslider.cpp:1001
#8  0x00007fe45a3d95db in ViewDockAreaPopup::refreshVolumeLevels (this=<optimized out>) at /usr/src/debug/kdemultimedia-4.8.1/kmix/gui/viewdockareapopup.cpp:168
[...]
#11 0x00007fe45a3b2a7c in Mixer_Backend::readSetFromHW (this=0x148d780) at /usr/src/debug/kdemultimedia-4.8.1/kmix/backends/mixer_backend.cpp:155
#12 0x00007fe45a3c2df5 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
#13 0x00000035a98156f0 in context_get_sink_info_callback (pd=<optimized out>, command=<optimized out>, tag=<optimized out>, t=0x1324320, userdata=0x13277d0) at pulse/introspect.c:263
Comment 32 Manuel Nickschas 2012-03-19 10:46:25 UTC
Created attachment 69729 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:

Changing the sound card profile in phonon settings (e.g. between "Analog Stereo Duplex" and "HDMI") lets me crash kmix 100% of the time. Using the gstreamer backend and pulseaudio, with KDE 4.8.1 from kubuntu.

-- Backtrace (Reduced):
#7  0x00007fcaa8915756 in MDWSlider::update (this=0x1b05aa0) at ../../kmix/gui/mdwslider.cpp:1001
#8  0x00007fcaa891100b in ViewDockAreaPopup::refreshVolumeLevels (this=<optimized out>) at ../../kmix/gui/viewdockareapopup.cpp:168
#9  0x00007fcaa890e311 in ViewBase::qt_metacall (this=0x1b046f0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff0ad096c0) at ./viewbase.moc:87
#10 0x00007fcaa89109e0 in ViewDockAreaPopup::qt_metacall (this=0x1b046f0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff0ad096c0) at ./viewdockareapopup.moc:73
[...]
#12 0x00007fcaa892d0cc in Mixer::qt_metacall (this=0x1a24760, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff0ad09810) at ./mixer.moc:82
Comment 33 Alfred Egger 2012-04-07 11:48:09 UTC
Created attachment 70208 [details]
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: Adding an audio device and changing the volume of internal audio

- Unusual behavior I noticed: Kmix crashed

- Custom settings of the application:

-- Backtrace (Reduced):
#7  0x00007f9b24bb6e26 in MDWSlider::update (this=0x1c726e0) at ../../kmix/gui/mdwslider.cpp:1001
#8  0x00007f9b24bb264b in ViewDockAreaPopup::refreshVolumeLevels (this=<optimized out>) at ../../kmix/gui/viewdockareapopup.cpp:168
[...]
#11 0x00007f9b24b8bb0c in Mixer_Backend::readSetFromHW (this=0x1b18760) at ../../kmix/backends/mixer_backend.cpp:155
#12 0x00007f9b24b9bdf5 in sink_cb (c=<optimized out>, i=<optimized out>, eol=<optimized out>) at ../../kmix/backends/mixer_pulse.cpp:191
[...]
#15 0x00007f9b1abb4a03 in pa_pdispatch_run () from /usr/lib/x86_64-linux-gnu/libpulsecommon-1.1.so
Comment 34 Colin Guthrie 2012-04-08 10:00:24 UTC
All the backtraces seem to point at a dupe of #290742

*** This bug has been marked as a duplicate of bug 288675 ***
Comment 35 Colin Guthrie 2012-04-08 10:01:57 UTC
Quite how I managed to paste two different bug numbers in the space of 5s I don't know. Correct dupe entered now.

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