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

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

Crash while doing isearch


From: YAMAMOTO Mitsuharu
Subject: Crash while doing isearch
Date: Wed, 7 Sep 2005 16:19:36 +0900 (JST)
User-agent: SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/22.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)

Emacs sometimes crashes at the following line while doing isearch.

xdisp.c:12838
      cursor_height = MATRIX_ROW (w->desired_matrix, w->cursor.vpos)->height;

When crashed, w->cursor.vpos == -1, and it seems to be not good
according to the assertions in matrix_row().  It may be difficult to
reproduce the crash on some platforms, but the above situation can be
observed easily by

% gdb emacs
(gdb) b xdisp.c:12838 if w->cursor.vpos < 0
(gdb) r
C-h n
C-s 21.

Since the variable `cursor_height' is no longer used in the block in
question, I think this sentence can be safely removed.

                                     YAMAMOTO Mitsuharu
                                address@hidden

In GNU Emacs 22.0.50.1 (sparc-sun-solaris2.8, X toolkit, Xaw3d scroll bars)
 of 2005-09-07 on church
X server distributor `The XFree86 Project, Inc', version 11.0.40300000
configured using `configure '--x-libraries=/usr/local/lib' 'CFLAGS=-O2 -mv8''

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: ja
  locale-coding-system: japanese-iso-8bit
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  display-time-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  tooltip-mode: t
  auto-compression-mode: t
  menu-bar-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  line-number-mode: t





reply via email to

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