[Top][All Lists]

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

fontification loop

From: Andreas Seltenreich
Subject: fontification loop
Date: Sun, 24 Sep 2006 06:30:28 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

I just caught Emacs hogging the CPU with endless
redisplay/fontification.  The following code triggers it for me:

--8<---------------cut here---------------start------------->8---
  (switch-to-buffer "*fontification loop*")
  (while (< (point) (floor (* (sqrt 2) jit-lock-chunk-size)))
    (insert "\nfoo\nbar\nbaz"))
  (put-text-property (- (point-max) 5) (point-max) 'invisible t))
--8<---------------cut here---------------end--------------->8---

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
/home/andreas/ext/emacs/etc/DEBUG for instructions.

In GNU Emacs (i686-pc-linux-gnu, X toolkit)
 of 2006-09-20 on tp
X server distributor `The XFree86 Project, Inc', version 11.0.40300001
configured using `configure '--enable-debug' '--enable-asserts' '--with-png' 
'--with-gif' '--with-tiff' '--with-jpeg' '--with-xpm' '--with-x-toolkit=yes' 

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: C
  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: de_DE
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

Major mode: Group

Minor modes in effect:
  which-function-mode: t
  gnus-topic-mode: t
  gnus-undo-mode: t
  show-paren-mode: t
  display-battery-mode: t
  display-time-mode: t
  savehist-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
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  abbrev-mode: t

reply via email to

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