EAGAIN errors on reading from X11 socket

Frederik Himpe fhimpe at telenet.be
Sun Dec 21 05:17:39 PST 2008


I often haven nspluginwrapper/flash 10 hanging when trying to play a Flash 
movie on my Mandriva 2009.0 x86_64 system. strace shows that it is looping 
on an EAGAIN error when reading from the X11 socket. Here's the releavant 
part of the strace output. Any idea what could be wrong? X server is 
1.4.2, latest NVidia proprietary driver...

socket(PF_FILE, SOCK_STREAM, 0)         = 7
connect(7, {sa_family=AF_FILE, path="/tmp/.X11-unix/X0"}, 110) = 0
getpeername(7, {sa_family=AF_FILE, path="/tmp/.X11-unix/X0"}, 
[4338426798757904404]) = 0
uname({sys="Linux", node="anastacia.local", ...}) = 0
access("/home/frederik/.Xauthority", R_OK) = 0
open("/home/frederik/.Xauthority", O_RDONLY) = 8
fstat(8, {st_mode=S_IFREG|0600, st_size=528, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7ff8cd212000
read(8, "\1\0\0\tAnastacia\0\00211\0\22MIT-MAGIC-COO"..., 4096) = 528
read(8, "", 4096)                       = 0
close(8)                                = 0
munmap(0x7ff8cd212000, 4096)            = 0
fcntl(7, F_GETFL)                       = 0x2 (flags O_RDWR)
fcntl(7, F_SETFL, O_RDWR|O_NONBLOCK)    = 0
fcntl(7, F_SETFD, FD_CLOEXEC)           = 0
select(8, [7], [7], NULL, NULL)         = 1 (out [7])
writev(7, [{"l\0\v\0\0\0\22\0\20\0", 10}, {"\0\0", 2}, {"MIT-MAGIC-
COOKIE-1", 18}, {"\0\0", 2}, {"B\0\360K6\t(\3023\340;\270 at o8s", 16}, {"", 
0}], 6) = 48
read(7, "\1\0\v\0\0\0\3\3", 8)          = 8
read(7, "\320\270\236\0\0\0\340\3\377\377\37\0\0\1\0\0\24\0\377\377\1\7\0
\0  \10\377\261\177\0\0"..., 3084) = 3084
brk(0xda2000)                           = 0xda2000
select(8, [7], [7], NULL, NULL)         = 1 (out [7])
writev(7, [{"7\0\5\0\0\0\340\3\246\1\0\0\10\0\0\0\377\377\377\0b\0\5\0\f\0
\0\0BIG-"..., 40}], 1) = 40
select(8, [7], [], NULL, NULL)          = 1 (in [7])
read(7, "\0011\2\0\0\0\0\0\1\204\0\0\377\177\0\0`\22\243\1\0\0\0\0|\272P\0
\0\0\0\0", 4096) = 32
select(8, [7], [7], NULL, NULL)         = 1 (out [7])
writev(7, [{"\204\0\1\0", 4}], 1)       = 4
select(8, [7], [], NULL, NULL)          = 1 (in [7])
read(7, "\1\0\3\0\0\0\0\0\377\377?\0\0\0\0\0\320\215\351\316\377\177\0\0@
\222\351\316\377\177\0\0", 4096) = 32
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 
unavailable)
select(8, [7], [7], NULL, NULL)         = 1 (out [7])
writev(7, [{"b\0\5\0\t\0\0\0XKEYBOARD\0\0\0", 20}], 1) = 20
select(8, [7], [], NULL, NULL)          = 1 (in [7])
read(7, "\1\0\5\0\0\0\0\0\1\230v\261\377\177\0\0`\22\243\1\0\0\0\0|\272P\0
\0\0\0\0", 4096) = 32
read(7, 0xd7bcd4, 4096)                 = -1 EAGAIN (Resource temporarily 
unavailable)
select(8, [7], [7], NULL, NULL)         = 1 (out [7])
writev(7, [{"\230\0\2\0\1\0\0\0", 8}], 1) = 8
select(8, [7], [], NULL, NULL)          = 1 (in [7])
read(7, "\1\1\6\0\0\0\0\0\1\0\0\0\377\177\0\0\230\0\0\0\0\0\0\0\354\271P\0
\0\0\0\0", 4096) = 32
read(7, 0xd7bcd4, 4096)                 = -1 EAGAIN (Resource temporarily 
unavailable)
select(8, [7], [7], NULL, NULL)         = 1 (out [7])
writev(7, [{"b\0\4\0\6\0\0\0RENDER\0\0", 16}], 1) = 16
select(8, [7], [], NULL, NULL)          = 1 (in [7])
read(7, "\1\0\7\0\0\0\0\0\1\237\0\266\377\177\0\0`\22\243\1\0\0\0\0|\272P\0
\0\0\0\0", 4096) = 32
read(7, 0xd7bcd4, 4096)                 = -1 EAGAIN (Resource temporarily 
unavailable)
select(8, [7], [7], NULL, NULL)         = 1 (out [7])
writev(7, [{"b\0\4\0\6\0\0\0RENDER\0\0", 16}], 1) = 16
select(8, [7], [], NULL, NULL)          = 1 (in [7])
read(7, "\1\0\10\0\0\0\0\0\1\237\0\266\377\177\0\0`\22\243\1\0\0\0\0|\272P
\0\0\0\0\0", 4096) = 32
read(7, 0xd7bcd4, 4096)                 = -1 EAGAIN (Resource temporarily 
unavailable)
select(8, [7], [7], NULL, NULL)         = 1 (out [7])
writev(7, [{"\237\0\3\0\0\0\0\0\n\0\0\0\237\1\1\0", 16}], 1) = 16
select(8, [7], [], NULL, NULL)          = 1 (in [7])
read(7, "\1\0\t\0\0\0\0\0\0\0\0\0\n\0\0\0\320\215\351\316\377\177\0\0@\222
\351\316\377\177\0\0"..., 4096) = 1708
read(7, 0xd7bcd4, 4096)                 = -1 EAGAIN (Resource temporarily 
unavailable)




More information about the xorg mailing list