race condition in snd_pcm_drain() sometimes hangs userspace processes
Bug #18545 reported by
Joe Barnett
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-source-2.6.15 (Ubuntu) |
Fix Released
|
Medium
|
Ben Collins |
Bug Description
in breezy as of today, logging into gnome hangs. ssh'ing in and killing the esd
process causes gnome login to continue.
i also noticed that running esd from the cmdline never exits (process keeps
foreground), and assume this is the cause of the login hang.
To post a comment you must log in.
I'm seeing the same problem. (confirming)
bt of the hanged state of esd, stracing esd appears to remove the problem: i686/cmov/ libc.so. 6 wait_nocheck () from /usr/lib/ libasound. so.2 libasound. so.2 libasound. so.2 libasound. so.2 libasound. so.2 libesd. so.0 i686/cmov/ libc.so. 6
#0 0xffffe410 in ?? ()
#1 0xbfff9068 in ?? ()
#2 0xffffffff in ?? ()
#3 0x00000001 in ?? ()
#4 0xb7f1a4b5 in poll () from /lib/tls/
#5 0xb7dd3ca1 in snd_pcm_
#6 0xb7e09a2d in _snd_pcm_dmix_open () from /usr/lib/
#7 0xb7dd1a9c in snd_pcm_drain () from /usr/lib/
#8 0xb7dee0ea in _snd_pcm_rate_open () from /usr/lib/
#9 0xb7dd1a9c in snd_pcm_drain () from /usr/lib/
#10 0xb7fd12f9 in esd_audio_flush () from /usr/lib/
#11 0x0804bdd0 in clean_exit ()
#12 0x0804a927 in clean_exit ()
#13 0xb7e72e8a in __libc_start_main () from /lib/tls/
#14 0x08049751 in ?? ()
(gdb) cont
Continuing.