Comment 44 for bug 94048

Revision history for this message
Jarmo Ilonen (trewas) wrote :

JuliusBloch,

Doesn't look like network related (as could be guessed from /etc/hosts not changing start up time). Gcalctool seems to be doing something weird with the fonts, first 27000 lines of the strace log are mostly stuff like

stat64("/usr/share/fonts/truetype/ttf-arabeyes/ae_AlYermook.ttf", {st_mode=S_IFREG|0644, st_size=121972, ...}) = 0
open("/usr/share/fonts/truetype/ttf-arabeyes/ae_AlYermook.ttf", O_RDONLY) = 15
fcntl64(15, F_SETFD, FD_CLOEXEC) = 0
fstat64(15, {st_mode=S_IFREG|0644, st_size=121972, ...}) = 0
mmap2(NULL, 121972, PROT_READ, MAP_PRIVATE, 15, 0) = 0xb600f000
close(15) = 0
munmap(0xb600f000, 121972) = 0

So it opens a font file, mmaps it, then closes and munmaps, presumably doing something with the font data in between. And it does that a lot. Grepping for "stat.*usr.*fonts" gives 2823 hits, and the font stuff takes most of the time in strace log. I straced galctool myself and the same grep gave only 39 hits and starts in under one second. I have no idea why it's doing that with the fonts in your case, maybe someone with more knowledge of gnome font handling has some idea... It's a separate bug to this /etc/hosts case anyway.