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

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

Re: Crash while doing isearch


From: Kim F. Storm
Subject: Re: Crash while doing isearch
Date: Wed, 07 Sep 2005 10:46:19 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

YAMAMOTO Mitsuharu <address@hidden> writes:

> 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.

Thanks!

I think this is a trivial "copy-paste" error in this change:

2005-06-25  Richard M. Stallman  <address@hidden>

        * xdisp.c (try_window): New arg CHECK_MARGINS.  Calls changed.
        (redisplay_window): Handle try_window reporting point in scroll margin.

I have installed a fix.

--
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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