all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 50096@debbugs.gnu.org
Subject: bug#50096: args-out-of-range in redisplay_internal
Date: Tue, 17 Aug 2021 20:30:08 +0300	[thread overview]
Message-ID: <87h7foyo67.fsf@mail.linkov.net> (raw)
In-Reply-To: <83v94456sn.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 17 Aug 2021 20:18:16 +0300")

>> Debugger entered--Lisp error: (args-out-of-range 1737 1737)
>>   redisplay_internal\ \(C\ function\)()
>>   message("Running in foreground: %s" #("git --no-pager commit -m
>
> Is this reproducible?  If so, put a breakpoint on args_out_of_range,
> and show the C-level backtrace from the error.

It's reproducible only in the optimized build and not with -Q.
Here is the backtrace:

(gdb) bt
#0  args_out_of_range (a1=a1@entry=make_fixnum(1737), a2=a2@entry=make_fixnum(1737)) at data.c:154
#1  0x00005555555a7419 in validate_interval_range (object=XIL(0x7ffff02d2e75), begin=0x7fffffff8da8, end=<optimized out>, force=<optimized out>) at textprop.c:174
#2  0x000055555577f1e4 in Ftext_properties_at (position=<optimized out>, position@entry=make_fixnum(1737), object=<optimized out>) at textprop.c:576
#3  0x000055555577f250 in Fget_text_property (position=position@entry=make_fixnum(1737), prop=prop@entry=XIL(0x63c0), object=<optimized out>) at textprop.c:596
#4  0x0000555555660173 in face_at_buffer_position (w=0x55555603c1f8, pos=1737, endptr=0x7fffffff8f40, limit=1837, mouse=<optimized out>, base_face_id=0, attr_filter=0) at xfaces.c:6390
#5  0x00005555555c34c2 in face_at_pos (it=0x7fffffff9040, attr_filter=0) at xdisp.c:4379
#6  0x00005555555db662 in handle_face_prop (it=0x7fffffff9040) at xdisp.c:4475
#7  0x00005555555d5c15 in handle_stop (it=0x7fffffff9040) at xdisp.c:3854
#8  0x00005555555ec9f2 in init_from_display_pos (it=it@entry=0x7fffffff9040, w=w@entry=0x55555603c1f8, pos=pos@entry=0x555561f49460) at xdisp.c:3611
#9  0x00005555555ed094 in init_to_row_start (row=0x555561f49410, w=0x55555603c1f8, it=0x7fffffff9040) at xdisp.c:15032
#10 hscroll_window_tree (window=XIL(0x55555603c1fd), window@entry=XIL(0x55555e5df5bd)) at xdisp.c:15032
#11 0x00005555555ee041 in hscroll_windows (window=XIL(0x55555e5df5bd)) at xdisp.c:15124
#12 redisplay_internal () at xdisp.c:16093
#13 0x00005555555ef4bf in echo_area_display (update_frame_p=<optimized out>) at xdisp.c:12351
#14 0x00005555555ef7b1 in message3_nolog (m=<optimized out>) at xdisp.c:11274
#15 0x00005555555efaa8 in message3 (m=m@entry=XIL(0x55556286c2a4)) at xdisp.c:11204
#16 0x000055555570d2d4 in Fmessage (args=0x7fffffffc0a0, nargs=<optimized out>) at editfns.c:2876
#17 Fmessage (nargs=<optimized out>, args=0x7fffffffc0a0) at editfns.c:2844
#18 0x00005555557191b8 in eval_sub (form=<optimized out>) at lisp.h:2093
#19 0x000055555571a49d in Fprogn (body=XIL(0)) at eval.c:471
#20 Flet (args=<optimized out>) at eval.c:1057
#21 0x000055555571907f in eval_sub (form=<optimized out>) at lisp.h:2093
#22 0x000055555571934d in Fprogn (body=XIL(0)) at eval.c:471
#23 0x000055555571907f in eval_sub (form=<optimized out>) at lisp.h:2093
#24 0x000055555571907f in eval_sub (form=<optimized out>) at lisp.h:2093
#25 0x000055555571988d in Fprogn (body=XIL(0x55555e3c0d73)) at eval.c:471
#26 Fif (args=<optimized out>) at eval.c:427
#27 Fif (args=<optimized out>) at eval.c:413
#28 0x000055555571907f in eval_sub (form=<optimized out>) at lisp.h:2093
#29 0x000055555571a49d in Fprogn (body=XIL(0)) at eval.c:471
#30 Flet (args=<optimized out>) at eval.c:1057
#31 0x000055555571907f in eval_sub (form=<optimized out>) at lisp.h:2093
#32 0x000055555571a49d in Fprogn (body=XIL(0x55555e3c9293)) at eval.c:471
#33 Flet (args=<optimized out>) at eval.c:1057
#34 0x000055555571907f in eval_sub (form=<optimized out>) at lisp.h:2093
#35 0x000055555571934d in Fprogn (body=XIL(0), body@entry=XIL(0x55555e3c1a13)) at eval.c:471
#36 0x000055555570818e in Fsave_current_buffer (args=XIL(0x55555e3c1a13)) at editfns.c:867
#37 0x000055555571907f in eval_sub (form=<optimized out>) at lisp.h:2093
#38 0x000055555571a6c5 in Fprogn (body=XIL(0)) at eval.c:471
#39 FletX (args=XIL(0x55555e3c9233)) at eval.c:989
#40 0x000055555571907f in eval_sub (form=<optimized out>) at lisp.h:2093
#41 0x0000555555719c3d in Fprogn (body=XIL(0)) at eval.c:471
#42 funcall_lambda (fun=XIL(0x55555e3c90c3), nargs=10, arg_vector=0x7fffffffcac8) at eval.c:3328
#43 0x00005555557164c7 in Ffuncall (nargs=11, args=0x7fffffffcac0) at eval.c:3067
#44 0x00005555557187b8 in Fapply (nargs=6, args=0x7fffffffcbd0) at eval.c:2681
#45 0x00007fffde61c76b in ?? ()
#46 0x0000000000000000 in ?? ()

Lisp Backtrace:
"redisplay_internal (C function)" (0x0)
"message" (0xffffc0a0)
"let" (0xffffc220)
"progn" (0xffffc300)
"if" (0xffffc3c0)
"if" (0xffffc4a0)
"let" (0xffffc5f0)
"let" (0xffffc740)
"save-current-buffer" (0xffffc840)
"let*" (0xffffc960)
"vc-do-command" (0xffffcac8)
"vc-git-command" (0xffffcc98)
"vc-git-checkin" (0xffffcef8)
"apply" (0xffffd010)
"vc-call-backend" (0xffffd350)
0x619c10a0 PVEC_COMPILED
"vc-finish-logentry" (0xffffd9c0)
"funcall-interactively" (0xffffd9b8)
"log-edit-done" (0xffffdd20)
"funcall-interactively" (0xffffdd18)
"command-execute" (0xffffde88)





  reply	other threads:[~2021-08-17 17:30 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-17 16:06 bug#50096: args-out-of-range in redisplay_internal Juri Linkov
2021-08-17 17:18 ` Eli Zaretskii
2021-08-17 17:30   ` Juri Linkov [this message]
2021-08-17 17:51     ` Juri Linkov
2021-08-17 18:16       ` Eli Zaretskii
2021-08-17 18:24         ` Juri Linkov
2021-08-17 18:40           ` Eli Zaretskii
2021-08-17 18:51             ` Juri Linkov
2021-08-17 19:00               ` Eli Zaretskii
2021-08-18  7:42                 ` Juri Linkov
2021-08-18 12:18                   ` Eli Zaretskii
2021-08-18 16:32                     ` Juri Linkov
2021-08-18 17:01                       ` Eli Zaretskii
2021-08-18 18:07                         ` Eli Zaretskii
2021-08-19  7:17                           ` Juri Linkov
2021-08-19  8:12                             ` Eli Zaretskii
2021-08-19 12:39                               ` Eli Zaretskii
2021-08-20  7:09                                 ` Juri Linkov
2021-08-20  7:49                                   ` Eli Zaretskii
2021-08-19  7:32                   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h7foyo67.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=50096@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.