acroread & pdfedit fail on tmp/.X11-unix/X0 socket + libXext/src/extutil.c:126 XGE not registering

Sebastian Glita glseba at yahoo.com
Thu Nov 13 03:46:10 PST 2008


Hi,

Running `strace pdfedit *.pdf' this happens after filedescriptor 3 binds the X unix socket:

gettimeofday({1226575688, 336666}, NULL) = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 3
connect(3, {sa_family=AF_FILE, path=@"/tmp/.X11-unix/X0"...}, 20) = 0
getpeername(3, {sa_family=AF_FILE, path=@"/tmp/.X11-unix/X0\312\32\20\267"...}, [20]) = 0
uname({sys="Linux", node="localhost", ...}) = 0
access("/home/user/.Xauthority", R_OK) = 0
open("/home/user/.Xauthority", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0600, st_size=329, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ef3000
read(4, "\0\0\0\4\n\300\250\1\0\0010\0\22MIT-MAGIC-COOKIE-1\0\20"..., 4096) = 329
close(4)                                = 0
munmap(0xb7ef3000, 4096)                = 0
time(NULL)                              = 1226575688
fcntl64(3, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
select(4, [3], [3], NULL, NULL)         = 1 (out [3])
writev(3, [{"l\0\v\0\0\0\23\0\30\0"..., 10}, {"\0\0"..., 2}, {"XDM-AUTHORIZATION-1"..., 19}, {"\0"..., 1}, {"=\316\353\361\0075\310\363\352\254\31}\316\235b\3
60\227\fe(\260\f\7r"..., 24}, {""..., 0}], 6) = 56
read(3, "\1\0\v\0\0\0E\0"..., 8)        = 8
read(3, "XC\240\0\0\0 \2\377\377\37\0\0\1\0\0\24\0\377\377\1\7\0\0  \10\377\330\227\"\10T"..., 276) = 276
select(4, [3], [3], NULL, NULL)         = 1 (out [3])
writev(3, [{"b\0\5\0\f\0\0\0BIG-REQUESTS"..., 20}], 1) = 20
select(4, [3], [], NULL, NULL)          = 1 (in [3])
read(3, "\1\302\1\0\0\0\0\0\1\202\0\0\1\0\0\0\0\0\0\0\310g\206\10\0\0\0\0\364\17\34\10"..., 16384) = 32
select(4, [3], [3], NULL, NULL)         = 1 (out [3])
writev(3, [{"\202\0\1\0"..., 4}], 1)    = 4
select(4, [3], [], NULL, NULL)          = 1 (in [3])
read(3, "\1g\2\0\0\0\0\0\377\377?\0\0\0\0\0\310g\206\10\0\0\0\0\364\17\34\10\2045\0\0"..., 16384) = 32
read(3, 0x84bc928, 16384)               = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], [3], NULL, NULL)         = 1 (out [3])
writev(3, [{"7\0\5\0\0\0 \2v\0\0\0\10\0\0\0\377\377\377\0\24\0\6\0v\0\0\0\27\0\0\0\37"..., 44}, {NULL, 0}, {""..., 0}], 3) = 44

and so on, many, many EAGAIN; lastly:


read(4, "Xcur\20\0\0\0\0\0\1\0\1\0\0\0\2\0\375\377\30\0\0\0\34\0\0\0$\0\0\0\2"..., 4096) = 2368
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "Xcur\20\0\0\0\0\0\1\0\1\0\0\0\2\0\375\377\30\0\0\0\34\0\0\0$\0\0\0\2"..., 4096) = 2368
close(4)                                = 0
munmap(0xb7023000, 4096)                = 0
select(4, [3], [3], NULL, NULL)         = 1 (out [3])
writev(3, [{"\224\27\5\0\6\0\240\0\10\0\0\0left_ptr\224\27\5\0\6\0\240\0\10\0\5\0l"..., 5788}, {NULL, 0}, {""..., 0}], 3) = 5788
read(3, 0x84bc928, 16384)               = -1 EAGAIN (Resource temporarily unavailable)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

Tracing `strace acroread *.pdf' now would make me not send this email as X freezes, although the first page is displayed, but not interactive.
Opening the PDF in a browser with acroread plugin shows empty content.

I installed xorg-server 1.5.3, xf86-video-ati from git, everything else from git, except the new input dependency, because I have a yet unsupported input device.

I also got hangs one time ago, when in Xorg.0.log I found something like '[mi] ... entered an infinite loop ...'.

Thanks -- S.


      



More information about the xorg mailing list