Subject: Re: bug#29326: 26.0.90; Emacs crash on running comment-dwim

From: Kaushal Modi <[email-masked]>
Date: Fri, 17 Nov 2017 17:11:53 +0000

On Fri, Nov 17, 2017 at 2:46 AM Eli Zaretskii <[email-masked]> wrote:

> > In this call frame #3, what is the value of ZV?
>
> Same question about the value of Z.
>

(gdb) f 2
#2  0x00000000006232d5 in die (msg=0x723428 "charpos < 0 || (charpos >=
BUF_BEG (current_buffer) && charpos <= ZV)",
    file=0x72313d "xdisp.c", line=2752) at alloc.c:7419
7419      terminate_due_to_signal (SIGABRT, INT_MAX);
(gdb) p ZV
$1 = 263
(gdb) p charpos
No symbol "charpos" in current context.
(gdb) f 2
#2  0x00000000006232d5 in die (msg=0x723428 "charpos < 0 || (charpos >=
BUF_BEG (current_buffer) && charpos <= ZV)",
    file=0x72313d "xdisp.c", line=2752) at alloc.c:7419
7419      terminate_due_to_signal (SIGABRT, INT_MAX);
(gdb) p charpos
No symbol "charpos" in current context.

(gdb) f 3
#3  0x0000000000449caa in init_iterator (it=0x7fffffff22f0, w=0x1593770,
charpos=360, bytepos=360, row=0x7511660,
    base_face_id=DEFAULT_FACE_ID) at xdisp.c:2751
2751      eassert (charpos < 0 || (charpos >= BUF_BEG (current_buffer)
(gdb) p ZV
$2 = 263
(gdb) p Z
$3 = 263
(gdb)
-- 

Kaushal Modi