This "ltrace -tt -n4 -S xfce4-session" shows that the hang occurs in IceGenerateMagicCookie. SYS_318 is getrandom (on amd64). The third argument is "0" indicating that GRND_NONBLOCK is not used:

12:10:36.840434 g_io_channel_unref(0x555b53ced380, 1, 0, 0x7fcf05802937) = 8
12:10:36.840574 IceGetListenConnectionString(0x555b53d58420, 0x555b53d4de00, 0x555b530fb4ff, 0x555b53d58420) = 0x555b53d562f0 12:10:36.840731 IceGenerateMagicCookie(16, 0x555b53d561e0, 44, 0x555b53cdd010 <unfinished ...>
12:10:36.840849     SYS_getpid()                 = 587
12:10:36.840890     SYS_318(0x7fff1677cff0, 40, 0, 0x7fcf04916140) = 40
12:11:05.609115     SYS_mmap(0, 16, 3, 34)       = 0x7fcf09255000

See:
https://git.xfce.org/xfce/xfce4-session/tree/xfce4-session/ice-layer.c?h=xfce4-session-4.12.1#n271

Kind regards,

--
Ben Caradoc-Davies <[email protected]>
Director
Transient Software Limited <https://transient.nz/>
New Zealand

Reply via email to