I still have this (or very similar) bug on Ubuntu 20.04.6 at March 2024. Researching it. : strace firefox& [...] uname({sysname="Linux", nodename="desk1", ...}) = 0 connect(13, {sa_family=AF_UNIX, sun_path=@"/tmp/.ICE-unix/3585"}, 22) = 0 fcntl(13, F_SETFD, FD_CLOEXEC) = 0 write(13, "\0\1\0\0\0\0\0\0", 8) = 8 read(13, [hangs here] : lsof | grep ICE|grep -v ICEBUG|grep -v libICE COMMAND PID TID TASKCMD USER FD TYPE DEVICE SIZE/OFF NODE NAME mate-sess 3585 user 14u unix 0x0000000000000000 0t0 49191 @/tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 user 15u unix 0x0000000000000000 0t0 49192 /tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 user 20u unix 0x0000000000000000 0t0 45703 @/tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 user 21u unix 0x0000000000000000 0t0 42672 @/tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 user 22u unix 0x0000000000000000 0t0 47463 @/tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 user 23u unix 0x0000000000000000 0t0 96699 @/tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 user 24u unix 0x0000000000000000 0t0 50412 @/tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 user 25u unix 0x0000000000000000 0t0 9376321 @/tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 user 26u unix 0x0000000000000000 0t0 7924471 @/tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 user 27u unix 0x0000000000000000 0t0 11296459 @/tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 3610 mate-se:d user 14u unix 0x0000000000000000 0t0 49191 @/tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 3610 mate-se:d user 15u unix 0x0000000000000000 0t0 49192 /tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 3610 mate-se:d user 20u unix 0x0000000000000000 0t0 45703 @/tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 3610 mate-se:d user 21u unix 0x0000000000000000 0t0 42672 @/tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 3610 mate-se:d user 22u unix 0x0000000000000000 0t0 47463 @/tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 3610 mate-se:d user 23u unix 0x0000000000000000 0t0 96699 @/tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 3610 mate-se:d user 24u unix 0x0000000000000000 0t0 50412 @/tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 3610 mate-se:d user 25u unix 0x0000000000000000 0t0 9376321 @/tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 3610 mate-se:d user 26u unix 0x0000000000000000 0t0 7924471 @/tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 3610 mate-se:d user 27u unix 0x0000000000000000 0t0 11296459 @/tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 3611 gmain user 14u unix 0x0000000000000000 0t0 49191 @/tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 3611 gmain user 15u unix 0x0000000000000000 0t0 49192 /tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 3611 gmain user 20u unix 0x0000000000000000 0t0 45703 @/tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 3611 gmain user 21u unix 0x0000000000000000 0t0 42672 @/tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 3611 gmain user 22u unix 0x0000000000000000 0t0 47463 @/tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 3611 gmain user 23u unix 0x0000000000000000 0t0 96699 @/tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 3611 gmain user 24u unix 0x0000000000000000 0t0 50412 @/tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 3611 gmain user 25u unix 0x0000000000000000 0t0 9376321 @/tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 3611 gmain user 26u unix 0x0000000000000000 0t0 7924471 @/tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 3611 gmain user 27u unix 0x0000000000000000 0t0 11296459 @/tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 3612 dconf\x20 user 14u unix 0x0000000000000000 0t0 49191 @/tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 3612 dconf\x20 user 15u unix 0x0000000000000000 0t0 49192 /tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 3612 dconf\x20 user 20u unix 0x0000000000000000 0t0 45703 @/tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 3612 dconf\x20 user 21u unix 0x0000000000000000 0t0 42672 @/tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 3612 dconf\x20 user 22u unix 0x0000000000000000 0t0 47463 @/tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 3612 dconf\x20 user 23u unix 0x0000000000000000 0t0 96699 @/tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 3612 dconf\x20 user 24u unix 0x0000000000000000 0t0 50412 @/tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 3612 dconf\x20 user 25u unix 0x0000000000000000 0t0 9376321 @/tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 3612 dconf\x20 user 26u unix 0x0000000000000000 0t0 7924471 @/tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 3612 dconf\x20 user 27u unix 0x0000000000000000 0t0 11296459 @/tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 3613 gdbus user 14u unix 0x0000000000000000 0t0 49191 @/tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 3613 gdbus user 15u unix 0x0000000000000000 0t0 49192 /tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 3613 gdbus user 20u unix 0x0000000000000000 0t0 45703 @/tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 3613 gdbus user 21u unix 0x0000000000000000 0t0 42672 @/tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 3613 gdbus user 22u unix 0x0000000000000000 0t0 47463 @/tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 3613 gdbus user 23u unix 0x0000000000000000 0t0 96699 @/tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 3613 gdbus user 24u unix 0x0000000000000000 0t0 50412 @/tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 3613 gdbus user 25u unix 0x0000000000000000 0t0 9376321 @/tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 3613 gdbus user 26u unix 0x0000000000000000 0t0 7924471 @/tmp/.ICE-unix/3585 type=STREAM mate-sess 3585 3613 gdbus user 27u unix 0x0000000000000000 0t0 11296459 @/tmp/.ICE-unix/3585 type=STREAM : : ls -alh /tmp/.ICE-unix/ итого 36K drwxrwxrwt 2 root root 4,0K апр 19 14:28 . drwxrwxrwt 25 root root 28K апр 21 15:58 .. srwxrwxrwx 1 user user 0 апр 19 14:28 3585 : : ps auxww|grep strace user 3482 3.9 0.0 10628 1176 ? Ss апр19 116:25 strace /usr/bin/ssh-agent /usr/bin/im-launch mate-session user 104617 0.0 0.0 10628 3360 pts/4 S 15:43 0:00 strace mate-terminal user 109885 0.0 0.0 10628 3292 pts/4 S 15:46 0:00 strace firefox user 134909 0.0 0.0 9072 712 pts/4 S+ 16:00 0:00 grep --color=auto strace : ps auxww|grep 3585 user 3585 3.8 0.0 443396 19752 ? Sl апр19 114:10 mate-session user 139662 0.0 0.0 9072 712 pts/4 S+ 16:03 0:00 grep --color=auto 3585 : : lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.6 LTS Release: 20.04 Codename: focal : : cat /etc/X11/Xsession.d/99x11-common_start # $Id: 99x11-common_start 305 2005-07-03 18:51:43Z dnusinow $ # This file is sourced by Xsession(5), not executed. exec strace /usr/bin/ssh-agent /usr/bin/im-launch mate-session >/home/user/tmp/ICEBUG/xsessionstrace.log 2>&1 # vim:set ai et sts=2 sw=2 tw=80: : : tail -n50 ~user/tmp/ICEBUG/xsessionstrace.log recvmsg(3, {msg_namelen=0}, 0) = -1 EAGAIN (Ресурс временно недоступен) poll([{fd=3, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=12, events=POLLIN}, {fd=14, events=POLLIN}, {fd=15, events=POLLIN}, {fd=16, events=POLLIN}, {fd=18, events=POLLIN}, {fd=20, events=POLLIN}, {fd=21, events=POLLIN}, {fd=22, events=POLLIN}, {fd=23, events=POLLIN}, {fd=24, events=POLLIN}, {fd=25, events=POLLIN}, {fd=26, events=POLLIN}], 15, -1) = 2 ([{fd=6, revents=POLLIN}, {fd=25, revents=POLLIN}]) read(6, "\2\0\0\0\0\0\0\0", 16) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 read(25, "\1\f\1\0\r\0\0\0", 8) = 8 read(25, "\1\0\0\0\0\0\0\0\20\0\0\0_GSM_DesktopFile\0\0\0\0"..., 104) = 104 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 recvmsg(3, {msg_namelen=0}, 0) = -1 EAGAIN (Ресурс временно недоступен) poll([{fd=3, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=12, events=POLLIN}, {fd=14, events=POLLIN}, {fd=15, events=POLLIN}, {fd=16, events=POLLIN}, {fd=18, events=POLLIN}, {fd=20, events=POLLIN}, {fd=21, events=POLLIN}, {fd=22, events=POLLIN}, {fd=23, events=POLLIN}, {fd=24, events=POLLIN}, {fd=25, events=POLLIN}, {fd=26, events=POLLIN}], 15, -1) = 1 ([{fd=6, revents=POLLIN}]) read(6, "\2\0\0\0\0\0\0\0", 16) = 8 recvmsg(3, {msg_namelen=0}, 0) = -1 EAGAIN (Ресурс временно недоступен) poll([{fd=3, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=12, events=POLLIN}, {fd=14, events=POLLIN}, {fd=15, events=POLLIN}, {fd=16, events=POLLIN}, {fd=18, events=POLLIN}, {fd=20, events=POLLIN}, {fd=21, events=POLLIN}, {fd=22, events=POLLIN}, {fd=23, events=POLLIN}, {fd=24, events=POLLIN}, {fd=25, events=POLLIN}, {fd=26, events=POLLIN}], 15, -1) = 1 ([{fd=25, revents=POLLIN|POLLHUP}]) write(6, "\1\0\0\0\0\0\0\0", 8) = 8 read(25, "", 8) = 0 pipe2([27, 28], 0) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f7c0dc2cd50) = 303091 close(28) = 0 read(27, "", 8) = 0 close(27) = 0 wait4(303091, 0x55f67d345464, WNOHANG, NULL) = 0 sendmsg(11, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="l\4\1\1*\0\0\0\25\24\1\0o\0\0\0\1\1o\0\31\0\0\0/org/gno"..., iov_len=128}, {iov_base="%\0\0\0/org/gnome/SessionManager/Cl"..., iov_len=42}], msg_iovlen=2, msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 170 close(25) = 0 recvmsg(3, {msg_namelen=0}, 0) = -1 EAGAIN (Ресурс временно недоступен) poll([{fd=3, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=12, events=POLLIN}, {fd=14, events=POLLIN}, {fd=15, events=POLLIN}, {fd=16, events=POLLIN}, {fd=18, events=POLLIN}, {fd=20, events=POLLIN}, {fd=21, events=POLLIN}, {fd=22, events=POLLIN}, {fd=23, events=POLLIN}, {fd=24, events=POLLIN}, {fd=26, events=POLLIN}], 14, -1) = 3 ([{fd=6, revents=POLLIN}, {fd=11, revents=POLLIN}, {fd=12, revents=POLLIN}]) read(6, "\2\0\0\0\0\0\0\0", 16) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 recvmsg(12, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="l\4\1\1\25\0\0\0\207S\4\0\205\0\0\0\1\1o\0\30\0\0\0/org/a11"..., iov_len=2048}], msg_iovlen=1, msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 173 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 recvmsg(12, {msg_namelen=0}, MSG_CMSG_CLOEXEC) = -1 EAGAIN (Ресурс временно недоступен) write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 recvmsg(11, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="l\4\1\1%\0\0\0\242r\0\0\211\0\0\0\1\1o\0\25\0\0\0/org/fre"..., iov_len=2048}], msg_iovlen=1, msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 197 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 recvmsg(11, {msg_namelen=0}, MSG_CMSG_CLOEXEC) = -1 EAGAIN (Ресурс временно недоступен) write(6, "\1\0\0\0\0\0\0\0", 8) = 8 recvmsg(3, {msg_namelen=0}, 0) = -1 EAGAIN (Ресурс временно недоступен) poll([{fd=3, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=12, events=POLLIN}, {fd=14, events=POLLIN}, {fd=15, events=POLLIN}, {fd=16, events=POLLIN}, {fd=18, events=POLLIN}, {fd=20, events=POLLIN}, {fd=21, events=POLLIN}, {fd=22, events=POLLIN}, {fd=23, events=POLLIN}, {fd=24, events=POLLIN}, {fd=26, events=POLLIN}], 14, 0) = 1 ([{fd=6, revents=POLLIN}]) read(6, "\6\0\0\0\0\0\0\0", 16) = 8 recvmsg(3, {msg_namelen=0}, 0) = -1 EAGAIN (Ресурс временно недоступен) poll([{fd=3, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=12, events=POLLIN}, {fd=14, events=POLLIN}, {fd=15, events=POLLIN}, {fd=16, events=POLLIN}, {fd=18, events=POLLIN}, {fd=20, events=POLLIN}, {fd=21, events=POLLIN}, {fd=22, events=POLLIN}, {fd=23, events=POLLIN}, {fd=24, events=POLLIN}, {fd=26, events=POLLIN}], 14, -1) = 1 ([{fd=11, revents=POLLIN}]) write(6, "\1\0\0\0\0\0\0\0", 8) = 8 recvmsg(11, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="l\4\1\1%\0\0\0\243r\0\0\211\0\0\0\1\1o\0\25\0\0\0/org/fre"..., iov_len=2048}], msg_iovlen=1, msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 197 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 recvmsg(11, {msg_namelen=0}, MSG_CMSG_CLOEXEC) = -1 EAGAIN (Ресурс временно недоступен) write(6, "\1\0\0\0\0\0\0\0", 8) = 8 recvmsg(3, {msg_namelen=0}, 0) = -1 EAGAIN (Ресурс временно недоступен) poll([{fd=3, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=12, events=POLLIN}, {fd=14, events=POLLIN}, {fd=15, events=POLLIN}, {fd=16, events=POLLIN}, {fd=18, events=POLLIN}, {fd=20, events=POLLIN}, {fd=21, events=POLLIN}, {fd=22, events=POLLIN}, {fd=23, events=POLLIN}, {fd=24, events=POLLIN}, {fd=26, events=POLLIN}], 14, 0) = 1 ([{fd=6, revents=POLLIN}]) read(6, "\3\0\0\0\0\0\0\0", 16) = 8 recvmsg(3, {msg_namelen=0}, 0) = -1 EAGAIN (Ресурс временно недоступен) poll([{fd=3, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=12, events=POLLIN}, {fd=14, events=POLLIN}, {fd=15, events=POLLIN}, {fd=16, events=POLLIN}, {fd=18, events=POLLIN}, {fd=20, events=POLLIN}, {fd=21, events=POLLIN}, {fd=22, events=POLLIN}, {fd=23, events=POLLIN}, {fd=24, events=POLLIN}, {fd=26, events=POLLIN}], 14, -1: : gdb mate-terminal ... (gdb) run Starting program: /usr/bin/mate-terminal [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7ffff3345700 (LWP 159073)] [New Thread 0x7ffff2b44700 (LWP 159074)] [New Thread 0x7ffff2343700 (LWP 159075)] [New Thread 0x7ffff1aa7700 (LWP 159076)] [Thread 0x7ffff1aa7700 (LWP 159076) exited] ^C Thread 1 "mate-terminal" received signal SIGINT, Interrupt. __libc_read (nbytes=8, buf=0x55555562dab0, fd=11) at ../sysdeps/unix/sysv/linux/read.c:26 26 ../sysdeps/unix/sysv/linux/read.c: Нет такого файла или каталога. (gdb) thread apply all bt Thread 4 (Thread 0x7ffff2343700 (LWP 159075)): #0 0x00007ffff6ec6bbf in __GI___poll (fds=0x7fffe4014e40, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007ffff716536e in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007ffff71656f3 in g_main_loop_run () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007ffff73bbf8a in () at /lib/x86_64-linux-gnu/libgio-2.0.so.0 #4 0x00007ffff718eae1 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007ffff6fae609 in start_thread (arg=) at pthread_create.c:477 #6 0x00007ffff6ed3353 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 3 (Thread 0x7ffff2b44700 (LWP 159074)): #0 0x00007ffff6ec6bbf in __GI___poll (fds=0x555555645680, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007ffff716536e in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007ffff71654a3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007ffff344d99d in () at /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so #4 0x00007ffff718eae1 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007ffff6fae609 in start_thread (arg=) at pthread_create.c:477 #6 0x00007ffff6ed3353 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 2 (Thread 0x7ffff3345700 (LWP 159073)): #0 0x00007ffff6ec6bbf in __GI___poll (fds=0x5555556438e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007ffff716536e in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007ffff71654a3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007ffff71654f1 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007ffff718eae1 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007ffff6fae609 in start_thread (arg=) at pthread_create.c:477 #6 0x00007ffff6ed3353 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 1 (Thread 0x7ffff3a9b180 (LWP 159008)): #0 __libc_read (nbytes=8, buf=0x55555562dab0, fd=11) at ../sysdeps/unix/sysv/linux/read.c:26 #1 __libc_read (fd=11, buf=0x55555562dab0, nbytes=8) at ../sysdeps/unix/sysv/linux/read.c:24 #2 0x00007ffff7f9205c in () at /lib/x86_64-linux-gnu/libICE.so.6 #3 0x00007ffff7f968ff in _IceRead () at /lib/x86_64-linux-gnu/libICE.so.6 #4 0x00007ffff7f9ab83 in IceProcessMessages () at /lib/x86_64-linux-gnu/libICE.so.6 #5 0x00007ffff7f8fc25 in IceOpenConnection () at /lib/x86_64-linux-gnu/libICE.so.6 #6 0x00007ffff6fcb561 in SmcOpenConnection () at /lib/x86_64-linux-gnu/libSM.so.6 #7 0x0000555555591fda in sm_client_xsmp_startup (client=0x5555558e49a0, client_id=0x0) at eggsmclient-xsmp.c:345 #8 0x000055555559138f in sm_client_post_parse_func (context=, group=, data=, error=) at eggsmclient.c:204 #9 0x00007ffff7171df8 in g_option_context_parse () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #10 0x000055555557a022 in terminal_options_parse (working_directory=, display_name=, startup_id=0x0, env=0x0, remote_arguments=, ignore_unknown_options=0, argcp=0x7fffffffdadc, argvp=0x7fffffffdad0, error=0x7fffffffdae8) at terminal-options.c:774 #11 0x000055555556de8c in main (argc=, argv=) at terminal.c:569 (gdb) ^C : strace mate-terminal& [...] uname({sysname="Linux", nodename="desk1", ...}) = 0 connect(11, {sa_family=AF_UNIX, sun_path=@"/tmp/.ICE-unix/3585"}, 22) = 0 fcntl(11, F_SETFD, FD_CLOEXEC) = 0 write(11, "\0\1\0\0\0\0\0\0", 8) = 8 read(11, [hangs here] root@desk1:~# strace -r -p 3585 strace: Could not attach to process. If your uid matches the uid of the target process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf: Operation not permitted strace: attach: ptrace(PTRACE_SEIZE, 3585): Operation not permitted root@desk1:~# grep TracerPid /proc/3585/status TracerPid: 3482 root@desk1:~# ps auxww|grep 3482 user 3482 3.8 0.0 10628 1176 ? Ss апр19 116:25 strace /usr/bin/ssh-agent /usr/bin/im-launch mate-session root 193025 0.0 0.0 9020 720 pts/4 S+ 16:34 0:00 grep --color=auto 3482 root@desk1:~# {{{ (under another user account.) > You could also try if it works with a new user. : sudo adduser test1 ... [pressed lock screen, pressed switch user, logged into mate-session under test1] this bug doesn't trigger, and we have: test1@desk1:~$ ls /tmp/.ICE-unix/ -al итого 36 drwxrwxrwt 2 root root 4096 апр 21 19:20 . drwxrwxrwt 27 root root 28672 апр 21 19:28 .. srwxrwxrwx 1 user user 0 апр 19 14:28 3585 srwxrwxrwx 1 test1 test1 0 апр 21 19:20 480570 test1@desk1:~$ ps auxww|grep 480570 test1 480570 0.0 0.0 342832 25400 ? Ssl 19:20 0:00 mate-session test1 489847 0.0 0.0 9072 2552 pts/0 S+ 19:30 0:00 grep --color=auto 480570 test1@desk1:~$ strace -r -p 480570 strace: Process 480570 attached 0.000000 restart_syscall(<... resuming interrupted read ...>[strace hangs here]= 1 23.332188 recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="U\2\313\0%Qe\v\3\1\1\0\0\0\0\0\0\0\0\1\1\1\1\1\0\0\3\0372\2\0\0", iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 32 0.000150 recvmsg(3, {msg_namelen=0}, 0) = -1 EAGAIN (Ресурс временно недоступен) 0.000223 recvmsg(3, {msg_namelen=0}, 0) = -1 EAGAIN (Ресурс временно недоступен) 0.000081 recvmsg(3, {msg_namelen=0}, 0) = -1 EAGAIN (Ресурс временно недоступен) 0.000019 recvmsg(3, {msg_namelen=0}, 0) = -1 EAGAIN (Ресурс временно недоступен) 0.000024 poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=9, events=POLLIN}, {fd=10, events=POLLIN}, {fd=12, events=POLLIN}, {fd=13, events=POLLIN}, {fd=14, events=POLLIN}, {fd=16, events=POLLIN}, {fd=18, events=POLLIN}, {fd=19, events=POLLIN}, {fd=20, events=POLLIN}, {fd=21, events=POLLIN}, {fd=22, events=POLLIN}, {fd=23, events=POLLIN}, {fd=24, events=POLLIN}], 15, -1) = 1 ([{fd=3, revents=POLLIN}]) 0.500923 recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="U\2\313\0\33Se\v\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\3\0372\3\0\0", iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 32 0.000162 recvmsg(3, {msg_namelen=0}, 0) = -1 EAGAIN (Ресурс временно недоступен) 0.000110 recvmsg(3, {msg_namelen=0}, 0) = -1 EAGAIN (Ресурс временно недоступен) 0.000157 recvmsg(3, {msg_namelen=0}, 0) = -1 EAGAIN (Ресурс временно недоступен) 0.000086 recvmsg(3, {msg_namelen=0}, 0) = -1 EAGAIN (Ресурс временно недоступен) 0.000091 poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=9, events=POLLIN}, {fd=10, events=POLLIN}, {fd=12, events=POLLIN}, {fd=13, events=POLLIN}, {fd=14, events=POLLIN}, {fd=16, events=POLLIN}, {fd=18, events=POLLIN}, {fd=19, events=POLLIN}, {fd=20, events=POLLIN}, {fd=21, events=POLLIN}, {fd=22, events=POLLIN}, {fd=23, events=POLLIN}, {fd=24, events=POLLIN}], 15, -1) = 1 ([{fd=3, revents=POLLIN}]) 8.839959 recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="U\2\313\0\243ue\v\3\10\10\0\0\0\0\0\0\0\0\10\10\10\10\10\0\0\3\37@\2\0\0", iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 32 0.000177 recvmsg(3, {msg_namelen=0}, 0) = -1 EAGAIN (Ресурс временно недоступен) 0.000108 recvmsg(3, {msg_namelen=0}, 0) = -1 EAGAIN (Ресурс временно недоступен) 0.000154 recvmsg(3, {msg_namelen=0}, 0) = -1 EAGAIN (Ресурс временно недоступен) 0.000078 recvmsg(3, {msg_namelen=0}, 0) = -1 EAGAIN (Ресурс временно недоступен) 0.000081 poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=9, events=POLLIN}, {fd=10, events=POLLIN}, {fd=12, events=POLLIN}, {fd=13, events=POLLIN}, {fd=14, events=POLLIN}, {fd=16, events=POLLIN}, {fd=18, events=POLLIN}, {fd=19, events=POLLIN}, {fd=20, events=POLLIN}, {fd=21, events=POLLIN}, {fd=22, events=POLLIN}, {fd=23, events=POLLIN}, {fd=24, events=POLLIN}], 15, -1) = 1 ([{fd=3, revents=POLLIN}]) 0.361212 recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="U\2\313\0\rwe\v\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\3\37@\3\0\0", iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 32 0.000315 recvmsg(3, {msg_namelen=0}, 0) = -1 EAGAIN (Ресурс временно недоступен) 0.000211 recvmsg(3, {msg_namelen=0}, 0) = -1 EAGAIN (Ресурс временно недоступен) 0.000185 recvmsg(3, {msg_namelen=0}, 0) = -1 EAGAIN (Ресурс временно недоступен) 0.000121 recvmsg(3, {msg_namelen=0}, 0) = -1 EAGAIN (Ресурс временно недоступен) 0.000125 poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=9, events=POLLIN}, {fd=10, events=POLLIN}, {fd=12, events=POLLIN}, {fd=13, events=POLLIN}, {fd=14, events=POLLIN}, {fd=16, events=POLLIN}, {fd=18, events=POLLIN}, {fd=19, events=POLLIN}, {fd=20, events=POLLIN}, {fd=21, events=POLLIN}, {fd=22, events=POLLIN}, {fd=23, events=POLLIN}, {fd=24, events=POLLIN}], 15, -1[strace hangs here]^Cstrace: Process 480570 detached test1@desk1:~$ gdb mate-terminal ... (gdb) run Starting program: /usr/bin/mate-terminal [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7ffff3345700 (LWP 493447)] [New Thread 0x7ffff2b44700 (LWP 493448)] [New Thread 0x7ffff2343700 (LWP 493449)] [New Thread 0x7ffff1aa7700 (LWP 493450)] [Thread 0x7ffff2343700 (LWP 493449) exited] [Thread 0x7ffff2b44700 (LWP 493448) exited] [Thread 0x7ffff3345700 (LWP 493447) exited] [Thread 0x7ffff3a9b180 (LWP 493442) exited] [Inferior 1 (process 493442) exited normally] (gdb) /*here, a working window with mate-terminal appears and serves all ui events*/thread apply all bt [empty string output of 'thread apply all bt'](gdb) }}}