More details at bt:

: sudo apt install libice6-dbg 
...
: gdb mate-terminal
...
Reading symbols from mate-terminal...
Reading symbols from 
/usr/lib/debug/.build-id/d8/a4bef96123f71cbc6a7ddfe696577b98810d23.debug...
(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 551182)]
[New Thread 0x7ffff2b44700 (LWP 551183)]
[New Thread 0x7ffff2343700 (LWP 551184)]
[New Thread 0x7ffff1aa7700 (LWP 551185)]
^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 5 (Thread 0x7ffff1aa7700 (LWP 551185)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff71b3556 in g_cond_wait_until () at 
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff7135581 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff7135ba6 in g_async_queue_timeout_pop () at 
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ffff718f429 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff718eae1 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007ffff6fae609 in start_thread (arg=<optimized out>) at 
pthread_create.c:477
#7  0x00007ffff6ed3353 in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7ffff2343700 (LWP 551184)):
#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=<optimized out>) at 
pthread_create.c:477
#6  0x00007ffff6ed3353 in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7ffff2b44700 (LWP 551183)):
#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=<optimized out>) at 
pthread_create.c:477
#6  0x00007ffff6ed3353 in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7ffff3345700 (LWP 551182)):
#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=<optimized out>) at 
pthread_create.c:477
#6  0x00007ffff6ed3353 in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7ffff3a9b180 (LWP 551178)):
#0  __libc_read (nbytes=8, buf=0x55555562dab0, fd=11) at 
../sysdeps/unix/sysv/linux/read.c:26
#1  __libc_read (fd=11, buf=buf@entry=0x55555562dab0, nbytes=nbytes@entry=8) at 
../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007ffff7f9205c in read (__nbytes=8, __buf=0x55555562dab0, 
__fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#3  _IceTransSocketRead (ciptr=0x5555557b02a0, buf=0x55555562dab0 
"\240\326bUUU", size=8) at /usr/include/X11/Xtrans/Xtranssock.c:2280
#4  0x00007ffff7f968ff in _IceRead (iceConn=iceConn@entry=0x555555685000, 
nbytes=nbytes@entry=8, ptr=0x55555562dab0 "\240\326bUUU") at 
../../src/misc.c:227
#5  0x00007ffff7f9ab83 in IceProcessMessages 
(iceConn=iceConn@entry=0x555555685000, replyWait=replyWait@entry=0x0, 
replyReadyRet=replyReadyRet@entry=0x0) at ../../src/process.c:196
#6  0x00007ffff7f8fc25 in IceOpenConnection (networkIdsList=<optimized out>, 
context=0x5555558e3da0, mustAuthenticate=0, majorOpcodeCheck=<optimized out>, 
errorLength=256, errorStringRet=0x7fffffffd7b0 "") at ../../src/connect.c:277
#7  0x00007ffff6fcb561 in SmcOpenConnection () at 
/lib/x86_64-linux-gnu/libSM.so.6
--Type <RET> for more, q to quit, c to continue without paging--
#8  0x0000555555591fda in sm_client_xsmp_startup (client=0x5555558e3da0, 
client_id=0x0) at eggsmclient-xsmp.c:345
#9  0x000055555559138f in sm_client_post_parse_func (context=<optimized out>, 
group=<optimized out>, data=<optimized out>, error=<optimized out>) at 
eggsmclient.c:204
#10 0x00007ffff7171df8 in g_option_context_parse () at 
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x000055555557a022 in terminal_options_parse (working_directory=<optimized 
out>, display_name=<optimized out>, startup_id=0x0, env=0x0, 
remote_arguments=<optimized out>, ignore_unknown_options=0, 
argcp=0x7fffffffdadc, argvp=0x7fffffffdad0, error=0x7fffffffdae8) at 
terminal-options.c:774
#12 0x000055555556de8c in main (argc=<optimized out>, argv=<optimized out>) at 
terminal.c:569
(gdb)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-session in Ubuntu.
https://bugs.launchpad.net/bugs/58171

Title:
  Connection to ICE-unix/.. socket times out so programs take minutes to
  start

Status in gnome-session package in Ubuntu:
  Confirmed
Status in xorg package in Ubuntu:
  Invalid

Bug description:
  Sometimes X11 programs take ages to start, there is no CPU activity
  and the programs seem to wait for something. Same affected programs
  are gthumb, openoffice, totem, but e.g. firefox is not affected. The
  behaviour does not always occur, but if, then it happens for all
  programs.

  Here's a strace from gthumb:

  [0] nokile:~$ strace -o log gthumb

  [ Nothing happens for about 5 minutes ]

  [1]+  Stopped                 strace -o log gthumb
  [148] nokile:~$ bg
  [1]+ strace -o log gthumb &

  [0] nokile:~$ tail  log
  chmod("/home/nikratio/.gnome2_private/", 0700) = 0
  mkdir("/home/nikratio/.gnome2/accels", 0700) = -1 EEXIST (File exists)
  socket(PF_FILE, SOCK_STREAM, 0)         = 10
  uname({sys="Linux", node="nokile", ...}) = 0
  connect(10, {sa_family=AF_FILE, path="/tmp/.ICE-unix/5122"}, 21) = 0
  fcntl64(10, F_SETFD, FD_CLOEXEC)        = 0
  write(10, "\0\1\0\0\0\0\0\0", 8)        = 8
  read(10, 0x8118548, 8)                  = ? ERESTARTSYS (To be restarted)
  --- SIGCONT (Continued) @ 0 (0) ---

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/58171/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to