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.
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 20:30:08 +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 <at> entry=make_fixnum(1737), a2=a2 <at> 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 <at> entry=make_fixnum(1737), object=<optimized out>) at textprop.c:576 #3 0x000055555577f250 in Fget_text_property (position=position <at> entry=make_fixnum(1737), prop=prop <at> 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 <at> entry=0x7fffffff9040, w=w <at> entry=0x55555603c1f8, pos=pos <at> 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 <at> 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 <at> 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 <at> 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)
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.