Application: kmix (3.8) KDE Platform Version: 4.6.5 (4.6.5) Qt Version: 4.7.4 Operating System: Linux 2.6.40.4-5.fc15.i686.PAE i686 Distribution (Platform): Fedora RPMs -- Information about the crash: - What I was doing when the application crashed: I was trying to get sound by plugging my headphones in and out of the USB, as they stopped working after I updated FC15. This could be a linux problem, or an interfacing problem. - Unusual behavior I noticed: The kernel would occasionally output long streams after I unplugged the headphones. -- Backtrace: Application: KMix (kmix), signal: Segmentation fault [KCrash Handler] #7 Volume::getAvgVolume (this=0x0, chmask=Volume::MMAIN) at /usr/src/debug/kdemultimedia-4.6.5/kmix/core/volume.cpp:201 #8 0x4a7f71c1 in MDWSlider::updateInternal (this=0xa280978, vol=..., ref_sliders=..., ref_slidersChids=...) at /usr/src/debug/kdemultimedia-4.6.5/kmix/gui/mdwslider.cpp:954 #9 0x4a7f75dc in MDWSlider::update (this=0xa280978) at /usr/src/debug/kdemultimedia-4.6.5/kmix/gui/mdwslider.cpp:938 #10 0x4a7f11ea in ViewDockAreaPopup::refreshVolumeLevels (this=0xa226d20) at /usr/src/debug/kdemultimedia-4.6.5/kmix/gui/viewdockareapopup.cpp:164 #11 0x4a7ef2bf in ViewBase::qt_metacall (this=0xa226d20, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfaf3764) at /usr/src/debug/kdemultimedia-4.6.5/i686-redhat-linux-gnu/kmix/viewbase.moc:90 #12 0x4a7f0fbf in ViewDockAreaPopup::qt_metacall (this=0xa226d20, _c=QMetaObject::InvokeMetaMethod, _id=31, _a=0xbfaf3764) at /usr/src/debug/kdemultimedia-4.6.5/i686-redhat-linux-gnu/kmix/viewdockareapopup.moc:67 #13 0x4886ee3e in metacall (argv=0xbfaf3764, idx=31, cl=QMetaObject::InvokeMetaMethod, object=0xa226d20) at kernel/qmetaobject.cpp:237 #14 QMetaObject::metacall (object=0xa226d20, cl=QMetaObject::InvokeMetaMethod, idx=31, argv=0xbfaf3764) at kernel/qmetaobject.cpp:232 #15 0x4887cdca in QMetaObject::activate (sender=0xa081fb8, m=0x4a83a018, local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3278 #16 0x4a812f66 in Mixer::controlChanged (this=0xa081fb8) at /usr/src/debug/kdemultimedia-4.6.5/i686-redhat-linux-gnu/kmix/mixer.moc:111 #17 0x4a81307c in controlChangedForwarder (this=0xa081fb8) at /usr/src/debug/kdemultimedia-4.6.5/kmix/core/mixer.cpp:224 #18 Mixer::qt_metacall (this=0xa081fb8, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfaf3874) at /usr/src/debug/kdemultimedia-4.6.5/i686-redhat-linux-gnu/kmix/mixer.moc:92 #19 0x4886ee3e in metacall (argv=0xbfaf3874, idx=10, cl=QMetaObject::InvokeMetaMethod, object=0xa081fb8) at kernel/qmetaobject.cpp:237 #20 QMetaObject::metacall (object=0xa081fb8, cl=QMetaObject::InvokeMetaMethod, idx=10, argv=0xbfaf3874) at kernel/qmetaobject.cpp:232 #21 0x4887cdca in QMetaObject::activate (sender=0x9fb6c38, m=0x4a83a13c, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3278 #22 0x4a824ac6 in Mixer_Backend::controlChanged (this=0x9fb6c38) at /usr/src/debug/kdemultimedia-4.6.5/i686-redhat-linux-gnu/kmix/mixer_backend.moc:93 #23 0x4a824d00 in Mixer_Backend::readSetFromHW (this=0x9fb6c38) at /usr/src/debug/kdemultimedia-4.6.5/kmix/backends/mixer_backend.cpp:126 #24 0x4a81155b in Mixer_PULSE::triggerUpdate (this=0x9fb6c38) at /usr/src/debug/kdemultimedia-4.6.5/kmix/backends/mixer_pulse.cpp:1261 #25 0x4a819b06 in sink_input_cb (c=0x9fb10c8, i=0x0, eol=1) at /usr/src/debug/kdemultimedia-4.6.5/kmix/backends/mixer_pulse.cpp:306 #26 0x4a690a31 in context_get_sink_input_info_callback (pd=0xa0292d8, command=2, tag=607, t=0xa1b8938, userdata=0xa0ef5f8) at pulse/introspect.c:1037 #27 0x498e1e3e in run_action (pd=0xa0292d8, r=0xa0f3078, command=2, ts=0xa1b8938) at pulsecore/pdispatch.c:274 #28 0x498e2240 in pa_pdispatch_run (pd=0xa0292d8, packet=0xa26efd8, creds=0xa0863a0, userdata=0x9fb10c8) at pulsecore/pdispatch.c:326 #29 0x4a68987e in pstream_packet_callback (p=0xa0862d8, packet=0xa26efd8, creds=0xa0863a0, userdata=0x9fb10c8) at pulse/context.c:346 #30 0x498e78a3 in do_read (p=0xa0862d8) at pulsecore/pstream.c:816 #31 do_something (p=0xa0862d8) at pulsecore/pstream.c:184 #32 0x498d1f73 in callback (m=0x9fb18dc, e=0x9f0c608, fd=12, f=PA_IO_EVENT_INPUT, userdata=0xa0378b8) at pulsecore/iochannel.c:119 #33 0x49910b6a in dispatch_func (source=0x9fb18a8, callback=0, userdata=0x0) at pulse/glib-mainloop.c:585 #34 0x4ad565bf in g_main_dispatch (context=0x9e7f270) at gmain.c:2441 #35 g_main_context_dispatch (context=0x9e7f270) at gmain.c:3014 #36 0x4ad56d30 in g_main_context_iterate (context=0x9e7f270, block=1255561856, dispatch=1, self=0x9e7b708) at gmain.c:3092 #37 0x4ad5706f in g_main_context_iteration (context=0x9e7f270, may_block=1) at gmain.c:3155 #38 0x48896d58 in QEventDispatcherGlib::processEvents (this=0x9e5ab30, flags=...) at kernel/qeventdispatcher_glib.cpp:422 #39 0x49009b4b in QGuiEventDispatcherGlib::processEvents (this=0x9e5ab30, flags=...) at kernel/qguieventdispatcher_glib.cpp:207 #40 0x4886799e in QEventLoop::processEvents (this=0xbfaf4104, flags=...) at kernel/qeventloop.cpp:149 #41 0x48867bf1 in QEventLoop::exec (this=0xbfaf4104, flags=...) at kernel/qeventloop.cpp:201 #42 0x4886c35b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064 #43 0x48f52df5 in QApplication::exec () at kernel/qapplication.cpp:3755 #44 0x4a7e1c13 in kdemain (argc=3, argv=0xbfaf4364) at /usr/src/debug/kdemultimedia-4.6.5/kmix/apps/main.cpp:73 #45 0x0804866c in main (argc=3, argv=0xbfaf4364) at /usr/src/debug/kdemultimedia-4.6.5/i686-redhat-linux-gnu/kmix/kmix_dummy.cpp:3 Reported using DrKonqi
Analysis: From the Stacktrace I see the backend is Pulseaudio. The "this=0x0" we see should be "impossible", as this either references to either playback or capture volume. Both volumes have a default Object even if you do not calks md->addPlaybackVolume(v) or md->addCaptureVolume(v). #7 Volume::getAvgVolume (this=0x0, chmask=Volume::MMAIN) at /usr/src/debug/kdemultimedia-4.6.5/kmix/core/volume.cpp:201 #8 0x4a7f71c1 in MDWSlider::updateInternal (this=0xa280978, vol=..., ref_sliders=..., ref_slidersChids=...) at /usr/src/debug/kdemultimedia-4.6.5/kmix/gui/mdwslider.cpp:954
Can you please check again with KDE4.7.1? There was an Unplug-Issue that was fixed with KDE4.7.1. While I do not actually believe this is an issue in the Pulseaudio backend, I'll assign it over to Pulseaudio to give Colin a chance to check.
Just in case it's relevant (I don't think it is) there is an issue relating to USB mic unplugs in PA 1.0 due to an event flood from ALSA which happens in an RT thread. We've fixed that issue and will be releasing an update sometime very soon. That said I don't think this is the problem here.
Thomas, could you please check with a newer KDE as asked in comment #2?
Created attachment 69612 [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: In this case I just try to close Kmix... A minute before Kmix hangs several times without any reason... Problems with Kmix starts when I start using Plantronix USB wireless headphones .Audio 955. After one or two hours of using this headphones, suddenly appears very shortly but often sounds interuptings, wich are treated after reeboot. Periodically it treateds by itself, without reeboot. -- Backtrace (Reduced): #6 0x00007f8be93ca753 in MDWSlider::update (this=0x157dc70) at ../../kmix/gui/mdwslider.cpp:1001 #7 0x00007f8be93c600b in ViewDockAreaPopup::refreshVolumeLevels (this=<optimized out>) at ../../kmix/gui/viewdockareapopup.cpp:168 #8 0x00007f8be93c3311 in ViewBase::qt_metacall (this=0x156e460, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff36464ca0) at ./viewbase.moc:87 #9 0x00007f8be93c59e0 in ViewDockAreaPopup::qt_metacall (this=0x156e460, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff36464ca0) at ./viewdockareapopup.moc:73 [...] #11 0x00007f8be93e20cc in Mixer::qt_metacall (this=0x13352f0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff36464df0) at ./mixer.moc:82
I suppose bug #290742 is actually has more info on this bug... might be worth marking it as a dupe?
Created attachment 70750 [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: I reset the USB bust that the default (only) audio device is on and BOOM, this is the CLASSIC kmix crash at this point. Here is the code that I used to reset the USB bus: http://www.roman10.net/how-to-reset-usb-device-in-linux/ Since the crash is in the GUI, I suspect that ANY USB audio device that is reset or unplugged will crash this way. I have reported this before as well. -- Backtrace (Reduced): #6 0x00007f35a5950e23 in MDWSlider::update (this=0x1e51f70) at ../../kmix/gui/mdwslider.cpp:1001 #7 0x00007f35a594c64b in ViewDockAreaPopup::refreshVolumeLevels (this=<optimized out>) at ../../kmix/gui/viewdockareapopup.cpp:168 [...] #10 0x00007f35a5925b0c in Mixer_Backend::readSetFromHW (this=0x1e05c00) at ../../kmix/backends/mixer_backend.cpp:155 #11 0x00007f35a5935df5 in sink_cb (c=<optimized out>, i=<optimized out>, eol=<optimized out>) at ../../kmix/backends/mixer_pulse.cpp:191 #12 0x00007f35a3d0d944 in context_get_sink_info_callback (pd=<optimized out>, command=<optimized out>, tag=<optimized out>, t=0x1e3e020, userdata=0x1c11fa0) at pulse/introspect.c:280
Created attachment 70769 [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: Talking by Skype. When I finished my convo, it crashed. I have also experimented the same issue when I'm using my USB load speaker and I unplug them. Kmix crash -- Backtrace (Reduced): #7 0x00007f540c7bbe26 in MDWSlider::update (this=0x113d7f0) at ../../kmix/gui/mdwslider.cpp:1001 #8 0x00007f540c7b764b in ViewDockAreaPopup::refreshVolumeLevels (this=<optimized out>) at ../../kmix/gui/viewdockareapopup.cpp:168 [...] #11 0x00007f540c790b0c in Mixer_Backend::readSetFromHW (this=0x10acb50) at ../../kmix/backends/mixer_backend.cpp:155 #12 0x00007f540c7a0df5 in sink_cb (c=<optimized out>, i=<optimized out>, eol=<optimized out>) at ../../kmix/backends/mixer_pulse.cpp:191 [...] #15 0x00007f54027baa03 in pa_pdispatch_run () from /usr/lib/x86_64-linux-gnu/libpulsecommon-1.1.so
*** This bug has been marked as a duplicate of bug 290742 ***
Created attachment 70802 [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: I change the level of volum in Audacious only when i using USB Headphones. The remain at last level choosed from kmix. If i open again kmix, i can change the level of sound, but if i try to change from Audacious kmix crash. Suond is still on. -- Backtrace (Reduced): #13 0x0000003677c156f0 in context_get_sink_info_callback (pd=<optimized out>, command=<optimized out>, tag=<optimized out>, t=0xbe4af0, userdata=0xa722b0) at pulse/introspect.c:263 #14 0x000000366f227223 in run_action (pd=0xaeda60, r=0x9cf980, command=2, ts=0xbe4af0) at pulsecore/pdispatch.c:274 #15 0x000000366f227593 in pa_pdispatch_run (pd=0xaeda60, packet=<optimized out>, creds=0x6e3f10, userdata=0xa72050) at pulsecore/pdispatch.c:326 #16 0x0000003677c0ebfd in pstream_packet_callback (p=<optimized out>, packet=0xbebb30, creds=0x6e3f10, userdata=0xa72050) at pulse/context.c:346 #17 0x000000366f22be39 in do_read (p=0x6e3dc0) at pulsecore/pstream.c:816
@George Dudău That backtrace is sadly useless as there are no debug symbols for kmix installed when it was generated. But as you can see this bug is a dupe, so please try kmix 4.8.3 to see if it solves your issue.