GNU bug report logs - #50096
args-out-of-range in redisplay_internal

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> linkov.net>

Date: Tue, 17 Aug 2021 16:09:02 UTC

Severity: normal

Tags: fixed

Fixed in version 28.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> linkov.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 50096 <at> debbugs.gnu.org
Subject: bug#50096: args-out-of-range in redisplay_internal
Date: Tue, 17 Aug 2021 21:24:29 +0300
>> Should I bisect or do you have an idea what commit caused this?

Meanwhile, I narrowed it down to some commit between
5d7b1d5fc7 and adb6c3f1a4.

> It's more interesting to understand first why does Emacs think these
> "args are out of range".  What is 'object' here:
>
>> #1 0x000055c2daa345d1 in validate_interval_range
>> (object=XIL(0x7f71fab29715), begin=0x7ffdc316c408,
>> end=0x7ffdc316c408, force=false) at textprop.c:159
>
> Ask GDB:
>
>   (gdb) frame 1
>   (gdb) p object
>   (gdb) xtype

(gdb) frame 1
#1  0x000056533c3b51a8 in validate_interval_range (object=XIL(0x7f56134fb6bd), begin=0x7fff7e2e3448, end=0x7fff7e2e3448, force=false) at textprop.c:159
159		args_out_of_range (begin0, end0);
(gdb) p object
$1 = XIL(0x7f56134fb6bd)
(gdb) xtype
Lisp_Vectorlike
PVEC_BUFFER

> If 'object' is a buffer, then
>
>   (gdb) p BUF_BEGV (XBUFFER (object))
>   (gdb) p BUF_ZV (XBUFFER (object))

(gdb) p BUF_BEGV (XBUFFER (object))
$2 = 1
(gdb) p BUF_ZV (XBUFFER (object))
$3 = 1




This bug report was last modified 3 years and 275 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.