Bug 299284

Summary: KMix crashes when VLC player is closed
Product: [Applications] kmix Reporter: Radim Luza <iluza>
Component: generalAssignee: Christian Esken <esken>
Status: RESOLVED DUPLICATE    
Severity: crash CC: mattyiptong
Priority: NOR    
Version: 4   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Radim Luza 2012-05-03 09:03:13 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:
playing some video with VLC player (www.videolan.org) and closing VLC then

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 0x7f384e6e87c0 (LWP 25142))]

Thread 3 (Thread 0x7f382ca54700 (LWP 25143)):
#0  0x00007f384dfcbb03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f3843dd7ff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3843dd8124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f384ad52426 in QEventDispatcherGlib::processEvents (this=0x7f38280008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f384ad21c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f384ad21ed7 in QEventLoop::exec (this=0x7f382ca53cd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f384ac20fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f384ad019ff in QInotifyFileSystemWatcherEngine::run (this=0x261ef60) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f384ac23fcb in QThreadPrivate::start (arg=0x261ef60) at thread/qthread_unix.cpp:298
#9  0x00007f383fcf22da in ?? () from /usr/lib/libGL.so.1
#10 0x00007f384493ee9a in start_thread (arg=0x7f382ca54700) at pthread_create.c:308
#11 0x00007f384dfd74bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f3823ffe700 (LWP 25145)):
#0  0x00007f3843e1330a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f3843e13589 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3843dd7a09 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3843dd7f96 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f3843dd8124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f384ad52426 in QEventDispatcherGlib::processEvents (this=0x7f381c0008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f384ad21c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f384ad21ed7 in QEventLoop::exec (this=0x7f3823ffdcd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f384ac20fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f384ad019ff in QInotifyFileSystemWatcherEngine::run (this=0x2538330) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f384ac23fcb in QThreadPrivate::start (arg=0x2538330) at thread/qthread_unix.cpp:298
#11 0x00007f383fcf22da in ?? () from /usr/lib/libGL.so.1
#12 0x00007f384493ee9a in start_thread (arg=0x7f3823ffe700) at pthread_create.c:308
#13 0x00007f384dfd74bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f384e6e87c0 (LWP 25142)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007f384e2f7e26 in MDWSlider::update (this=0x27dc060) at ../../kmix/gui/mdwslider.cpp:1001
#8  0x00007f384e2f364b in ViewDockAreaPopup::refreshVolumeLevels (this=<optimized out>) at ../../kmix/gui/viewdockareapopup.cpp:168
#9  0x00007f384ad37281 in QMetaObject::activate (sender=0x27428e0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#10 0x00007f384ad37281 in QMetaObject::activate (sender=0x27595f0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#11 0x00007f384e2ccb0c in Mixer_Backend::readSetFromHW (this=0x27595f0) at ../../kmix/backends/mixer_backend.cpp:155
#12 0x00007f384e2dcdf5 in sink_cb (c=<optimized out>, i=<optimized out>, eol=<optimized out>) at ../../kmix/backends/mixer_pulse.cpp:191
#13 0x00007f384c6b4944 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#14 0x00007f38442f6693 in ?? () from /usr/lib/x86_64-linux-gnu/libpulsecommon-1.1.so
#15 0x00007f38442f6a03 in pa_pdispatch_run () from /usr/lib/x86_64-linux-gnu/libpulsecommon-1.1.so
#16 0x00007f384c6aabdd in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#17 0x00007f38442fb2a9 in ?? () from /usr/lib/x86_64-linux-gnu/libpulsecommon-1.1.so
#18 0x00007f384c498ab3 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse-mainloop-glib.so.0
#19 0x00007f3843dd7c9a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f3843dd8060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f3843dd8124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f384ad523bf in QEventDispatcherGlib::processEvents (this=0x2284ad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#23 0x00007f384ba3cd5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#24 0x00007f384ad21c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#25 0x00007f384ad21ed7 in QEventLoop::exec (this=0x7ffffecd75e0, flags=...) at kernel/qeventloop.cpp:204
#26 0x00007f384ad26f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#27 0x00007f384e2e43e2 in kdemain (argc=1, argv=0x7ffffecd7b68) at ../../kmix/apps/main.cpp:76
#28 0x00007f384df0676d in __libc_start_main (main=0x400630 <main(int, char**)>, argc=1, ubp_av=0x7ffffecd7b68, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffffecd7b58) at libc-start.c:226
#29 0x0000000000400661 in _start ()

This bug may be a duplicate of or related to bug 290742.

Possible duplicates by query: bug 299251, bug 299249, bug 299176, bug 299170, bug 299167.

Reported using DrKonqi
Comment 1 mattyiptong 2012-05-03 15:26:27 UTC
Created attachment 70834 [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:

Playing an M3U playlist with multiple MP3 files from a remote server. Every time VLC loads a new track in the list (or a track stops playing, not sure which), KMix segfaults.

This also happens sometimes when playing sound from VirtualBox or Amarok.

Kubuntu 12.04 LTS amd64 all latest updates
Linux 3.2.0-24-generic #37-Ubuntu SMP Wed Apr 25 08:43:22 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Dell Precision T3500 workstation
        *-multimedia
             description: Audio device
             product: 82801JI (ICH10 Family) HD Audio Controller
             vendor: Intel Corporation
             physical id: 1b
             bus info: pci@0000:00:1b.0
             version: 00
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi pciexpress bus_master cap_list
             configuration: driver=snd_hda_intel latency=0
             resources: irq:71 memory:f7ffc000-f7ffffff

-- Backtrace (Reduced):
#6  0x00007ff8d635be23 in MDWSlider::update (this=0xc81570) at ../../kmix/gui/mdwslider.cpp:1001
#7  0x00007ff8d635764b in ViewDockAreaPopup::refreshVolumeLevels (this=<optimized out>) at ../../kmix/gui/viewdockareapopup.cpp:168
[...]
#10 0x00007ff8d6330b0c in Mixer_Backend::readSetFromHW (this=0xbcac30) at ../../kmix/backends/mixer_backend.cpp:155
#11 0x00007ff8d6340df5 in sink_cb (c=<optimized out>, i=<optimized out>, eol=<optimized out>) at ../../kmix/backends/mixer_pulse.cpp:191
[...]
#14 0x00007ff8cc35aa03 in pa_pdispatch_run () from /usr/lib/x86_64-linux-gnu/libpulsecommon-1.1.so
Comment 2 Christian Esken 2012-05-04 19:12:20 UTC

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