Bug 212892

Summary: kmix aborts on start - assertion fails on snd_hctl_handle_events from /usr/lib64/libasound.so.2
Product: [Applications] kmix Reporter: PC LX <kde>
Component: generalAssignee: Christian Esken <esken>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description PC LX 2009-11-03 11:38:44 UTC
Application that crashed: kmix
Version of the application: 3.5
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.3
Operating System: Linux 2.6.31.5-desktop-1mnb x86_64
Distribution: "Mandriva Linux 2010.0"

What I was doing when the application crashed:
kmix, sometimes, aborts on start. Not easily reproducible.

Some system information:

$ cat /proc/asound/devices 
  0: [ 0]   : control                     
  1:        : sequencer                   
  4: [ 0- 0]: hardware dependent          
 16: [ 0- 0]: digital audio playback      
 17: [ 0- 1]: digital audio playback      
 24: [ 0- 0]: digital audio capture       
 33:        : timer

$ cat /proc/asound/cards
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xf9ff8000 irq 22

$ uname -a
Linux marte 2.6.31.5-desktop-1mnb #1 SMP Fri Oct 23 00:05:22 EDT 2009 x86_64 Intel(R) Core(TM)2 Quad CPU    Q9400  @ 2.66GHz GNU/Linux

$ cat /etc/release
Mandriva Linux release 2010.0 (Official) for x86_64

$ cat /etc/version
2010.0.0 0.5 cooker

Some package version information:

$ rpm -q -f /lib64/libc.so.6
glibc-2.10.1-6mnb2

$ rpm -q -f /usr/lib64/libasound.so.2
lib64alsa2-1.0.21a-1mdv2010.0

$ rpm -q -f $(which kmix)
kmix-4.3.2-2mdv2010.0

$ kmix --version
Qt: 4.5.3
KDE: 4.3.2 (KDE 4.3.2)
KMix: 3.5


 -- Backtrace:
Application: KMix (kdeinit4), signal: Aborted
[KCrash Handler]
#5  0x00007f26d1de0545 in raise () from /lib64/libc.so.6
#6  0x00007f26d1de1b60 in abort () from /lib64/libc.so.6
#7  0x00007f26d1dd93da in __assert_fail () from /lib64/libc.so.6
#8  0x00007f26c704bb8a in snd_hctl_handle_events () from /usr/lib64/libasound.so.2
#9  0x00007f26c70555d9 in snd_mixer_handle_events () from /usr/lib64/libasound.so.2
#10 0x00007f26c755f910 in Mixer_ALSA::prepareUpdateFromHW (this=0xdf0c20) at /usr/src/debug/kdemultimedia-4.3.2/kmix/mixer_alsa9.cpp:570
#11 0x00007f26c7569337 in Mixer_Backend::readSetFromHW (this=0x2840) at /usr/src/debug/kdemultimedia-4.3.2/kmix/mixer_backend.cpp:100
#12 0x00007f26c75687d6 in Mixer_Backend::qt_metacall (this=0xdf0c20, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>)
    at /usr/src/debug/kdemultimedia-4.3.2/build/kmix/mixer_backend.moc:71
#13 0x00007f26d48018dc in QMetaObject::activate (sender=0xe3e6a0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3112
#14 0x00007f26d4837b4e in QSocketNotifier::activated (this=0x2840, _t1=11) at .moc/release-shared/moc_qsocketnotifier.cpp:83
#15 0x00007f26d4806273 in QSocketNotifier::event (this=0xe3e6a0, e=0x7fffd5701250) at kernel/qsocketnotifier.cpp:316
#16 0x00007f26d25a712c in QApplicationPrivate::notify_helper (this=0xc4ae20, receiver=0xe3e6a0, e=0x7fffd5701250) at kernel/qapplication.cpp:4065
#17 0x00007f26d25ae3fe in QApplication::notify (this=0xc41cb0, receiver=0xe3e6a0, e=0x7fffd5701250) at kernel/qapplication.cpp:4030
#18 0x00007f26d31cb326 in KApplication::notify (this=0xc41cb0, receiver=0xe3e6a0, event=0x7fffd5701250) at /usr/src/debug/kdelibs-4.3.2/kdeui/kernel/kapplication.cpp:302
#19 0x00007f26d47ec6fc in QCoreApplication::notifyInternal (this=0xc41cb0, receiver=0xe3e6a0, event=0x7fffd5701250) at kernel/qcoreapplication.cpp:610
#20 0x00007f26d481501a in socketNotifierSourceDispatch (source=0xc4e550) at ../../src/corelib/kernel/qcoreapplication.h:213
#21 0x00007f26d15014ce in IA__g_main_context_dispatch (context=0xc4d530) at gmain.c:1960
#22 0x00007f26d1504e98 in g_main_context_iterate (context=0xc4d530, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#23 0x00007f26d1504fc0 in IA__g_main_context_iteration (context=0xc4d530, may_block=1) at gmain.c:2654
#24 0x00007f26d4814cc3 in QEventDispatcherGlib::processEvents (this=0xbaf080, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#25 0x00007f26d263a64e in QGuiEventDispatcherGlib::processEvents (this=0x2840, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#26 0x00007f26d47eb032 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#27 0x00007f26d47eb404 in QEventLoop::exec (this=0x7fffd57014b0, flags=) at kernel/qeventloop.cpp:201
#28 0x00007f26d47ed5b9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#29 0x00007f26c754abe2 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdemultimedia-4.3.2/kmix/main.cpp:71
#30 0x00000000004068b8 in launch (argc=3, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=24, envs=<value optimized out>, reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x409d9d "0") at /usr/src/debug/kdelibs-4.3.2/kinit/kinit.cpp:677
#31 0x00000000004075b0 in handle_launcher_request (sock=8, who=<value optimized out>) at /usr/src/debug/kdelibs-4.3.2/kinit/kinit.cpp:1169
#32 0x0000000000407a61 in handle_requests (waitForPid=0) at /usr/src/debug/kdelibs-4.3.2/kinit/kinit.cpp:1362
#33 0x00000000004086c2 in main (argc=2, argv=<value optimized out>, envp=<value optimized out>) at /usr/src/debug/kdelibs-4.3.2/kinit/kinit.cpp:1793

This bug may be a duplicate of or related to bug 204474

Reported using DrKonqi
Comment 1 Dario Andres 2009-11-10 02:31:56 UTC
Merging with bug 209975. Thanks

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