From: Keith David Bershatsky <esq@lawlist.com>
To: 32351@debbugs.gnu.org
Subject: bug#32351: assq_no_quit: circular loop (default, line-number, line-number-current-line)
Date: Thu, 02 Aug 2018 19:10:12 -0700 [thread overview]
Message-ID: <m2ftzw6vzv.wl%esq@lawlist.com> (raw)
I apologize in advance for "not yet" having a concise recipe from Emacs -Q. I can work on creating a recipe in the coming days/weeks/months. I am able to produce this reliably in Emacs master branch, using a full user configuration. Here are the relevant lines from LIST to the assq_no_quit function.
(line-number-current-line . [face unspecified unspecified unspecified unspecified unspecified unspecified unspecified unspecified unspecified unspecified unspecified unspecified unspecified unspecified unspecified line-number unspecified unspecified])
(line-number . [face unspecified unspecified unspecified unspecified unspecified unspecified unspecified unspecified unspecified unspecified unspecified unspecified unspecified unspecified unspecified (shadow default) unspecified unspecified])
(default . [face "Courier" "nil" normal 180 normal normal nil nil "white" "black" nil nil nil nil #<font-object "-*-Courier-normal-normal-normal-*-18-*-*-*-m-0-iso10646-1"> nil "-*-Courier-normal-normal-normal-*-18-*-*-*-m-0-fontset-auto1" unspecified]))
If I start/stop Emacs with the gdb, the KEY to assq_no_quit oscillates from the above three (3) faces. Any ideas why this is a never ending loop?
The source code line numbers will be off because this is my working copy for developing feature requests (crosshairs/multiple-fake-cursors). According to the gdb printout, my custom modifications are not at issue here. Maybe it has something do with "font-object" in the default face above?
Program received signal SIGTSTP, Stopped (user).
0x0000000100216c51 in assq_no_quit (key=XIL(0x7c80), list=XIL(0x11b813b63))
at fns.c:1487
1487 for (; ! NILP (list); list = XCDR (list))
(gdb) bt
#0 0x0000000100216c51 in assq_no_quit (key=XIL(0x7c80), list=XIL(0x11b813b63))
at fns.c:1487
#1 0x000000010012c656 in lface_from_face_name_no_resolve (f=0x10308cbb0,
face_name=XIL(0x7c80), signal_p=false) at xfaces.c:1860
#2 0x000000010012c74f in get_lface_attributes_no_remap (f=0x10308cbb0,
face_name=XIL(0x7c80), attrs=0x7fff5fbebb30, signal_p=false)
at xfaces.c:1902
#3 0x000000010012c956 in get_lface_attributes (w=0x10309da30, f=0x10308cbb0,
face_name=XIL(0x7c80), attrs=0x7fff5fbebb30, signal_p=false,
named_merge_points=0x7fff5fbebbd0) at xfaces.c:1952
#4 0x000000010012d3c9 in merge_named_face (w=0x10309da30, f=0x10308cbb0,
face_name=XIL(0x7c80), to=0x7fff5fbebc30, named_merge_points=0x7fff5fbebbd0)
at xfaces.c:2178
#5 0x0000000100138b28 in merge_faces (w=0x10309da30, face_name=XIL(0x7c80),
face_id=0, base_face_id=0) at xfaces.c:6352
#6 0x000000010007a8ba in maybe_produce_line_number (it=0x7fff5fbf5880)
at xdisp.c:23690
#7 0x000000010005067f in move_it_in_display_line_to (it=0x7fff5fbf5880,
to_charpos=11104, to_x=-1, op=MOVE_TO_POS) at xdisp.c:11166
#8 0x00000001000546c4 in move_it_to (it=0x7fff5fbf5880, to_charpos=11104,
to_x=-1, to_y=-1, to_vpos=-1, op=8) at xdisp.c:11976
#9 0x00000001000550b4 in move_it_vertically_backward (it=0x7fff5fbf80d0,
dy=962) at xdisp.c:12170
#10 0x000000010006ba00 in redisplay_window (window=XIL(0x10309da35),
just_this_one_p=false) at xdisp.c:19855
#11 0x0000000100062ba3 in redisplay_window_0 (window=XIL(0x10309da35))
at xdisp.c:17440
#12 0x0000000100208b85 in internal_condition_case_1 (
bfun=0x100062b64 <redisplay_window_0>, arg=XIL(0x10309da35),
handlers=XIL(0x10181fe43), hfun=0x100062b2c <redisplay_window_error>)
at eval.c:1373
#13 0x0000000100062b02 in redisplay_windows (window=XIL(0x10309da35))
at xdisp.c:17420
#14 0x0000000100062abd in redisplay_windows (window=XIL(0x11d4d4d15))
at xdisp.c:17414
#15 0x00000001000614ba in redisplay_internal () at xdisp.c:16889
#16 0x000000010005b887 in echo_area_display (update_frame_p=true)
at xdisp.c:14107
* * *
next reply other threads:[~2018-08-03 2:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-03 2:10 Keith David Bershatsky [this message]
2018-08-03 6:45 ` bug#32351: assq_no_quit: circular loop (default, line-number, line-number-current-line) Eli Zaretskii
2018-08-03 15:17 ` Keith David Bershatsky
2018-08-03 17:54 ` Eli Zaretskii
2018-08-05 3:26 ` Keith David Bershatsky
2018-08-13 1:36 ` Keith David Bershatsky
2018-08-28 11:12 ` Eli Zaretskii
2018-08-28 18:46 ` Keith David Bershatsky
2018-08-28 19:19 ` 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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2ftzw6vzv.wl%esq@lawlist.com \
--to=esq@lawlist.com \
--cc=32351@debbugs.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).