Even more details (libsm6 + bt full):
: sudo apt install libsm6-dbgsym
...
: 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 556105)]
[New Thread 0x7ffff2b44700 (LWP 556106)]
[New Thread 0x7ffff2343700 (LWP 556107)]
[New Thread 0x7ffff1aa7700 (LWP 556108)]
^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 full
Thread 5 (Thread 0x7ffff1aa7700 (LWP 556108)):
#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
ret = <optimized out>
pd = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737247868672,
-1123668806880414095, 140737488341918, 140737488341919, 140737488342064,
140737247865408, 1123664018334332529, 1123649042188252785}, mask_was_saved =
0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0,
canceltype = 0}}}
not_first_call = 0
#7 0x00007ffff6ed3353 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 4 (Thread 0x7ffff2343700 (LWP 556107)):
#0 0x00007ffff6ec6bbf in __GI___poll (fds=0x7fffe4014e40, nfds=2, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
resultvar = 18446744073709551100
sc_cancel_oldtype = 0
#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
ret = <optimized out>
pd = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737256896256,
-1123668806880414095, 140737265284558, 140737265284559, 140737265284704,
140737256892992, 1123658295290410609, 1123649042188252785}, mask_was_saved =
0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0,
canceltype = 0}}}
not_first_call = 0
#6 0x00007ffff6ed3353 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 3 (Thread 0x7ffff2b44700 (LWP 556106)):
#0 0x00007ffff6ec6bbf in __GI___poll (fds=0x555555645680, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
resultvar = 18446744073709551100
sc_cancel_oldtype = 0
#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
ret = <optimized out>
pd = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737265288960,
-1123668806880414095, 140737488341022, 140737488341023, 140737488341168,
140737265285696, 1123657195241911921, 1123649042188252785}, mask_was_saved =
0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0,
canceltype = 0}}}
not_first_call = 0
#6 0x00007ffff6ed3353 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
--Type <RET> for more, q to quit, c to continue without paging--
Thread 2 (Thread 0x7ffff3345700 (LWP 556105)):
#0 0x00007ffff6ec6bbf in __GI___poll (fds=0x5555556438e0, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
resultvar = 18446744073709551100
sc_cancel_oldtype = 0
#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
ret = <optimized out>
pd = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737273681664,
-1123668806880414095, 140737488340638, 140737488340639, 140737488340784,
140737273678400, 1123660497534891633, 1123649042188252785}, mask_was_saved =
0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0,
canceltype = 0}}}
not_first_call = 0
#6 0x00007ffff6ed3353 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 1 (Thread 0x7ffff3a9b180 (LWP 556101)):
#0 __libc_read (nbytes=8, buf=0x55555562dab0, fd=11) at
../sysdeps/unix/sysv/linux/read.c:26
resultvar = 18446744073709551104
sc_cancel_oldtype = 0
#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=0x5555558fe430, buf=0x55555562dab0
"\240\326bUUU", size=8) at /usr/include/X11/Xtrans/Xtranssock.c:2280
#4 0x00007ffff7f968ff in _IceRead (iceConn=iceConn@entry=0x555555674520,
nbytes=nbytes@entry=8, ptr=0x55555562dab0 "\240\326bUUU") at
../../src/misc.c:227
nread = <optimized out>
nleft = 8
#5 0x00007ffff7f9ab83 in IceProcessMessages
(iceConn=iceConn@entry=0x555555674520, replyWait=replyWait@entry=0x0,
replyReadyRet=replyReadyRet@entry=0x0) at ../../src/process.c:196
header = <optimized out>
replyReady = 0
useThisReplyWait = 0x0
retStatus = IceProcessMessagesSuccess
#6 0x00007ffff7f8fc25 in IceOpenConnection
(networkIdsList=networkIdsList@entry=0x7fffffffe048
"local/desk1:@/tmp/.ICE-unix/3585,unix/desk1:/tmp/.ICE-unix/3585",
context=context@entry=0x5555558dada0,
mustAuthenticate=mustAuthenticate@entry=0, majorOpcodeCheck=<optimized out>,
errorLength=errorLength@entry=256,
errorStringRet=errorStringRet@entry=0x7fffffffd7b0 "") at
../../src/connect.c:277
iceConn = 0x555555674520
extra = <optimized out>
i = <optimized out>
j = <optimized out>
endian = 1
gotReply = 0
ioErrorOccured = 0
setup_sequence = <optimized out>
pByteOrderMsg = 0x5555558c0800
pSetupMsg = <optimized out>
pData = <optimized out>
replyWait = {sequence_of_request = 0, major_opcode_of_request = 0,
minor_opcode_of_request = 0, reply = 0x0}
reply = {type = 1263748420, connection_reply = {type = 1263748420,
version_index = 1599098708, vendor = 0x524154534f545541 <error: Cannot access
memory at address 0x524154534f545541>, release = 0x0}, connection_error = {type
= 1263748420, error_message = 0x524154534f545541 <error: Cannot access memory
at address 0x524154534f545541>}, protocol_reply = {type = 1263748420,
major_opcode = 1599098708, version_index = 1330926913, vendor = 0x0, release =
0x0}, protocol_error = {type = 1263748420, error_message = 0x524154534f545541
<error: Cannot access memory at address 0x524154534f545541>}}
--Type <RET> for more, q to quit, c to continue without paging--
authUsableCount = 0
authUsableFlags = {0 <repeats 32 times>}
authIndices = {0 <repeats 16 times>, 2, 0 <repeats 15 times>}
#7 0x00007ffff6fcb561 in SmcOpenConnection
(networkIdsList=networkIdsList@entry=0x0, context=context@entry=0x5555558dada0,
xsmpMajorRev=xsmpMajorRev@entry=1, xsmpMinorRev=xsmpMinorRev@entry=0,
mask=mask@entry=15, callbacks=callbacks@entry=0x7fffffffd770, previousId=0x0,
clientIdRet=0x7fffffffd768, errorLength=256, errorStringRet=0x7fffffffd7b0 "")
at ../../src/sm_client.c:130
smcConn = <optimized out>
iceConn = <optimized out>
ids = 0x7fffffffe048
"local/desk1:@/tmp/.ICE-unix/3585,unix/desk1:/tmp/.ICE-unix/3585"
setupstat = <optimized out>
majorVersion = 0
minorVersion = 0
vendor = 0x0
release = 0x0
pMsg = <optimized out>
pData = <optimized out>
extra = <optimized out>
replyWait = {sequence_of_request = 0, major_opcode_of_request = 0,
minor_opcode_of_request = 0, reply = 0x0}
reply = {status = 0, client_id = 0x0}
gotReply = 0
ioErrorOccured = <optimized out>
auth_names = {0x7ffff6fd0000 "MIT-MAGIC-COOKIE-1"}
auth_procs = {0x7ffff7f91ad0 <_IcePoMagicCookie1Proc>}
versions = {{major_version = 1, minor_version = 0, process_msg_proc =
0x7ffff6fcdb40 <_SmcProcessMessage>}}
#8 0x0000555555591fda in sm_client_xsmp_startup (client=0x5555558dada0,
client_id=0x0) at eggsmclient-xsmp.c:345
xsmp = 0x5555558dada0
callbacks = {save_yourself = {callback = 0x555555593290
<xsmp_save_yourself>, client_data = 0x5555558dada0}, die = {callback =
0x555555592320 <xsmp_die>, client_data = 0x5555558dada0}, save_complete =
{callback = 0x555555593210 <xsmp_save_complete>, client_data = 0x5555558dada0},
shutdown_cancelled = {callback = 0x555555592230 <xsmp_shutdown_cancelled>,
client_data = 0x5555558dada0}}
ret_client_id = 0x0
error_string_ret =
"\000\022\220UUU\000\000\200\242_UUU\000\000J\312YUUU\000\000\300\261]UUU\000\000\320\332\377\377\377\177\000\000\350\332\377\377\377\177\000\000\340\211_UUU\000\000C\307\026\367\377\177\000\000\030\000\000\000\060\000\000\000\320\330\377\377\377\177\000\000\020\330\377\377\377\177\000\000\000iA}/⡛\340\211_UUU\000\000\037\000\000\000\000\000\000\000\377\377\377\177\000\000\000\000\n\000\000\000\000\000\000\000\320\022\220UUU\000\000\000\000\000\000\000\000\000\000\300\261]UUU\000\000\320\332\377\377\377\177\000\000\350\332\377\377\377\177\000\000\210F\030\367\377\177",
'\000' <repeats 11 times>, "iA}/⡛\200\242_UUU\000\000\222\355\030\367"...
#9 0x000055555559138f in sm_client_post_parse_func (context=<optimized out>,
group=<optimized out>, data=<optimized out>, error=<optimized out>) at
eggsmclient.c:204
client = 0x5555558dada0
#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
options = 0x5555555f9020
context = 0x5555555f89e0
extra_group = <optimized out>
va_args = {{gp_offset = 48, fp_offset = 0, overflow_arg_area =
0x7fffffffdab0, reg_save_area = 0x7fffffffda10}}
retval = <optimized out>
i = <optimized out>
argv = <optimized out>
#12 0x000055555556de8c in main (argc=<optimized out>, argv=<optimized out>) at
terminal.c:569
i = <optimized out>
argv_copy = 0x5555555d9460
argc_copy = 1
--Type <RET> for more, q to quit, c to continue without paging--
startup_id = 0x0
display_name = <optimized out>
home_dir = <optimized out>
display = <optimized out>
options = <optimized out>
error = 0x0
working_directory = 0x5555555f5d10 "/zroot/data/"
ret = 0
(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 : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp