Subject: bug#5973: Crash in get_next_display_element

From: Juanma Barranquero <[email-masked]>
Date: Tue, 20 Apr 2010 12:33:27 +0200

On Tue, Apr 20, 2010 at 12:21, Eli Zaretskii <[email-masked]> wrote:

> So please show what the following GDB commands print in frame #1:
>
>  (gdb) p buffer->size
>  (gdb) p *buffer->text->beg@34
>  (gdb) p buffer->text->zv
>  (gdb) p buffer->text->zv_byte
>  (gdb) p buffer->text->z
>  (gdb) p buffer->text->z_byte
>  (gdb) p buffer->text->pt
>  (gdb) p buffer->text->pt_byte
>  (gdb) p buffer->name
>  (gdb) xstring

(gdb) frame 1
#1  0x012baadd in temp_set_point_both (buffer=0x34ba200, charpos=32,
bytepos=33) at intervals.c:1944
1944        abort ();
(gdb) p buffer->size
$1 = 1073873021
(gdb) p *buffer->text->beg@34
$2 = "Loading c:/Devel/emacs/repo/debug/"
(gdb) p buffer->text->zv
There is no member named zv.
(gdb) p buffer->text->zv_byte
There is no member named zv_byte.
(gdb) p buffer->text->z
$3 = 85
(gdb) p buffer->text->z_byte
$4 = 85
(gdb) p buffer->text->pt
There is no member named pt.
(gdb) p buffer->text->pt_byte
There is no member named pt_byte.
(gdb) p buffer->name
$5 = 52161297
(gdb) xstring
$6 = (struct Lisp_String *) 0x31beb10
" *Echo Area 0*"
(gdb)

    Juanma