emacs-pretest-bug
[Top][All Lists]
Advanced

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

Sometimes Emacs eats CPU like mad


From: David Kastrup
Subject: Sometimes Emacs eats CPU like mad
Date: Tue, 13 Feb 2007 23:00:22 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux)

Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the address@hidden mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

I have this sometimes: a dormant Emacs will suddenly eat CPU like
mad.  I just compiled a fresh Emacs, so the bug is apparently still
present.  It is not actually necessary for Emacs to be even on screen:
when I am on a different page of the window manager, this can still
happen.

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/local/emacs-21/share/emacs/22.0.93/etc/DEBUG for instructions.

Well, xbacktrace did not display anything, here is the output of the
backtrace command:

#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb77332ed in select () from /lib/tls/i686/cmov/libc.so.6
#2  0x0818ab45 in select_wrapper (n=-514, rfd=0x0, wfd=0xbfda6c74, xfd=0x0,
    tmo=0xbfda6d34) at /home/tmp/emacs/src/process.c:4202
#3  0x0818de3c in wait_reading_process_output (time_limit=0, microsecs=0,
    read_kbd=-1, do_display=1, wait_for_cell=137476297, wait_proc=0x0,
    just_wait_proc=0) at /home/tmp/emacs/src/process.c:4571
#4  0x08100a9d in read_char (commandflag=1, nmaps=4, maps=0xbfda7030,
    prev_event=137476297, used_mouse_menu=0xbfda70d4, end_time=0x0)
    at /home/tmp/emacs/src/keyboard.c:4016
#5  0x08103026 in read_key_sequence (keybuf=0xbfda7184, bufsize=30,
    prompt=137476297, dont_downcase_last=0, can_return_switch_frame=1,
    fix_current_buffer=1) at /home/tmp/emacs/src/keyboard.c:9115
#6  0x08104b43 in command_loop_1 () at /home/tmp/emacs/src/keyboard.c:1618
#7  0x0815b552 in internal_condition_case (bfun=0x81049b0 <command_loop_1>,
    handlers=137520953, hfun=0x80ff500 <cmd_error>)
    at /home/tmp/emacs/src/eval.c:1481
#8  0x080fe8b3 in command_loop_2 () at /home/tmp/emacs/src/keyboard.c:1329
#9  0x0815b60a in internal_catch (tag=137514937,
    func=0x80fe890 <command_loop_2>, arg=137476297)
    at /home/tmp/emacs/src/eval.c:1222
#10 0x080ff33c in command_loop () at /home/tmp/emacs/src/keyboard.c:1308
#11 0x080ff6fa in recursive_edit_1 () at /home/tmp/emacs/src/keyboard.c:1006
---Type <return> to continue, or q <return> to quit---
#12 0x080ff7e6 in Frecursive_edit () at /home/tmp/emacs/src/keyboard.c:1067
#13 0x080f54e5 in main (argc=1, argv=0xbfda7884)
    at /home/tmp/emacs/src/emacs.c:1761

At this point of time, Emacs was consuming about 80% of CPU power.  So
I can't vouch for the backtrace to _really_ be in the code path
consuming the CPU, but it is likely.


In GNU Emacs 22.0.93.4 (i686-pc-linux-gnu, GTK+ Version 2.10.6)
 of 2007-02-13 on lola
X server distributor `The X.Org Foundation', version 11.0.70101000
configured using `configure  '--prefix=/usr/local/emacs-21' '--with-gtk' 
'--without-toolkit-scroll-bars''

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.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Message

Minor modes in effect:
  mml-mode: t
  TeX-PDF-mode: t
  desktop-save-mode: t
  minibuffer-electric-default-mode: t
  iswitchb-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-decoding-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t
  abbrev-mode: t

Recent input:
a c s SPC ( <backspace> e a t s SPC C P U SPC l i k 
e SPC m a d <left> <left> <left> <down> <down> <return> 
<return> I t SPC s o m e w h a t SPC a f f e c t s 
SPC t h e SPC b l i n k i n g SPC a n d SPC c u r s 
o r SPC d i s p l a y . M-x r e p o r t - e m a c s 
- b u <tab> <return>

Recent messages:
Sorting environment...
Removing duplicates... done
Applying style hooks... done
uncompressing lilypond.info.gz...done
uncompressing lilypond.info-1.gz...done
Desktop: 69 buffers restored.
For information about the GNU Project and its goals, type C-h C-p.
Loading gnus-msg...done
Parsing /home/dak/.mailrc... done
Loading emacsbug...done

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

[Prev in Thread] Current Thread [Next in Thread]