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.
Message #14 received at 50096 <at> debbugs.gnu.org (full text, mbox):
From: Juri Linkov <juri <at> linkov.net> To: Eli Zaretskii <eliz <at> gnu.org> Cc: 50096 <at> debbugs.gnu.org Subject: Re: bug#50096: args-out-of-range in redisplay_internal Date: Tue, 17 Aug 2021 20:51:13 +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. Actually, it fails in non-optimized build too with the next backtrace. It fails only after some commit was made after 2021-08-11. Should I bisect or do you have an idea what commit caused this? (gdb) bt #0 args_out_of_range (a1=XIL(0x7f71fab29710), a2=XIL(0x55c2daa33efc)) at data.c:154 #1 0x000055c2daa345d1 in validate_interval_range (object=XIL(0x7f71fab29715), begin=0x7ffdc316c408, end=0x7ffdc316c408, force=false) at textprop.c:159 #2 0x000055c2daa355bd in Ftext_properties_at (position=make_fixnum(1737), object=XIL(0x7f71fab29715)) at textprop.c:576 #3 0x000055c2daa35661 in Fget_text_property (position=make_fixnum(1737), prop=XIL(0x63c0), object=XIL(0x7f71fab29715)) at textprop.c:596 #4 0x000055c2da88604f in face_at_buffer_position (w=0x55c2dd062400, pos=1737, endptr=0x7ffdc316c630, limit=1837, mouse=false, base_face_id=0, attr_filter=0) at xfaces.c:6390 #5 0x000055c2da79d6ff in face_at_pos (it=0x7ffdc316c8c0, attr_filter=0) at xdisp.c:4379 #6 0x000055c2da79d9e4 in handle_face_prop (it=0x7ffdc316c8c0) at xdisp.c:4475 #7 0x000055c2da79c103 in handle_stop (it=0x7ffdc316c8c0) at xdisp.c:3854 #8 0x000055c2da7a535c in reseat (it=0x7ffdc316c8c0, pos=..., force_p=true) at xdisp.c:7098 #9 0x000055c2da79b4e0 in init_iterator (it=0x7ffdc316c8c0, w=0x55c2dd062400, charpos=1737, bytepos=1737, row=0x0, base_face_id=DEFAULT_FACE_ID) at xdisp.c:3455 #10 0x000055c2da79bae2 in init_from_display_pos (it=0x7ffdc316c8c0, w=0x55c2dd062400, pos=0x55c2e3f9fca0) at xdisp.c:3611 #11 0x000055c2da79bf2e in init_to_row_start (it=0x7ffdc316c8c0, w=0x55c2dd062400, row=0x55c2e3f9fc50) at xdisp.c:3735 #12 0x000055c2da7ba1cf in hscroll_window_tree (window=XIL(0x55c2dd062405)) at xdisp.c:15022 #13 0x000055c2da7ba640 in hscroll_windows (window=XIL(0x55c2e4356385)) at xdisp.c:15114 #14 0x000055c2da7bc889 in redisplay_internal () at xdisp.c:16083 #15 0x000055c2da7b5684 in echo_area_display (update_frame_p=true) at xdisp.c:12351 #16 0x000055c2da7b2103 in message3_nolog (m=XIL(0x55c2e158b524)) at xdisp.c:11274 #17 0x000055c2da7b1e58 in message3 (m=XIL(0x55c2e158b524)) at xdisp.c:11204 #18 0x000055c2da9934cf in Fmessage (nargs=2, args=0x7ffdc316faa0) at editfns.c:2876 #19 0x00007f71f22a9424 in F76632d646f2d636f6d6d616e64_vc_do_command_0 () at ~/.emacs.d/eln-cache/28.0.50-feb482d9/vc-dispatcher-d82eb341-5ade7cf9.eln #20 0x000055c2da9a2c20 in funcall_subr (subr=0x55c2e015eec8, numargs=10, args=0x7ffdc316fd48) at eval.c:3106 #21 0x000055c2da9a28c1 in Ffuncall (nargs=11, args=0x7ffdc316fd40) at eval.c:3051 #22 0x000055c2da9a1ac5 in Fapply (nargs=6, args=0x7ffdc316fe60) at eval.c:2681 #23 0x00007f71f1bcd76b in F76632d6769742d636f6d6d616e64_vc_git_command_0 () at ~/.emacs.d/eln-cache/28.0.50-feb482d9/vc-git-5d6756dc-9d3480db.eln #24 0x000055c2da9a2c20 in funcall_subr (subr=0x55c2e5153c50, numargs=8, args=0x7ffdc316ffe8) at eval.c:3106 #25 0x000055c2da9a28c1 in Ffuncall (nargs=9, args=0x7ffdc316ffe0) at eval.c:3051 #26 0x000055c2da9a1ac5 in Fapply (nargs=5, args=0x7ffdc3170190) at eval.c:2681 #27 0x00007f71f1bc7afa in F76632d6769742d636865636b696e_vc_git_checkin_0 () at ~/.emacs.d/eln-cache/28.0.50-feb482d9/vc-git-5d6756dc-9d3480db.eln #28 0x000055c2da9a2d76 in funcall_subr (subr=0x55c2e3c10ec0, numargs=3, args=0x7ffdc3170318) at eval.c:3131 #29 0x000055c2da9a28c1 in Ffuncall (nargs=4, args=0x7ffdc3170310) at eval.c:3051 #30 0x000055c2da9a1ac5 in Fapply (nargs=2, args=0x7ffdc3170500) at eval.c:2681 #31 0x000055c2da9a2c20 in funcall_subr (subr=0x55c2dae74d20 <Sapply>, numargs=2, args=0x7ffdc3170500) at eval.c:3106 #32 0x000055c2da9a28c1 in Ffuncall (nargs=3, args=0x7ffdc31704f8) at eval.c:3051 #33 0x000055c2da9f40a6 in exec_byte_code (bytestr=XIL(0x7f71fa66f174), vector=XIL(0x7f71fa66eb1d), maxdepth=make_fixnum(12), args_template=make_fixnum(642), nargs=5, args=0x7ffdc3170a40) at bytecode.c:632 #34 0x000055c2da9a2ff6 in fetch_and_exec_byte_code (fun=XIL(0x7f71fa66eaed), syms_left=make_fixnum(642), nargs=5, args=0x7ffdc3170a30) at eval.c:3175 #35 0x000055c2da9a3400 in funcall_lambda (fun=XIL(0x7f71fa66eaed), nargs=5, arg_vector=0x7ffdc3170a30) at eval.c:3256 #36 0x000055c2da9a2915 in Ffuncall (nargs=6, args=0x7ffdc3170a28) at eval.c:3055 #37 0x000055c2da9f40a6 in exec_byte_code (bytestr=XIL(0x55c2e2cbb484), vector=XIL(0x55c2e249c00d), maxdepth=make_fixnum(13), args_template=make_fixnum(514), nargs=2, args=0x7ffdc3171008) at bytecode.c:632 #38 0x000055c2da9a2ff6 in fetch_and_exec_byte_code (fun=XIL(0x55c2e249c0f5), syms_left=make_fixnum(514), nargs=2, args=0x7ffdc3170ff8) at eval.c:3175 #39 0x000055c2da9a3400 in funcall_lambda (fun=XIL(0x55c2e249c0f5), nargs=2, arg_vector=0x7ffdc3170ff8) at eval.c:3256 #40 0x000055c2da9a2915 in Ffuncall (nargs=3, args=0x7ffdc3170ff0) at eval.c:3055 #41 0x00007f71f22ab1cd in F76632d66696e6973682d6c6f67656e747279_vc_finish_logentry_0 () at ~/.emacs.d/eln-cache/28.0.50-feb482d9/vc-dispatcher-d82eb341-5ade7cf9.eln #42 0x000055c2da9a2d16 in funcall_subr (subr=0x55c2e015f3c8, numargs=0, args=0x7ffdc3171540) at eval.c:3126 #43 0x000055c2da9a28c1 in Ffuncall (nargs=1, args=0x7ffdc3171538) at eval.c:3051 #44 0x000055c2da998936 in Ffuncall_interactively (nargs=1, args=0x7ffdc3171538) at callint.c:260 #45 0x000055c2da9a2c20 in funcall_subr (subr=0x55c2dae74120 <Sfuncall_interactively>, numargs=1, args=0x7ffdc3171538) at eval.c:3106 #46 0x000055c2da9a28c1 in Ffuncall (nargs=2, args=0x7ffdc3171530) at eval.c:3051 #47 0x000055c2da9a1680 in Fapply (nargs=3, args=0x7ffdc3171530) at eval.c:2634 #48 0x000055c2da998d00 in Fcall_interactively (function=XIL(0x531da50), record_flag=XIL(0), keys=XIL(0x55c2e42b7705)) at callint.c:353 #49 0x00007f71f19884c2 in F6c6f672d656469742d646f6e65_log_edit_done_0 () at ~/.emacs.d/eln-cache/28.0.50-feb482d9/log-edit-bc58b2d4-166a3c0d.eln #50 0x000055c2da9a2cfa in funcall_subr (subr=0x55c2e2cc57d0, numargs=0, args=0x7ffdc3171b30) at eval.c:3124 #51 0x000055c2da9a28c1 in Ffuncall (nargs=1, args=0x7ffdc3171b28) at eval.c:3051 #52 0x000055c2da998936 in Ffuncall_interactively (nargs=1, args=0x7ffdc3171b28) at callint.c:260 #53 0x000055c2da9a2c20 in funcall_subr (subr=0x55c2dae74120 <Sfuncall_interactively>, numargs=1, args=0x7ffdc3171b28) at eval.c:3106 #54 0x000055c2da9a28c1 in Ffuncall (nargs=2, args=0x7ffdc3171b20) at eval.c:3051 #55 0x000055c2da9a1680 in Fapply (nargs=3, args=0x7ffdc3171b20) at eval.c:2634 #56 0x000055c2da998d00 in Fcall_interactively (function=XIL(0x8646290), record_flag=XIL(0), keys=XIL(0x55c2e262dd25)) at callint.c:353 #57 0x00007f71fa4c4031 in F636f6d6d616e642d65786563757465_command_execute_0 () at ./native-lisp/28.0.50-feb482d9/preloaded/simple-fab5b0cf-08afa05f.eln #58 0x000055c2da9a2db4 in funcall_subr (subr=0x7f71fa66ba90, numargs=1, args=0x7ffdc3171d48) at eval.c:3134 #59 0x000055c2da9a28c1 in Ffuncall (nargs=2, args=0x7ffdc3171d40) at eval.c:3051 #60 0x000055c2da9a2122 in call1 (fn=XIL(0x4560), arg1=XIL(0x8646290)) at eval.c:2911 #61 0x000055c2da8dd2fe in command_loop_1 () at keyboard.c:1489 #62 0x000055c2da99e8c2 in internal_condition_case (bfun=0x55c2da8dcaac <command_loop_1>, handlers=XIL(0x90), hfun=0x55c2da8dc0df <cmd_error>) at eval.c:1478 #63 0x000055c2da8dc750 in command_loop_2 (handlers=XIL(0x90)) at keyboard.c:1117 #64 0x000055c2da99de86 in internal_catch (tag=XIL(0xe6d0), func=0x55c2da8dc725 <command_loop_2>, arg=XIL(0x90)) at eval.c:1198 #65 0x000055c2da8dc6f1 in command_loop () at keyboard.c:1095 #66 0x000055c2da8dbc74 in recursive_edit_1 () at keyboard.c:720 #67 0x000055c2da8dbe1b in Frecursive_edit () at keyboard.c:792 #68 0x000055c2da8d84e2 in main (argc=1, argv=0x7ffdc3172248) at emacs.c:2310 Lisp Backtrace: "redisplay_internal (C function)" (0x0) "vc-do-command" (0xc316fd48) "vc-git-command" (0xc316ffe8) "vc-git-checkin" (0xc3170318) "apply" (0xc3170500) "vc-call-backend" (0xc3170a30) 0xe249c0f0 PVEC_COMPILED "vc-finish-logentry" (0xc3171540) "funcall-interactively" (0xc3171538) "log-edit-done" (0xc3171b30) "funcall-interactively" (0xc3171b28) "command-execute" (0xc3171d48)
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.