Bug 104078

Summary: arts & knotify do not behave as expected
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Matthias Hopf <mhopf>
Component: KDEAssignee: Adrian Schröter <adrian.schroeter>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Critical    
Priority: P5 - None CC: anke, ensonic, Ulrich.Windl
Version: Beta 1   
Target Milestone: ---   
Hardware: i386   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 104871    

Description Matthias Hopf 2005-08-11 10:56:52 UTC
When clicking on 'Test sound' in
  Control Center / Multimedia / Sound System
(after changing something) the sound system is restarted and artsd segfaults -
at least on my laptop with a fresh SL10b1 installation.

Additionally, knotify does *not* release /dev/snd/pcm* in the time specified
with 'Auto-suspend if idle after'. I selected 1 second here, and knotify seems
to never release the device as soon as it grabbed it. This renders OSS unusable
on soundcards / on-board chipsets that only allow a single DAC for OSS. I would
also suggest a smaller timeout value (opening a device each time shouldn't be
too much overhead).

I don't know whether these effects are connected or not.

Just verified the behavior on a completely different system, it's exactly the
same. More info such as stack traces etc. upon request.
Comment 1 Stephan Kulow 2005-08-15 18:33:17 UTC
1. artsd shouldn't run at all (different bug here)   
2. the releasing of /dev/snc/pcm* should happen in time, but it shouldn't be    
   a huge problem as we use alsa beside in binary only things and some games 
   (that should use aoss wrapper) 
 
1 is not critical and 2 is said to be fixed. So I lower the severity 
Comment 2 Matthias Hopf 2005-08-16 09:59:49 UTC
If 2 is fixed, this bug is closed for me :)

Actually you typically cannot run games with aoss wrapper, because they use the
mmap() interface in order to directly manipulate the sound buffer.
Believe me, I've tried...
Comment 3 Stephan Kulow 2005-08-16 12:03:06 UTC
ok, he just claimed to fix it :) 
Comment 4 Adrian Schröter 2005-08-18 09:49:21 UTC
this is fixed now. 
 
However, there might another crash fix needed as well (but first alsa needs to 
get fixed). 
Comment 5 Anke Boernig 2005-08-31 08:34:09 UTC
I still have massive problems with knotify in beta3. After running for some
time, no sound is available anymore. Restart of knotify works, but now I get
"kcrashmanager" every time a sound is played, and after some time no sound at all.
Comment 6 Adrian Schröter 2005-08-31 08:56:26 UTC
can you provide some backtraces with -debuginfo packages installed ? 
is kdemultimedia3 installed ? 
Comment 7 Anke Boernig 2005-08-31 09:45:07 UTC
kdemultimedia3 is installed.

If you'll tell me how to get some backtraces, I will of course provide them :-)
Comment 8 Anke Boernig 2005-08-31 10:40:55 UTC
Here are 3 backtraces:

backtrace1:
----------
Using host libthread_db library "/lib/tls/libthread_db.so.1".
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread 1095173760 (LWP 11583)]
[KCrash handler]
#4  0x40007c5c in do_lookup_x () from /lib/ld-linux.so.2
#5  0x40007fd7 in _dl_lookup_symbol_x () from /lib/ld-linux.so.2
#6  0x4000b4f1 in fixup () from /lib/ld-linux.so.2
#7  0x4000b2c0 in _dl_runtime_resolve () from /lib/ld-linux.so.2
#8  0x418d668c in snd_pcm_direct_shm_discard () from /usr/lib/libasound.so.2
#9  0x418d7124 in snd_pcm_direct_parse_bindings () from /usr/lib/libasound.so.2
#10 0x418d78ea in snd_pcm_direct_server_create () from /usr/lib/libasound.so.2
#11 0x418da0a5 in snd_pcm_dmix_open () from /usr/lib/libasound.so.2
#12 0x418da6a4 in _snd_pcm_dmix_open () from /usr/lib/libasound.so.2
#13 0x418a1344 in snd_pcm_free () from /usr/lib/libasound.so.2
#14 0x418a19f6 in snd_pcm_free () from /usr/lib/libasound.so.2
#15 0x418a1c8b in snd_pcm_open_slave () from /usr/lib/libasound.so.2
#16 0x418e139f in _snd_pcm_softvol_open () from /usr/lib/libasound.so.2
#17 0x418a1344 in snd_pcm_free () from /usr/lib/libasound.so.2
#18 0x418a1cb3 in snd_pcm_open_slave () from /usr/lib/libasound.so.2
#19 0x418c1b75 in _snd_pcm_plug_open () from /usr/lib/libasound.so.2
#20 0x418a1344 in snd_pcm_free () from /usr/lib/libasound.so.2
#21 0x418a1cb3 in snd_pcm_open_slave () from /usr/lib/libasound.so.2
#22 0x418dee44 in _snd_pcm_asym_open () from /usr/lib/libasound.so.2
#23 0x418a1344 in snd_pcm_free () from /usr/lib/libasound.so.2
#24 0x418a19f6 in snd_pcm_free () from /usr/lib/libasound.so.2
#25 0x417f172e in aKode::ALSASink::open (this=0x8175380)
    at /usr/src/debug/kdemultimedia-3.4.2/akode/plugins/alsa_sink/alsa_sink.cpp:61
#26 0x4181cda9 in aKode::AutoSink::open (this=0x815b8c0)
    at /usr/src/debug/kdemultimedia-3.4.2/akode/lib/auto_sink.cpp:40
#27 0x41821aa2 in aKode::Player::open (this=0x81751a0, sinkname=@0x2002ffff)
    at /usr/src/debug/kdemultimedia-3.4.2/akode/lib/player.cpp:191
#28 0x417eb808 in aKodePlayer (this=0x8175170, parent=0x2002ffff, 
    name=0x2002ffff <Address 0x2002ffff out of bounds>)
    at /usr/src/debug/kdemultimedia-3.4.2/kdemmbackends/akode/akodeplayer.cpp:47
#29 0x417ec42a in KDE::Multimedia::aKodeBackend::createPlayer (this=0x2002ffff)
    at /usr/src/debug/kdemultimedia-3.4.2/kdemmbackends/akode/akodebackend.cpp:52
#30 0x4004a369 in KDE::Multimedia::Factory::createPlayer (this=0x80528e8)
    at factory.cpp:179
#31 0x4004b8d3 in SimplePlayer (this=0x8152c00, parent=0x2002ffff, 
    name=0x2002ffff <Address 0x2002ffff out of bounds>) at simpleplayer.cpp:52
#32 0x4003a52e in KNotify::notifyBySound (this=0xbfa95234, sound=@0xbfa94748, 
    appname=@0x2002ffff, eventId=789947910) at knotify.cpp:347
#33 0x4003c620 in KNotify::notify (this=0xbfa95234, event=@0xbfa94730, 
    fromApp=@0xbfa9472c, text=@0xbfa94728, sound=@0xbfa94748, 
    file=@0xbfa94744, present=1, level=-1, winId=35651772, eventId=789947910)
    at knotify.cpp:283
#34 0x4003d7dc in KNotify::process (this=0xbfa95234, fun=@0xbfa94964, 
    data=@0xbfa9495c, replyType=@0xbfa94954, replyData=@0x2002ffff)
    at knotify_skel.cpp:117
#35 0x40822610 in DCOPClient::receive (this=0x8053668, objId=@0xbfa9496c, 
    fun=@0xbfa94964, data=@0xbfa9495c, replyType=@0xbfa94954, 
    replyData=@0xbfa9494c) at dcopclient.cpp:1653
#36 0x40823c10 in DCOPProcessInternal (d=0x8053698, opcode=1, key=1, 
    dataReceived=@0xbfa94a28, canPost=true) at dcopclient.cpp:527
#37 0x40824268 in DCOPProcessMessage (iceConn=0x8053ce8, 
    clientObject=0x8053698, opcode=1, length=250, replyWait=0x0, 
    replyWaitRet=0xbfa94a94) at dcopclient.cpp:435
#38 0x408314ad in KDE_IceProcessMessages (iceConn=0x8053ce8, replyWait=0x0, 
    replyReadyRet=0x0)
    at /usr/src/debug/kdelibs-3.4.2/dcop/KDE-ICE/process.c:326
#39 0x4081c2f9 in DCOPClient::processSocketData (this=0x8053668, fd=0)
    at dcopclient.cpp:2031
#40 0x40824996 in DCOPClient::qt_invoke (this=0x8053668, _id=2, _o=0xbfa94c14)
    at dcopclient.moc:176
#41 0x40b3ef29 in QObject::activate_signal (this=0x8118d68, clist=0x81051b0, 
    o=0xbfa94c14) at qobject.cpp:2355
#42 0x40b3f501 in QObject::activate_signal (this=0x8118d68, signal=2, param=3)
    at qobject.cpp:2448
#43 0x40e7ffb0 in QSocketNotifier::activated (this=0x2002ffff, t0=537067519)
    at moc_qsocketnotifier.cpp:85
#44 0x40b5e1e0 in QSocketNotifier::event (this=0x8118d68, e=0xbfa94f38)
    at qsocketnotifier.cpp:258
#45 0x40adf891 in QApplication::internalNotify (this=0x2002ffff, 
    receiver=0x8118d68, e=0xbfa94f38) at qapplication.cpp:2636
#46 0x40ae0209 in QApplication::notify (this=0xbfa95154, receiver=0x8118d68, 
    e=0xbfa94f38) at qapplication.cpp:2359
#47 0x4076730e in KApplication::notify (this=0xbfa95154, receiver=0x8118d68, 
    event=0xbfa94f38) at kapplication.cpp:551
#48 0x40ad36bd in QEventLoop::activateSocketNotifiers (this=0x8106890)
    at qapplication.h:515
#49 0x40a8dd63 in QEventLoop::processEvents (this=0x8106890, 
    flags=<value optimized out>) at qeventloop_x11.cpp:383
#50 0x40af6763 in QEventLoop::enterLoop (this=0x8106890) at qeventloop.cpp:198
#51 0x40af6646 in QEventLoop::exec (this=0x8106890) at qeventloop.cpp:145
#52 0x40adf1df in QApplication::exec (this=0xbfa95154) at qapplication.cpp:2759
#53 0x4003b254 in kdemain (argc=537067519, argv=0x2002ffff) at knotify.cpp:119
#54 0x41363e60 in __libc_start_main () from /lib/tls/libc.so.6
#55 0x080485f1 in _start () at start.S:119

backtrace2:
-----------
Using host libthread_db library "/lib/tls/libthread_db.so.1".
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread 1095173760 (LWP 11531)]
[KCrash handler]
#4  0x40007c5c in do_lookup_x () from /lib/ld-linux.so.2
#5  0x40007fd7 in _dl_lookup_symbol_x () from /lib/ld-linux.so.2
#6  0x4000b4f1 in fixup () from /lib/ld-linux.so.2
#7  0x4000b2c0 in _dl_runtime_resolve () from /lib/ld-linux.so.2
#8  0x418d9d90 in snd_pcm_dmix_open () from /usr/lib/libasound.so.2
#9  0x418da6a4 in _snd_pcm_dmix_open () from /usr/lib/libasound.so.2
#10 0x418a1344 in snd_pcm_free () from /usr/lib/libasound.so.2
#11 0x418a19f6 in snd_pcm_free () from /usr/lib/libasound.so.2
#12 0x418a1c8b in snd_pcm_open_slave () from /usr/lib/libasound.so.2
#13 0x418e139f in _snd_pcm_softvol_open () from /usr/lib/libasound.so.2
#14 0x418a1344 in snd_pcm_free () from /usr/lib/libasound.so.2
#15 0x418a1cb3 in snd_pcm_open_slave () from /usr/lib/libasound.so.2
#16 0x418c1b75 in _snd_pcm_plug_open () from /usr/lib/libasound.so.2
#17 0x418a1344 in snd_pcm_free () from /usr/lib/libasound.so.2
#18 0x418a1cb3 in snd_pcm_open_slave () from /usr/lib/libasound.so.2
#19 0x418dee44 in _snd_pcm_asym_open () from /usr/lib/libasound.so.2
#20 0x418a1344 in snd_pcm_free () from /usr/lib/libasound.so.2
#21 0x418a19f6 in snd_pcm_free () from /usr/lib/libasound.so.2
#22 0x417f172e in aKode::ALSASink::open (this=0x8177340)
    at /usr/src/debug/kdemultimedia-3.4.2/akode/plugins/alsa_sink/alsa_sink.cpp:61
#23 0x4181cda9 in aKode::AutoSink::open (this=0x81596a8)
    at /usr/src/debug/kdemultimedia-3.4.2/akode/lib/auto_sink.cpp:40
#24 0x41821aa2 in aKode::Player::open (this=0x819b9a0, sinkname=@0x1)
    at /usr/src/debug/kdemultimedia-3.4.2/akode/lib/player.cpp:191
#25 0x417eb808 in aKodePlayer (this=0x819b970, parent=0x1, 
    name=0x1 <Address 0x1 out of bounds>)
    at /usr/src/debug/kdemultimedia-3.4.2/kdemmbackends/akode/akodeplayer.cpp:47
#26 0x417ec42a in KDE::Multimedia::aKodeBackend::createPlayer (this=0x1)
    at /usr/src/debug/kdemultimedia-3.4.2/kdemmbackends/akode/akodebackend.cpp:52
#27 0x4004a369 in KDE::Multimedia::Factory::createPlayer (this=0x80528e8)
    at factory.cpp:179
#28 0x4004b8d3 in SimplePlayer (this=0x81772b0, parent=0x1, 
    name=0x1 <Address 0x1 out of bounds>) at simpleplayer.cpp:52
#29 0x4003a52e in KNotify::notifyBySound (this=0xbfa95234, sound=@0xbfa94748, 
    appname=@0x1, eventId=1703947226) at knotify.cpp:347
#30 0x4003c620 in KNotify::notify (this=0xbfa95234, event=@0xbfa94730, 
    fromApp=@0xbfa9472c, text=@0xbfa94728, sound=@0xbfa94748, 
    file=@0xbfa94744, present=1, level=-1, winId=35651772, eventId=1703947226)
    at knotify.cpp:283
#31 0x4003d7dc in KNotify::process (this=0xbfa95234, fun=@0xbfa94964, 
    data=@0xbfa9495c, replyType=@0xbfa94954, replyData=@0x1)
    at knotify_skel.cpp:117
#32 0x40822610 in DCOPClient::receive (this=0x8053668, objId=@0xbfa9496c, 
    fun=@0xbfa94964, data=@0xbfa9495c, replyType=@0xbfa94954, 
    replyData=@0xbfa9494c) at dcopclient.cpp:1653
#33 0x40823c10 in DCOPProcessInternal (d=0x8053698, opcode=1, key=1, 
    dataReceived=@0xbfa94a28, canPost=true) at dcopclient.cpp:527
#34 0x40824268 in DCOPProcessMessage (iceConn=0x8053ce8, 
    clientObject=0x8053698, opcode=1, length=274, replyWait=0x0, 
    replyWaitRet=0xbfa94a94) at dcopclient.cpp:435
#35 0x408314ad in KDE_IceProcessMessages (iceConn=0x8053ce8, replyWait=0x0, 
    replyReadyRet=0x0)
    at /usr/src/debug/kdelibs-3.4.2/dcop/KDE-ICE/process.c:326
#36 0x4081c2f9 in DCOPClient::processSocketData (this=0x8053668, fd=0)
    at dcopclient.cpp:2031
#37 0x40824996 in DCOPClient::qt_invoke (this=0x8053668, _id=2, _o=0xbfa94c14)
    at dcopclient.moc:176
#38 0x40b3ef29 in QObject::activate_signal (this=0x8118d68, clist=0x81051b0, 
    o=0xbfa94c14) at qobject.cpp:2355
#39 0x40b3f501 in QObject::activate_signal (this=0x8118d68, signal=2, param=3)
    at qobject.cpp:2448
#40 0x40e7ffb0 in QSocketNotifier::activated (this=0x1, t0=1)
    at moc_qsocketnotifier.cpp:85
#41 0x40b5e1e0 in QSocketNotifier::event (this=0x8118d68, e=0xbfa94f38)
    at qsocketnotifier.cpp:258
#42 0x40adf891 in QApplication::internalNotify (this=0x1, receiver=0x8118d68, 
    e=0xbfa94f38) at qapplication.cpp:2636
#43 0x40ae0209 in QApplication::notify (this=0xbfa95154, receiver=0x8118d68, 
    e=0xbfa94f38) at qapplication.cpp:2359
#44 0x4076730e in KApplication::notify (this=0xbfa95154, receiver=0x8118d68, 
    event=0xbfa94f38) at kapplication.cpp:551
#45 0x40ad36bd in QEventLoop::activateSocketNotifiers (this=0x8106890)
    at qapplication.h:515
#46 0x40a8dd63 in QEventLoop::processEvents (this=0x8106890, 
    flags=<value optimized out>) at qeventloop_x11.cpp:383
#47 0x40af6763 in QEventLoop::enterLoop (this=0x8106890) at qeventloop.cpp:198
#48 0x40af6646 in QEventLoop::exec (this=0x8106890) at qeventloop.cpp:145
#49 0x40adf1df in QApplication::exec (this=0xbfa95154) at qapplication.cpp:2759
#50 0x4003b254 in kdemain (argc=1, argv=0x1) at knotify.cpp:119
#51 0x41363e60 in __libc_start_main () from /lib/tls/libc.so.6
#52 0x080485f1 in _start () at start.S:119

backtrace3:
-----------
Using host libthread_db library "/lib/tls/libthread_db.so.1".
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread 1095173760 (LWP 11816)]
[KCrash handler]
#4  0x40007c5c in do_lookup_x () from /lib/ld-linux.so.2
#5  0x40007fd7 in _dl_lookup_symbol_x () from /lib/ld-linux.so.2
#6  0x4000b4f1 in fixup () from /lib/ld-linux.so.2
#7  0x4000b2c0 in _dl_runtime_resolve () from /lib/ld-linux.so.2
#8  0x418d668c in snd_pcm_direct_shm_discard () from /usr/lib/libasound.so.2
#9  0x418d7124 in snd_pcm_direct_parse_bindings () from /usr/lib/libasound.so.2
#10 0x418d78ea in snd_pcm_direct_server_create () from /usr/lib/libasound.so.2
#11 0x418da0a5 in snd_pcm_dmix_open () from /usr/lib/libasound.so.2
#12 0x418da6a4 in _snd_pcm_dmix_open () from /usr/lib/libasound.so.2
#13 0x418a1344 in snd_pcm_free () from /usr/lib/libasound.so.2
#14 0x418a19f6 in snd_pcm_free () from /usr/lib/libasound.so.2
#15 0x418a1c8b in snd_pcm_open_slave () from /usr/lib/libasound.so.2
#16 0x418e139f in _snd_pcm_softvol_open () from /usr/lib/libasound.so.2
#17 0x418a1344 in snd_pcm_free () from /usr/lib/libasound.so.2
#18 0x418a1cb3 in snd_pcm_open_slave () from /usr/lib/libasound.so.2
#19 0x418c1b75 in _snd_pcm_plug_open () from /usr/lib/libasound.so.2
#20 0x418a1344 in snd_pcm_free () from /usr/lib/libasound.so.2
#21 0x418a1cb3 in snd_pcm_open_slave () from /usr/lib/libasound.so.2
#22 0x418dee44 in _snd_pcm_asym_open () from /usr/lib/libasound.so.2
#23 0x418a1344 in snd_pcm_free () from /usr/lib/libasound.so.2
#24 0x418a19f6 in snd_pcm_free () from /usr/lib/libasound.so.2
#25 0x417f172e in aKode::ALSASink::open (this=0x8176440)
    at /usr/src/debug/kdemultimedia-3.4.2/akode/plugins/alsa_sink/alsa_sink.cpp:61
#26 0x4181cda9 in aKode::AutoSink::open (this=0x8177018)
    at /usr/src/debug/kdemultimedia-3.4.2/akode/lib/auto_sink.cpp:40
#27 0x41821aa2 in aKode::Player::open (this=0x81751a0, sinkname=@0x20025226)
    at /usr/src/debug/kdemultimedia-3.4.2/akode/lib/player.cpp:191
#28 0x417eb808 in aKodePlayer (this=0x8175170, parent=0x20025226,
    name=0x20025226 <Address 0x20025226 out of bounds>)
    at /usr/src/debug/kdemultimedia-3.4.2/kdemmbackends/akode/akodeplayer.cpp:47
#29 0x417ec42a in KDE::Multimedia::aKodeBackend::createPlayer (this=0x20025226)
    at /usr/src/debug/kdemultimedia-3.4.2/kdemmbackends/akode/akodebackend.cpp:52
#30 0x4004a369 in KDE::Multimedia::Factory::createPlayer (this=0x80528e8)
    at factory.cpp:179
#31 0x4004b8d3 in SimplePlayer (this=0x8152c00, parent=0x20025226,
    name=0x20025226 <Address 0x20025226 out of bounds>) at simpleplayer.cpp:52
#32 0x4003a52e in KNotify::notifyBySound (this=0xbfa95234, sound=@0xbfa94748,
    appname=@0x20025226, eventId=99755602) at knotify.cpp:347
#33 0x4003c620 in KNotify::notify (this=0xbfa95234, event=@0xbfa94730,
    fromApp=@0xbfa9472c, text=@0xbfa94728, sound=@0xbfa94748,
    file=@0xbfa94744, present=1, level=-1, winId=35651772, eventId=99755602)
    at knotify.cpp:283
#34 0x4003d7dc in KNotify::process (this=0xbfa95234, fun=@0xbfa94964,
    data=@0xbfa9495c, replyType=@0xbfa94954, replyData=@0x20025226)
    at knotify_skel.cpp:117
#35 0x40822610 in DCOPClient::receive (this=0x8053668, objId=@0xbfa9496c,
    fun=@0xbfa94964, data=@0xbfa9495c, replyType=@0xbfa94954,
    replyData=@0xbfa9494c) at dcopclient.cpp:1653
#36 0x40823c10 in DCOPProcessInternal (d=0x8053698, opcode=1, key=1,
    dataReceived=@0xbfa94a28, canPost=true) at dcopclient.cpp:527
#37 0x40824268 in DCOPProcessMessage (iceConn=0x8053ce8,
    clientObject=0x8053698, opcode=1, length=242, replyWait=0x0,
    replyWaitRet=0xbfa94a94) at dcopclient.cpp:435
#38 0x408314ad in KDE_IceProcessMessages (iceConn=0x8053ce8, replyWait=0x0,
    replyReadyRet=0x0)
    at /usr/src/debug/kdelibs-3.4.2/dcop/KDE-ICE/process.c:326
#39 0x4081c2f9 in DCOPClient::processSocketData (this=0x8053668, fd=0)
    at dcopclient.cpp:2031
#40 0x40824996 in DCOPClient::qt_invoke (this=0x8053668, _id=2, _o=0xbfa94c14)
    at dcopclient.moc:176
#41 0x40b3ef29 in QObject::activate_signal (this=0x8118d68, clist=0x81051b0,
    o=0xbfa94c14) at qobject.cpp:2355
#42 0x40b3f501 in QObject::activate_signal (this=0x8118d68, signal=2, param=3)
    at qobject.cpp:2448
#43 0x40e7ffb0 in QSocketNotifier::activated (this=0x20025226, t0=537023014)
    at moc_qsocketnotifier.cpp:85
#44 0x40b5e1e0 in QSocketNotifier::event (this=0x8118d68, e=0xbfa94f38)
    at qsocketnotifier.cpp:258
#45 0x40adf891 in QApplication::internalNotify (this=0x20025226,
    receiver=0x8118d68, e=0xbfa94f38) at qapplication.cpp:2636
#46 0x40ae0209 in QApplication::notify (this=0xbfa95154, receiver=0x8118d68,
    e=0xbfa94f38) at qapplication.cpp:2359
#47 0x4076730e in KApplication::notify (this=0xbfa95154, receiver=0x8118d68,
    event=0xbfa94f38) at kapplication.cpp:551
#48 0x40ad36bd in QEventLoop::activateSocketNotifiers (this=0x8106890)
    at qapplication.h:515
#49 0x40a8dd63 in QEventLoop::processEvents (this=0x8106890,
    flags=<value optimized out>) at qeventloop_x11.cpp:383
#50 0x40af6749 in QEventLoop::enterLoop (this=0x8106890) at qeventloop.cpp:198
#51 0x40af6646 in QEventLoop::exec (this=0x8106890) at qeventloop.cpp:145
#52 0x40adf1df in QApplication::exec (this=0xbfa95154) at qapplication.cpp:2759
#53 0x4003b254 in kdemain (argc=537023014, argv=0x20025226) at knotify.cpp:119
#54 0x41363e60 in __libc_start_main () from /lib/tls/libc.so.6
#55 0x080485f1 in _start () at start.S:119
Comment 9 Stanislav Brabec 2006-02-20 16:46:02 UTC
*** Bug 104871 has been marked as a duplicate of this bug. ***
Comment 10 Stefan Sauer 2006-07-10 17:32:34 UTC
similar problem here:
gdb --args gst-launch-0.10 filesrc location=melo1.ogg ! oggdemux ! vorbisdec ! audioconvert ! alsasink

#0  0xb7884624 in snd_pcm_direct_parse_bindings () from /usr/lib/libasound.so.2
#1  0xb78803c1 in snd_pcm_dmix_open () from /usr/lib/libasound.so.2
#2  0xb7880fbb in _snd_pcm_dmix_open () from /usr/lib/libasound.so.2
#3  0xb784f7b5 in snd_pcm_free () from /usr/lib/libasound.so.2
#4  0xb784fe48 in snd_pcm_free () from /usr/lib/libasound.so.2
#5  0xb784ff03 in snd_pcm_open_slave () from /usr/lib/libasound.so.2
#6  0xb786b113 in _snd_pcm_plug_open () from /usr/lib/libasound.so.2
#7  0xb784f7b5 in snd_pcm_free () from /usr/lib/libasound.so.2
#8  0xb784fe48 in snd_pcm_free () from /usr/lib/libasound.so.2

where instead this works:
gdb --args gst-launch-0.10 filesrc location=melo1.ogg ! oggdemux ! vorbisdec ! audioconvert ! alsasink device=hw:2

> cat /proc/asound/cards
 0 [DSP24          ]: ICE1712 - Hoontech SoundTrack Audio DSP24
                      Hoontech SoundTrack Audio DSP24 at 0xe800, irq 193
 1 [CX8811         ]: CX88x - Conexant CX8811
                      Conexant CX8811 at 0xf8000000
 2 [default        ]: USB-Audio - C-Media USB Headphone Set
                      C-Media USB Headphone Set   at usb-0000:00:10.4-8.1.4, full speed
 3 [default_1      ]: USB-Audio - Camera
                      Camera          at usb-0000:00:10.4-8.1.3, full speed

I then removed the ~/.asoundrc which was starting dmix on hw:0 and then also hw:0 worked.