[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs uses 100% cpu time
From: |
Nick Roberts |
Subject: |
Re: Emacs uses 100% cpu time |
Date: |
Sat, 30 Sep 2006 11:34:19 +1200 |
> I ran emacs from gdb and got this backtrace:
>
> ,----
> | Program received signal SIGTSTP, Stopped (user).
> | 0x08145f5d in Fgarbage_collect ()
> | (gdb) bt
> | #0 0x08145f5d in Fgarbage_collect ()
> | #1 0x0815a11d in Ffuncall ()
> | #2 0x08184baa in Fbyte_code ()
> | #3 0x081598d8 in Feval ()
> | #4 0x08158f1c in internal_catch ()
> | #5 0x08183e2f in Fbyte_code ()
> | #6 0x08159e24 in funcall_lambda ()
>...
Maybe someone can interpret your observations, but generally you need to
compile Emacs with -g so that the backtrace gives argument values and type
xbacktrace for a lisp backtrace. This happens automatically if you
attach to emacs in the directory in which it was built i.e using .gdbinit
(also needed for xbacktrace).
--
Nick http://www.inet.net.nz/~nickrob