all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#10669: 24.0.93; Emacs daemon high CPU load
@ 2012-01-30 22:53 Michael Welsh Duggan
  2012-01-30 23:55 ` Michael Welsh Duggan
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Michael Welsh Duggan @ 2012-01-30 22:53 UTC (permalink / raw)
  To: 10669

In certain circumstances, emacs running in daemon mode ends up in a high
CPU state, and fills the .xsession-errors log with large numbers of
"Back to top level." messages.  I am using a freshly bootstrapped bzr
trunk checkout of emacs from 2012.01.29.

Here follows the minimal set of steps I was able to determine that
recreates the problem.  Small deviations from this (such as not using
emacsclient) did not trigger the problem.  I am running Gnome 3 and the
gnome-shell, but have seen (although not tested in detail) this same
problem in a Gnome 2 desktop session.

In a Gnome desktop session:

1) Create a .emacs file containing the following single line:

   (server-start)

2) Start emacs using the following incantation:

   emacsclient -a "" -c -n

3) Log out of the desktop session.

4) Log in.

5) Run top.  See that emacs is taking up most of the CPU.

I have been able to attach gdb to the runaway process, but have as yet
been unable to determine what it is doing.  If others are unable to
recreate the problem, I am happy to try debugging on this end, with a
little guidance.



In GNU Emacs 24.0.93.1 (i686-pc-linux-gnu, X toolkit)
 of 2012-01-29 on maru
Windowing system distributor `The X.Org Foundation', version 11.0.11103901
Configured using:
 `configure '--enable-asserts' 'CFLAGS=-ggdb3 -O0'
 '--without-toolkit-scroll-bars' '--enable-maintainer-mode'
 '--with-x-toolkit=lucid''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.utf8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

-- 
Michael Welsh Duggan
(md5i@md5i.com)





^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2020-08-14 14:50 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-30 22:53 bug#10669: 24.0.93; Emacs daemon high CPU load Michael Welsh Duggan
2012-01-30 23:55 ` Michael Welsh Duggan
2012-01-31  0:44   ` Glenn Morris
2012-01-31  0:51     ` Michael Welsh Duggan
2012-01-31  0:58       ` Glenn Morris
2012-01-31  1:02         ` Michael Welsh Duggan
2012-02-01 17:37     ` Jan Djärv
2012-02-02  1:28       ` Michael Welsh Duggan
2012-01-31  6:22 ` Chong Yidong
2012-02-01  1:27   ` Michael Welsh Duggan
2012-02-05  8:49 ` bug#10669: More debugging Michael Welsh Duggan
2012-02-05 21:38   ` Michael Welsh Duggan
2020-08-07 10:52     ` Stefan Kangas
2020-08-14 14:32       ` Michael Welsh Duggan
2020-08-14 14:50         ` bug#5535: " Stefan Kangas
     [not found]   ` <mailman.3257.1328477962.15002.bug-gnu-emacs@gnu.org>
2012-05-08 14:50     ` scytale

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.