> Date: Tue, 06 May 2014 12:48:17 -0300
> From: Fernando de Oliveira <fam...@yahoo.com.br>
> To: BLFS Development List <blfs-dev@lists.linuxfromscratch.org>
> Subject: Re: [blfs-dev] New package: zeitgeist-0.9.14
>
> Em 06-05-2014 09:03, Fernando de Oliveira escreveu:
>
> > Em 06-05-2014 05:43, Wayne Blaszczyk escreveu:
>
>
> >> Have you tried strace?
> > 
> > Interesting. I had the same suspicions. But never thought using strace.
> > Will try today. Thanks.
>
> I use:
>
> $ echo $LANG
> pt_BR.UTF-8
>
>
> Did some straces, some with "totem" (locale is pt_BR-UTF-8), some with
> "env LC_ALL=C totem".
>
> It spends some time (not much) trying to find some *pt_BR-UTF8*
> subdirectories.
>
> In both, it takes about 28s to start. The useful time to start is about
> 3s or less, it takes 25s doing "nothing". I cannot understand many
> things in the trace.
>
> Understand that it is trying to gettimeofday and this is taking the 25
> seconds, probably without success. May be wrong about that. That is
> compatible with what I see. Seems the program is completely loaded
> "immediately", no noticeable activity after that (sometimes I get the
> impression it has accessed the network interface), until the window pops up.
>
> {{{
> ...
> 11:49:58 getsockname(27, {sa_family=AF_LOCAL, NULL}, [2]) = 0
> 11:49:58 poll([{fd=27, events=POLLOUT}], 1, 0) = 1 ([{fd=27,
> revents=POLLOUT}])
> 11:49:58 send(27, "\0", 1, MSG_NOSIGNAL) = 1
> 11:49:58 send(27, "AUTH EXTERNAL 31303030\r\n", 24, MSG_NOSIGNAL) = 24
> 11:49:58 poll([{fd=27, events=POLLIN}], 1, -1) = 1 ([{fd=27,
> revents=POLLIN}])
> 11:49:58 read(27, "OK ff4231cb16366d584dc69e7a5368c"..., 2048) = 37
> 11:49:58 poll([{fd=27, events=POLLOUT}], 1, -1) = 1 ([{fd=27,
> revents=POLLOUT}])
> 11:49:58 send(27, "NEGOTIATE_UNIX_FD\r\n", 19, MSG_NOSIGNAL) = 19
> 11:49:58 poll([{fd=27, events=POLLIN}], 1, -1) = 1 ([{fd=27,
> revents=POLLIN}])
> 11:49:58 read(27, "AGREE_UNIX_FD\r\n", 2048) = 15
> 11:49:58 poll([{fd=27, events=POLLOUT}], 1, -1) = 1 ([{fd=27,
> revents=POLLOUT}])
> 11:49:58 send(27, "BEGIN\r\n", 7, MSG_NOSIGNAL) = 7
> 11:49:58 poll([{fd=27, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=27,
> revents=POLLOUT}])
> 11:49:58 sendmsg(27, {msg_name(0)=NULL,
> msg_iov(2)=[{"l\1\0\1\0\0\0\0\1\0\0\0n\0\0\0\1\1o\0\25\0\0\0/org/fre"..., 
> 128},


Looks like it's trying to do something re some freedesktop.org resource
here and in several places below.

Use strace's '-v' (iirc) to get the full content of those msg_iov() lines.


> {"", 0}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 128
> 11:49:58 clock_gettime(CLOCK_MONOTONIC, {11641, 95136217}) = 0
> 11:49:58 poll([{fd=27, events=POLLIN}], 1, 25000) = 1 ([{fd=27,
> revents=POLLIN}])
> 11:49:58 recvmsg(27, {msg_name(0)=NULL,
> msg_iov(1)=[{"l\2\1\1\n\0\0\0\1\0\0\0=\0\0\0\6\1s\0\5\0\0\0:1.76\0\0\0"...,
> 2048}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC)
> = 260
> 11:49:58 recvmsg(27, 0xbfa116d4, MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource
> temporarily unavailable)
> 11:49:58 write(3, "\1\0\0\0\0\0\0\0", 8) = 8
> 11:49:58 gettimeofday({1399387798, 469129}, NULL) = 0
> 11:49:58 sendmsg(27, {msg_name(0)=NULL,
> msg_iov(2)=[{"l\1\0\1f\0\0\0\2\0\0\0\177\0\0\0\1\1o\0\25\0\0\0/org/fre"...,
> 144}, {"a\0\0\0type='signal', interface='or"..., 102}],
> msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 246
> 11:49:58 clock_gettime(CLOCK_MONOTONIC, {11641, 96294024}) = 0
> 11:49:58 poll([{fd=27, events=POLLIN}], 1, 25000) = 1 ([{fd=27,
> revents=POLLIN}])
> 11:49:58 recvmsg(27, {msg_name(0)=NULL,
> msg_iov(1)=[{"l\2\1\1\0\0\0\0\3\0\0\0005\0\0\0\6\1s\0\5\0\0\0:1.76\0\0\0"...,
> 2048}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC)
> = 72
> 11:49:58 recvmsg(27, 0xbfa11744, MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource
> temporarily unavailable)
> 11:49:58 gettimeofday({1399387798, 470132}, NULL) = 0
> 11:49:58 sendmsg(27, {msg_name(0)=NULL,
> msg_iov(2)=[{"l\1\0\1q\0\0\0\3\0\0\0\177\0\0\0\1\1o\0\25\0\0\0/org/fre"...,
> 144}, {"l\0\0\0type='signal', interface='or"..., 113}],
> msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 257
> 11:49:58 clock_gettime(CLOCK_MONOTONIC, {11641, 97296862}) = 0
> 11:49:58 poll([{fd=27, events=POLLIN}], 1, 25000) = 1 ([{fd=27,
> revents=POLLIN}])
> 11:49:58 recvmsg(27, {msg_name(0)=NULL,
> msg_iov(1)=[{"l\2\1\1\0\0\0\0\4\0\0\0005\0\0\0\6\1s\0\5\0\0\0:1.76\0\0\0"...,
> 2048}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC)
> = 72
> 11:49:58 recvmsg(27, 0xbfa11744, MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource
> temporarily unavailable)
> 11:49:58 gettimeofday({1399387798, 471160}, NULL) = 0
> 11:49:58 sendmsg(27, {msg_name(0)=NULL,
> msg_iov(2)=[{"l\1\0\1:\0\0\0\4\0\0\0\177\0\0\0\1\1o\0\25\0\0\0/org/fre"...,
> 144}, {"5\0\0\0type='signal', interface='or"..., 58}], msg_controllen=0,
> msg_flags=0}, MSG_NOSIGNAL) = 202
> 11:49:58 clock_gettime(CLOCK_MONOTONIC, {11641, 98326357}) = 0
> 11:49:58 poll([{fd=27, events=POLLIN}], 1, 25000) = 1 ([{fd=27,
> revents=POLLIN}])
> 11:49:58 recvmsg(27, {msg_name(0)=NULL,
> msg_iov(1)=[{"l\2\1\1\0\0\0\0\5\0\0\0005\0\0\0\6\1s\0\5\0\0\0:1.76\0\0\0"...,
> 2048}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC)
> = 72
> 11:49:58 recvmsg(27, 0xbfa11744, MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource
> temporarily unavailable)
> 11:49:58 gettimeofday({1399387798, 472177}, NULL) = 0
> 11:49:58 sendmsg(27, {msg_name(0)=NULL,
> msg_iov(2)=[{"l\1\0\1\0\0\0\0\5\0\0\0e\0\0\0\1\1o\0\1\0\0\0/\0\0\0\0\0\0\0"...,
> 120}, {"", 0}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 120
> 11:49:58 clock_gettime(CLOCK_MONOTONIC, {11641, 99280374}) = 0
> 11:49:58 poll([{fd=27, events=POLLIN}], 1, 25000) = 1 ([{fd=27,
> revents=POLLIN}])
> 11:50:23 recvmsg(27, {msg_name(0)=NULL,
> msg_iov(1)=[{"l\3\1\0012\0\0\0\6\0\0\0m\0\0\0\6\1s\0\5\0\0\0:1.76\0\0\0"...,
> 2048}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC)
> = 178
> 11:50:23 recvmsg(27, 0xbfa11794, MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource
> temporarily unavailable)
> 11:50:23 write(3, "\1\0\0\0\0\0\0\0", 8) = 8
> 11:50:23 close(27)                      = 0
> 11:50:23 stat64("/usr/lib/grilo-0.2/libgrlappletrailers.so",
> {st_mode=S_IFREG|0755, st_size=58028, ...}) = 0
> 11:50:23 open("/usr/lib/grilo-0.2/libgrlappletrailers.so",
> O_RDONLY|O_CLOEXEC) = 27
> ...
> }}}
>
> In a post following this, I will attach a log in my locale pt_BR-UTF-8,
> size 48KB, hope it will pass. Will send with LC_ALL=C only if needed.
>


Similar to Bruce's post: IME timeouts of ca 10-20 secs are most often re
can't do s'thing re network.



rgds,
akh



>
>
> -- 
> []s,
> Fernando
> -- 


--
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to