Bug 300507

Summary: kmix crashed when killing pulseaudio
Product: [Applications] kmix Reporter: J Bolos <joseluisbolos>
Component: generalAssignee: Christian Esken <esken>
Status: RESOLVED DUPLICATE    
Severity: crash CC: adaptee
Priority: NOR    
Version: 4   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description J Bolos 2012-05-23 15:35:28 UTC
Application: kmix (4)
KDE Platform Version: 4.8.2 (4.8.2)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-24-generic x86_64
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:

I started a Wine application and the sound output was corrupted. It usually is solved doing a reebot, but this time I tried executing on the console:
pulseaudio --kill
trying to restart the sound system and kmix crashed.

I understand a "normal" user wouldn't need to go on killing the sound system, but kmix should not crash anyway if pulseaudio dies for whatever reason.

The crash can be reproduced every time.

-- Backtrace:
Application: KMix (kmix), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f61e8ea2780 (LWP 2497))]

Thread 3 (Thread 0x7f61c96fa700 (LWP 2499)):
#0  0x00007f61e8769b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f61de575ff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f61de576124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f61e54f0426 in QEventDispatcherGlib::processEvents (this=0x7f61c40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f61e54bfc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f61e54bfed7 in QEventLoop::exec (this=0x7f61c96f9dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f61e53befa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f61e549f9ff in QInotifyFileSystemWatcherEngine::run (this=0x181e3b0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f61e53c1fcb in QThreadPrivate::start (arg=0x181e3b0) at thread/qthread_unix.cpp:298
#9  0x00007f61df0dce9a in start_thread (arg=0x7f61c96fa700) at pthread_create.c:308
#10 0x00007f61e87754bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f61c8ced700 (LWP 2556)):
#0  0x00007f61e8769b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f61de575ff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f61de576124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f61e54f0426 in QEventDispatcherGlib::processEvents (this=0x7f61b80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f61e54bfc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f61e54bfed7 in QEventLoop::exec (this=0x7f61c8cecdd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f61e53befa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f61e549f9ff in QInotifyFileSystemWatcherEngine::run (this=0x18a8d00) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f61e53c1fcb in QThreadPrivate::start (arg=0x18a8d00) at thread/qthread_unix.cpp:298
#9  0x00007f61df0dce9a in start_thread (arg=0x7f61c8ced700) at pthread_create.c:308
#10 0x00007f61e87754bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f61e8ea2780 (LWP 2497)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007f61e8a95e26 in MDWSlider::update (this=0x1897e80) at ../../kmix/gui/mdwslider.cpp:1001
#8  0x00007f61e8a9164b in ViewDockAreaPopup::refreshVolumeLevels (this=<optimized out>) at ../../kmix/gui/viewdockareapopup.cpp:168
#9  0x00007f61e54d5281 in QMetaObject::activate (sender=0x14f66d0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#10 0x00007f61e54d5281 in QMetaObject::activate (sender=0x17f4690, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#11 0x00007f61e8a6ab0c in Mixer_Backend::readSetFromHW (this=0x17f4690) at ../../kmix/backends/mixer_backend.cpp:155
#12 0x00007f61e8a7adf5 in sink_cb (c=<optimized out>, i=<optimized out>, eol=<optimized out>) at ../../kmix/backends/mixer_pulse.cpp:191
#13 0x00007f61e6e52944 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#14 0x00007f61dea94693 in ?? () from /usr/lib/x86_64-linux-gnu/libpulsecommon-1.1.so
#15 0x00007f61dea94a03 in pa_pdispatch_run () from /usr/lib/x86_64-linux-gnu/libpulsecommon-1.1.so
#16 0x00007f61e6e48bdd in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#17 0x00007f61dea992a9 in ?? () from /usr/lib/x86_64-linux-gnu/libpulsecommon-1.1.so
#18 0x00007f61e6c36ab3 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse-mainloop-glib.so.0
#19 0x00007f61de575c9a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f61de576060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f61de576124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f61e54f03bf in QEventDispatcherGlib::processEvents (this=0x14a9ad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#23 0x00007f61e61dad5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#24 0x00007f61e54bfc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#25 0x00007f61e54bfed7 in QEventLoop::exec (this=0x7fffc68ffe40, flags=...) at kernel/qeventloop.cpp:204
#26 0x00007f61e54c4f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#27 0x00007f61e8a823e2 in kdemain (argc=3, argv=0x7fffc69003c8) at ../../kmix/apps/main.cpp:76
#28 0x00007f61e86a476d in __libc_start_main (main=0x400630 <main(int, char**)>, argc=3, ubp_av=0x7fffc69003c8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffc69003b8) at libc-start.c:226
#29 0x0000000000400661 in _start ()

Possible duplicates by query: bug 300501, bug 300431, bug 300391, bug 300374, bug 300324.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-05-23 15:44:55 UTC

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