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

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

> From: Juanma Barranquero <[email-masked]>
> Date: Tue, 27 Nov 2012 19:01:42 +0100
> Cc: [email-masked]
> 
> > What is w->buffer in this frame?
> 
> I did emacsclient -f server README.
> 
> (gdb) frame 2
> #2  0x011fe645 in window_outdated (w=0x39bda68
> <__register_frame_info+60545640>) at xdisp.c:10906
> 10906     eassert (XBUFFER (w->buffer) == current_buffer);
> (gdb) p w->buffer
> $1 = 57627653
> (gdb) xtype
> Lisp_Vectorlike
> PVEC_BUFFER
> (gdb) xvector
> $2 = (struct Lisp_Vector *) 0x36f5400 <__register_frame_info+57627648>
> 0
> (gdb) p w->buffer
> $3 = 57627653
> (gdb) xbuffer
> $4 = (struct buffer *) 0x36f5400 <__register_frame_info+57627648>
> (unsigned char *) 0x3a1aa18 <__register_frame_info+60926488> "README"
> (gdb) p current_buffer
> $5 = (struct buffer *) 0x36d0e00 <__register_frame_info+57478656>
> (gdb)

At this point type

  (gdb) p current_buffer->name_
  (gdb) xstring