I kept getting "Fatal IO error: client killed" or "The application 'xchat' lost its connection to the display :0.0;".
The reason is a bogus check on the filedescriptors. The fix is from upstream (included in 1.4.2+).
Steps to Reproduce:
1. Use X
2. Wait for application to disapear (look in ~/.xsession-errrors
xserver closes connection
xserver should check errno correctly
Created attachment 179930 [details, diff]
fix (stripped from upstream)
Don't CC maintainers when you cannot assign bugs...
This patch is simple, is from upstream and of course works.
And it is really terrible when apllications keep closing without a reason. And as 1.3 is the current _stable_ version in portage, please push the patch!
(I am somehow confused nobody reported the problem before...)
Why does this depend on bug 251832? This can be pushed for 1.3. If 1.5 is stable, this bug is obsolete.
Fix is in upstream and xorg-server 1.5 is marked stable.