On Tuesday, June 24, 2003 1:00 pm, Stephane Corbe wrote:
> Le Mardi 24 Juin 2003 08:03, Andy Goth a �crit :
> > What if you try 'startx $(which xclock)' ? Remember that
> > CTRL-ALT-BACKSPACE will stop X.
>
> Same things.
>
> I have some other data :
> xclock take 99.99% of the CPU time
> and 34.6% of the memory ie 173MB ...
This means xclock (and probably not the X server) is locking up. X simply
waits for it to die. Does X stop when you kill xclock?
> here is the end of the output of "strace xclock", before blocking :
>
> execve("/usr/X11R6/bin/xclock", ["xclock"], [/* 26 vars */]) = 0
> uname({sys="Linux", node="chocolat", ...}) = 0
> ....
> brk(0) = 0x12c3f000
> brk(0x12c41000) = 0x12c41000
> brk(0) = 0x12c41000
> brk(0x12c49000) = 0x12c49000
> munmap(0x40022000, 2369) = 0
> stat64("/usr/X11R6/lib/X11/fonts/misc/clR6x10.pcf.gz",
> {st_mode=S_IFREG|0444, st_size=2369, ...}) = 0
> open("/usr/X11R6/lib/X11/fonts/misc/fonts.dir", O_RDONLY) = 5
> fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
> fstat64(5, {st_mode=S_IFREG|0644, st_size=34065, ...}) = 0
> old_mmap(NULL, 34065, PROT_READ, MAP_PRIVATE, 5, 0) = 0x40022000
> close(5) = 0
> brk(0) = 0x12c49000
> brk(0x12c59000) = 0x12c59000
> munmap(0x40022000, 34065) = 0
> stat64("/usr/X11R6/lib/X11/fonts/misc/fonts.dir", {st_mode=S_IFREG|0644,
> st_size=34065, ...}) = 0
> open("/usr/X11R6/lib/X11/fonts/misc/jisksp14.pcf.gz", O_RDONLY) = 5
> fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
> fstat64(5, {st_mode=S_IFREG|0444, st_size=176588, ...}) = 0
> old_mmap(NULL, 176588, PROT_READ, MAP_PRIVATE, 5, 0) = 0x403e2000
> close(5)
Does anyone know why xclock even needs fonts? Its default mode of operation,
at least on my system, is to give an analog display with no printed text.
But it looks like it succeeds in loading the font. It halts somewhere after
that, but before making any other kernel calls.
--
Andy Goth | [EMAIL PROTECTED] | http://ioioio.net/
End communication.
_______________________________________________
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86