Public bug reported:
Ubuntu 9.10 amd64 Games with SDL, like UrbanTerror, sometimes have problems with sound, like sounds is muted from the start of program, or it suddenly dies during usage (and then console is full of "Dropped sound.") Also, if this happens, then game hangs during existing while "closing sound system" $ grep "^Codec\|^Vendor Id\|^Subsystem Id\|^Revision Id" /proc/asound/card*/*codec*{,/*} | grep -B2 -A1 $(lspci -nv | grep -A1 0403 | grep Subsystem | sed 's/://g' | awk '{ print $2 }') grep: /proc/asound/card*/*codec*/*: No such file or directory /proc/asound/card0/codec#2:Codec: Analog Devices AD1882 /proc/asound/card0/codec#2:Vendor Id: 0x11d41882 /proc/asound/card0/codec#2:Subsystem Id: 0x80861003 /proc/asound/card0/codec#2:Revision Id: 0x100300 $ cat /proc/asound/cards 0 [Intel ]: HDA-Intel - HDA Intel HDA Intel at 0xd3220000 irq 22 Debugging UrbanTerror than hang while exiting (using ALSA): 0x00007f8c5ae2ecfd in pthread_join (threadid=140240324983056, thread_return=0x0) at pthread_join.c:89 89 pthread_join.c: No such file or directory. in pthread_join.c (gdb) bt #0 0x00007f8c5ae2ecfd in pthread_join (threadid=140240324983056, thread_return=0x0) at pthread_join.c:89 #1 0x00007f8c5d173f1e in SDL_WaitThread () from /usr/lib/libSDL-1.2.so.0 #2 0x00007f8c5d16b7da in SDL_AudioQuit () from /usr/lib/libSDL-1.2.so.0 #3 0x00007f8c5d16acc5 in SDL_QuitSubSystem () from /usr/lib/libSDL-1.2.so.0 #4 0x0000000000559a83 in SNDDMA_Shutdown () #5 0x000000000045728b in S_Base_Shutdown () #6 0x0000000000461d64 in S_Shutdown () #7 0x000000000041c317 in CL_Shutdown () #8 0x000000000043cc41 in Com_Quit_f () #9 0x00000000004389bb in Cbuf_Execute () #10 0x000000000043e59f in Com_Frame () #11 0x000000000054beaa in main () Debugging UrbanTerror than hang while exiting (using ALSA): $ strace -p 30522 Process 30522 attached - interrupt to quit futex(0x7f8c3ec0f9e0, FUTEX_WAIT, 30525, NULL Btw, stracing pulseaudio (although ALSA is used) gameuser 30331 1.0 0.1 272092 5136 ? Ssl 20:34 0:24 /usr/bin/pulseaudio --start strace -p 30331 futex(0x2146620, FUTEX_WAIT_PRIVATE, 0, NULL) = -1 EAGAIN (Resource temporarily unavailable) sendto(21, "\0\0\0S\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0", 20, MSG_NOSIGNAL, NULL, 0) = 20 ppoll([{fd=4, events=POLLIN}, {fd=21, events=POLLIN|POLLOUT}, {fd=29, events=POLLIN}, {fd=28, events=POLLIN}, {fd=37, events=POLLIN}, {fd=35, events=POLLIN}, {fd=7, events=POLLIN}, {fd=10, events=POLLIN}, {fd=23, events=POLLIN}, {fd=30, events=POLLIN}, {fd=34, events=POLLIN}, {fd=33, events=POLLIN}, {fd=32, events=POLLIN}, {fd=31, events=POLLIN|POLLERR|POLLHUP}, {fd=31, events=0}, {fd=24, events=POLLIN}, {fd=27, events=POLLIN}, {fd=17, events=POLLIN}, {fd=20, events=POLLIN}, {fd=16, events=POLLIN|POLLERR|POLLHUP}, {fd=16, events=0}, {fd=15, events=POLLIN}, {fd=14, events=POLLIN}, {fd=8, events=POLLIN}], 24, {7, 74111000}, NULL, 8) = 1 ([{fd=21, revents=POLLOUT}], left {7, 74106739}) sendto(21, "L\0\0\0\2L\0\0\f\351U\0\0\0\0\0\0\0\0U\0\0\0\0\0\0\0\0000TK5"..., 83, MSG_NOSIGNAL, NULL, 0) = 83 ppoll([{fd=4, events=POLLIN}, {fd=21, events=POLLIN|POLLOUT}, {fd=29, events=POLLIN}, {fd=28, events=POLLIN}, {fd=37, events=POLLIN}, {fd=35, events=POLLIN}, {fd=7, events=POLLIN}, {fd=10, events=POLLIN}, {fd=23, events=POLLIN}, {fd=30, events=POLLIN}, {fd=34, events=POLLIN}, {fd=33, events=POLLIN}, {fd=32, events=POLLIN}, {fd=31, events=POLLIN|POLLERR|POLLHUP}, {fd=31, events=0}, {fd=24, events=POLLIN}, {fd=27, events=POLLIN}, {fd=17, events=POLLIN}, {fd=20, events=POLLIN}, {fd=16, events=POLLIN|POLLERR|POLLHUP}, {fd=16, events=0}, {fd=15, events=POLLIN}, {fd=14, events=POLLIN}, {fd=8, events=POLLIN}], 24, {7, 74009000}, NULL, 8) = 1 ([{fd=21, revents=POLLOUT}], left {7, 74005089}) ppoll([{fd=4, events=POLLIN}, {fd=21, events=POLLIN}, {fd=29, events=POLLIN}, {fd=28, events=POLLIN}, {fd=37, events=POLLIN}, {fd=35, events=POLLIN}, {fd=7, events=POLLIN}, {fd=10, events=POLLIN}, {fd=23, events=POLLIN}, {fd=30, events=POLLIN}, {fd=34, events=POLLIN}, {fd=33, events=POLLIN}, {fd=32, events=POLLIN}, {fd=31, events=POLLIN|POLLERR|POLLHUP}, {fd=31, events=0}, {fd=24, events=POLLIN}, {fd=27, events=POLLIN}, {fd=17, events=POLLIN}, {fd=20, events=POLLIN}, {fd=16, events=POLLIN|POLLERR|POLLHUP}, {fd=16, events=0}, {fd=15, events=POLLIN}, {fd=14, events=POLLIN}, {fd=8, events=POLLIN}], 24, {7, 73936000}, NULL, 8) = 1 ([{fd=21, revents=POLLIN}], left {5, 572301434}) recvmsg(21, {msg_name(0)=NULL, msg_iov(1)=[{"\0\0\0\30\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0", 20}], msg_controllen=32, {cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS{pid=30522, uid=1002, gid=1002}}, msg_flags=0}, 0) = 20 ppoll([{fd=4, events=POLLIN}, {fd=21, events=POLLIN}, {fd=29, events=POLLIN}, {fd=28, events=POLLIN}, {fd=37, events=POLLIN}, {fd=35, events=POLLIN}, {fd=7, events=POLLIN}, {fd=10, events=POLLIN}, {fd=23, events=POLLIN}, {fd=30, events=POLLIN}, {fd=34, events=POLLIN}, {fd=33, events=POLLIN}, {fd=32, events=POLLIN}, {fd=31, events=POLLIN|POLLERR|POLLHUP}, {fd=31, events=0}, {fd=24, events=POLLIN}, {fd=27, events=POLLIN}, {fd=17, events=POLLIN}, {fd=20, events=POLLIN}, {fd=16, events=POLLIN|POLLERR|POLLHUP}, {fd=16, events=0}, {fd=15, events=POLLIN}, {fd=14, events=POLLIN}, {fd=8, events=POLLIN}], 24, {5, 572153000}, NULL, 8) = 1 ([{fd=21, revents=POLLIN}], left {5, 572127787}) recvmsg(21, {msg_name(0)=NULL, msg_iov(1)=[{"L\0\0\0\16L\0\0\f\352L\0\0\0\202TK5\34\312\0\17\20\257", 24}], msg_controllen=32, {cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS{pid=30522, uid=1002, gid=1002}}, msg_flags=0}, 0) = 24 write(18, "\1\0\0\0\0\0\0\0", 8) = 8 futex(0x2146620, FUTEX_WAIT_PRIVATE, 0, NULL) = -1 EAGAIN (Resource temporarily unavailable) sendto(21, "\0\0\0S\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0", 20, MSG_NOSIGNAL, NULL, 0) = 20 ppoll([{fd=4, events=POLLIN}, {fd=21, events=POLLIN|POLLOUT}, {fd=29, events=POLLIN}, {fd=28, events=POLLIN}, {fd=37, events=POLLIN}, {fd=35, events=POLLIN}, {fd=7, events=POLLIN}, {fd=10, events=POLLIN}, {fd=23, events=POLLIN}, {fd=30, events=POLLIN}, {fd=34, events=POLLIN}, {fd=33, events=POLLIN}, {fd=32, events=POLLIN}, {fd=31, events=POLLIN|POLLERR|POLLHUP}, {fd=31, events=0}, {fd=24, events=POLLIN}, {fd=27, events=POLLIN}, {fd=17, events=POLLIN}, {fd=20, events=POLLIN}, {fd=16, events=POLLIN|POLLERR|POLLHUP}, {fd=16, events=0}, {fd=15, events=POLLIN}, {fd=14, events=POLLIN}, {fd=8, events=POLLIN}], 24, {5, 571927000}, NULL, 8) = 1 ([{fd=21, revents=POLLOUT}], left {5, 571922740}) sendto(21, "L\0\0\0\2L\0\0\f\352U\0\0\0\0\0\0\0\0U\0\0\0\0\0\0\0\0000TK5"..., 83, MSG_NOSIGNAL, NULL, 0) = 83 ppoll([{fd=4, events=POLLIN}, {fd=21, events=POLLIN|POLLOUT}, {fd=29, events=POLLIN}, {fd=28, events=POLLIN}, {fd=37, events=POLLIN}, {fd=35, events=POLLIN}, {fd=7, events=POLLIN}, {fd=10, events=POLLIN}, {fd=23, events=POLLIN}, {fd=30, events=POLLIN}, {fd=34, events=POLLIN}, {fd=33, events=POLLIN}, {fd=32, events=POLLIN}, {fd=31, events=POLLIN|POLLERR|POLLHUP}, {fd=31, events=0}, {fd=24, events=POLLIN}, {fd=27, events=POLLIN}, {fd=17, events=POLLIN}, {fd=20, events=POLLIN}, {fd=16, events=POLLIN|POLLERR|POLLHUP}, {fd=16, events=0}, {fd=15, events=POLLIN}, {fd=14, events=POLLIN}, {fd=8, events=POLLIN}], 24, {5, 571825000}, NULL, 8) = 1 ([{fd=21, revents=POLLOUT}], left {5, 571820809}) ppoll([{fd=4, events=POLLIN}, {fd=21, events=POLLIN}, {fd=29, events=POLLIN}, {fd=28, events=POLLIN}, {fd=37, events=POLLIN}, {fd=35, events=POLLIN}, {fd=7, events=POLLIN}, {fd=10, events=POLLIN}, {fd=23, events=POLLIN}, {fd=30, events=POLLIN}, {fd=34, events=POLLIN}, {fd=33, events=POLLIN}, {fd=32, events=POLLIN}, {fd=31, events=POLLIN|POLLERR|POLLHUP}, {fd=31, events=0}, {fd=24, events=POLLIN}, {fd=27, events=POLLIN}, {fd=17, events=POLLIN}, {fd=20, events=POLLIN}, {fd=16, events=POLLIN|POLLERR|POLLHUP}, {fd=16, events=0}, {fd=15, events=POLLIN}, {fd=14, events=POLLIN}, {fd=8, events=POLLIN}], 24, {5, 571752000}, NULL, 8) = 1 ([{fd=21, revents=POLLIN}], left {4, 70106680}) recvmsg(21, {msg_name(0)=NULL, msg_iov(1)=[{"\0\0\0\30\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0", 20}], msg_controllen=32, {cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS{pid=30522, uid=1002, gid=1002}}, msg_flags=0}, 0) = 20 ppoll([{fd=4, events=POLLIN}, {fd=21, events=POLLIN}, {fd=29, events=POLLIN}, {fd=28, events=POLLIN}, {fd=37, events=POLLIN}, {fd=35, events=POLLIN}, {fd=7, events=POLLIN}, {fd=10, events=POLLIN}, {fd=23, events=POLLIN}, {fd=30, events=POLLIN}, {fd=34, events=POLLIN}, {fd=33, events=POLLIN}, {fd=32, events=POLLIN}, {fd=31, events=POLLIN|POLLERR|POLLHUP}, {fd=31, events=0}, {fd=24, events=POLLIN}, {fd=27, events=POLLIN}, {fd=17, events=POLLIN}, {fd=20, events=POLLIN}, {fd=16, events=POLLIN|POLLERR|POLLHUP}, {fd=16, events=0}, {fd=15, events=POLLIN}, {fd=14, events=POLLIN}, {fd=8, events=POLLIN}], 24, {4, 69960000}, NULL, 8) = 1 ([{fd=21, revents=POLLIN}], left {4, 69935136}) recvmsg(21, {msg_name(0)=NULL, msg_iov(1)=[{"L\0\0\0\16L\0\0\f\353L\0\0\0\202TK5\34\314\0\7x$", 24}], msg_controllen=32, {cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS{pid=30522, uid=1002, gid=1002}}, msg_flags=0}, 0) = 24 write(18, "\1\0\0\0\0\0\0\0", 8) = 8 futex(0x2146620, FUTEX_WAIT_PRIVATE, 0, NULL) = -1 EAGAIN (Resource temporarily unavailable) Installing libsdl1.2debian-pulseaudio seemed to help, but actually it is too early to say, because this problem happens rarerly. It worked nicely (even on ALSA) all the time, and today it gone crazy (always no sound when started game) until I re-logged, then it worked but after some time sound died suddenly. Now I try with Pulse and it seems to work so far. ProblemType: Bug Architecture: amd64 ArecordDevices: **** List of CAPTURE Hardware Devices **** card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog] Subdevices: 2/2 Subdevice #0: subdevice #0 Subdevice #1: subdevice #1 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: rafal 13701 F.... pulseaudio Card0.Amixer.info: Card hw:0 'Intel'/'HDA Intel at 0xd3220000 irq 22' Mixer name : 'Analog Devices AD1882' Components : 'HDA:11d41882,80861003,00100300' Controls : 41 Simple ctrls : 24 Date: Fri Dec 25 21:17:00 2009 DistroRelease: Ubuntu 9.10 NonfreeKernelModules: nvidia Package: alsa-base 1.0.20+dfsg-1ubuntu5 PackageArchitecture: all ProcEnviron: LANGUAGE= PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/bash ProcVersionSignature: Ubuntu 2.6.31-16.53-generic SourcePackage: alsa-driver Uname: Linux 2.6.31-16-generic x86_64 ** Affects: alsa-driver (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug -- sound via alsa, in SDL game UrbanTerror, mutes or shutters or skips https://bugs.launchpad.net/bugs/500439 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs