GNOME Bugzilla – Bug 542296
gnome_sound needs to handle pa hangs more gracefully
Last modified: 2008-07-22 12:28:39 UTC
PulseAudio hangs more often than a deadbeat surf bum on holiday so I often get hangs in my gnome apps (like the splash screen during login, logging out of my desktop, using Pidgin, the list goes on...) Clearly gnome-sound.c needs to deal more gracefully with this... so, here's an attempt at fixing it.
Created attachment 114279 [details] [review] libgnome-esd-connection.patch
fixed in svn
That needs to handle EAGAIN and well as EINTR. http://bama.ua.edu/cgi-bin/man-cgi?poll+2
Morten: hmmm, yea, you are probably right. the poll() loop should probably also check for EAGAIN. (when I first read your comment I assumed you meant the write() loop, but EAGAIN there would be handled by the drop back to the poll() loop)
I've added a check for EAGAIN to svn
Closing this as fixed again.