Re: [Evolution] gnome 1.4



On 10 Apr 2001 22:13:45 -0400, Ettore Perazzoli wrote:
On 07 Apr 2001 10:54:57 +0200, Xavier Bestel wrote:
I just measured it: 12 seconds !
And I think sometimes it's slower.
I have a PII 300MHz, but when waiting for this dialog processor and disk
are idle.
RedHat 6.2, Ximian Gnome 1.4Beta, latest Evo snapshot (all by RedCarpet)

  Wow.  Can you please try running all the components into GDB and see
where they are blocking?

  I am using 2.2.18 here and I am not experiencing this slowness.


I just tried using GDB and strace to look at this problem; what I'm
getting is that libICE for some reason is doing several sleep(1)'s at
some poin while attempting to connect to the session manager. The
backtrace from GDB (not sure if this is what is actually causing the
slowness):

#0  0x40859c41 in nanosleep () from /lib/libc.so.6
#1  0x40859bcd in __sleep (seconds=1) at
../sysdeps/unix/sysv/linux/sleep.c:82
#2  0x40495abe in ConnectToPeer () from /usr/X11R6/lib/libICE.so.6
#3  0x404950b5 in IceOpenConnection () from /usr/X11R6/lib/libICE.so.6
#4  0x4048919d in SmcOpenConnection () from /usr/X11R6/lib/libSM.so.6
#5  0x403cbc76 in gnome_client_connect () at gnome-client.c:1225
#6  0x403cb2d4 in client_parse_func (ctx=0x8072bd0,
reason=POPT_CALLBACK_REASON_POST, opt=0x0, arg=0x0, data=0x0) at
gnome-client.c:871
#7  0x406f9b53 in invokeCallbacks (con=0x8072bd0, table=0x4044f120,
post=1) at popt.c:56
#8  0x406f9b1e in invokeCallbacks (con=0x8072bd0, table=0x8072ac8,
post=1) at popt.c:51
#9  0x406fa441 in poptGetNextOpt () at popt.c:297
#10 0x406f1189 in gnomelib_parse_args () at gnome-popt.c:100
#11 0x403f4f34 in gnome_init_with_popt_table () at gnome-init.c:299
#12 0x8059426 in init_corba (argc=0xbffffa88, argv=0xbffffacc) at
main.c:42
#13 0x805944a in init_bonobo (argc=0xbffffa88, argv=0xbffffacc) at
main.c:79
#14 0x80594d4 in main (argc=3, argv=0xbffffacc) at main.c:94

And the relevant output from strace:

nanosleep({1, 0}, {1, 0})               = 0
socket(PF_UNIX, SOCK_STREAM, 0)         = 6
uname({sys="Linux", node="beta", ...})  = 0
connect(6, {sun_family=AF_UNIX, sun_path="/tmp/.ICE-unix/3027"}, 21) =
-1 ENOENT (No such file or directory)
close(6)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0
[Same pattern repeats several times]
nanosleep({1, 0}, {1, 0})               = 0
socket(PF_UNIX, SOCK_STREAM, 0)         = 6
uname({sys="Linux", node="beta", ...})  = 0
connect(6, {sun_family=AF_UNIX, sun_path="/tmp/.ICE-unix/3027"}, 21) =
-1 ENOENT (No such file or directory)
close(6)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0
nanosleep({1, 0}, {1, 0})               = 0
write(2, "\n", 1)                       = 1
write(2, "GnomeUI", 7)                  = 7
write(2, "-", 1)                        = 1
write(2, "WARNING **: ", 12)            = 12
write(2, "While connecting to session mana"..., 67) = 67
write(2, "\n", 1)                       = 1

Hm, wish I could see the rest of that warning message :-)

-- 
Peter Williams     peter newton cx / peterw ximian com

"Why should I have to change my name? He's the one who 
sucks!"                              -- Michael Bolton





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]