GNU bug report logs -
#5973
Crash in get_next_display_element
Previous Next
Reported by: David Reitter <david.reitter <at> gmail.com>
Date: Mon, 19 Apr 2010 16:09:01 UTC
Severity: normal
Tags: moreinfo, unreproducible
Found in version 24.0.50
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Juanma Barranquero <lekktu <at> gmail.com>
> Date: Tue, 20 Apr 2010 00:46:32 +0200
> Cc: David Reitter <david.reitter <at> gmail.com>, 5973 <at> debbugs.gnu.org
>
> #1 0x012be7c9 in temp_set_point_both (buffer=0x34b6e00, charpos=32,
> bytepos=33) at intervals.c:1944
This frame calls `abort' here:
/* In a single-byte buffer, the two positions must be equal. */
if (BUF_ZV (buffer) == BUF_ZV_BYTE (buffer)
&& charpos != bytepos)
abort ();
It does that on the assumption that if the character and byte
positions of the last character in the buffer's accessible area
coincide, all the character and byte positions before that must also
coincide.
So please show what the following GDB commands print in frame #1:
(gdb) p buffer->size
(gdb) p *buffer->text->beg <at> 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
TIA
This bug report was last modified 12 years and 92 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.