Subject: Re: bug#13012: Assertion failure in xdisp.c:window_outdated

From: Eli Zaretskii <[email-masked]>
Date: Tue, 27 Nov 2012 20:51:27 +0200

> From: Juanma Barranquero <[email-masked]>
> Date: Tue, 27 Nov 2012 19:33:26 +0100
> Cc: [email-masked]
> 
> On Tue, Nov 27, 2012 at 7:15 PM, Eli Zaretskii <[email-masked]> wrote:
> 
> > At this point type
> >
> >   (gdb) p current_buffer->name_
> >   (gdb) xstring
> 
> (gdb) p current_buffer->name_
> $6 = 57479185
> (gdb) xstring
> $7 = (struct Lisp_String *) 0x36d1010 <__register_frame_info+57479184>
> "*scratch*"

I guess this means the eassert in window_outdated should be removed
entirely, because this case is with 2 different buffers, none of them
minibuffer.  IOW, the assumption that we always work on a window that
displays the current buffer at that point in redisplay_internal --
this assumption is false.