EAGAIN errors on reading from X11 socket

Samuel Thibault samuel.thibault at ens-lyon.org
Sun Dec 21 05:22:26 PST 2008


Frederik Himpe, le Sun 21 Dec 2008 13:17:39 +0000, a écrit :
> strace shows that it is looping on an EAGAIN error when reading from  
> the X11 socket.

It also writes and reads data before getting EAGAIN.

> select(8, [7], [7], NULL, NULL)         = 1 (out [7])
> writev(7, [{"\24\0\6\0\246\1\0\0\27\0\0\0\37\0\0\0\0\0\0\0\0\341\365\5", 
> 24}], 1) = 24
> select(8, [7], [], NULL, NULL)          = 1 (in [7])
> read(7, "\1\10\4\0\362\6\0\0\37\0\0\0\0\0\0\0\306\33\0\0\0\0\0\0\0\0\0\0\0
> \0\0\0"..., 4096) = 4096
> read(7, ".background:\t#ffffff\n*XmList.for"..., 3048) = 3048
> read(7, 0xd7bcd4, 4096)                 = -1 EAGAIN (Resource temporarily 

Samuel



More information about the xorg mailing list