all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Yuri D'Elia <wavexx@thregr.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: master 5ee43ba0df causing display hangs?
Date: Tue, 10 Dec 2019 11:57:24 +0100	[thread overview]
Message-ID: <87v9qola7f.fsf@wavexx.thregr.org> (raw)
In-Reply-To: <834kyaeowc.fsf@gnu.org>

So, I stopped while stuck, so here's a sample of the stack:

#0  0x0000555555886011 in assq_no_quit (key=XIL(0xb490), list=XIL(0x5555562b35f3)) at fns.c:1626
#1  0x00005555556e0be8 in lface_from_face_name_no_resolve
    (f=0x555556065240, face_name=XIL(0xb490), signal_p=false) at xfaces.c:1846
#2  0x00005555556e0cbb in get_lface_attributes_no_remap
    (f=0x555556065240, face_name=XIL(0xb490), attrs=0x7fffffff62b0, signal_p=false)
    at xfaces.c:1888
#3  0x00005555556e0e1d in get_lface_attributes
    (w=0x5555576a24a0, f=0x555556065240, face_name=XIL(0xb490), attrs=0x7fffffff62b0, signal_p=false, named_merge_points=0x7fffffff6460) at xfaces.c:1939
#4  0x00005555556e18ac in face_inherited_attr
    (w=0x5555576a24a0, f=0x555556065240, attrs=0x7fffffff63c0, attr_idx=LFACE_EXTEND_INDEX, named_merge_points=0x7fffffff6460) at xfaces.c:2173
#5  0x00005555556e1b2e in merge_named_face
    (w=0x5555576a24a0, f=0x555556065240, face_name=XIL(0xf84c80), to=0x7fffffff67f0, named_merge_points=0x7fffffff6460, attr_filter=LFACE_EXTEND_INDEX) at xfaces.c:2223
#6  0x00005555556e2bf1 in merge_face_ref
    (w=0x5555576a24a0, f=0x555556065240, face_ref=XIL(0xf84c80), to=0x7fffffff67f0, err_msgs named_merge_points=0x0, attr_filter=LFACE_EXTEND_INDEX) at xfaces.c:2696
#7  0x00005555556ec15c in face_at_buffer_position
    (w=0x5555576a24a0, pos=138, endptr=0x7fffffff6968, limit=238, mouse=false, base_face_id=r_filter=LFACE_EXTEND_INDEX) at xfaces.c:6264
#8  0x00005555555d37f1 in face_at_pos (it=0x7fffffff7ff0, attr_filter=LFACE_EXTEND_INDEX)
    at xdisp.c:4173
#9  0x0000555555604e7a in extend_face_to_end_of_line (it=0x7fffffff7ff0) at xdisp.c:21588
#10 0x000055555560b9cf in display_line (it=0x7fffffff7ff0, cursor_vpos=0) at xdisp.c:23478
#11 0x00005555555fd519 in try_window (window=XIL(0x5555576a24a5), pos=..., flags=1)
    at xdisp.c:19005
#12 0x00005555555faa5d in redisplay_window (window=XIL(0x5555576a24a5), just_this_one_p=fals
    at xdisp.c:18426
#13 0x00005555555f37bf in redisplay_window_0 (window=XIL(0x5555576a24a5)) at xdisp.c:16147
#14 0x000055555587254f in internal_condition_case_1
    (bfun=0x5555555f377d <redisplay_window_0>, arg=XIL(0x5555576a24a5), handlers=XIL(0x7ffffb), hfun=0x5555555f3745 <redisplay_window_error>) at eval.c:1379
#15 0x00005555555f371b in redisplay_windows (window=XIL(0x5555576a24a5)) at xdisp.c:16127
#16 0x00005555555f36cd in redisplay_windows (window=XIL(0x5555576a2295)) at xdisp.c:16121
#17 0x00005555555f264a in redisplay_internal () at xdisp.c:15595
#18 0x00005555555f30cd in redisplay_preserve_echo_area (from_where=12) at xdisp.c:15948
#19 0x00005555558f4ecc in wait_reading_process_output
    (time_limit=30, nsecs=0, read_kbd=-1, do_display=true, wait_for_cell=XIL(0), wait_proc=0st_wait_proc=0) at process.c:5823
#20 0x00005555555a6806 in sit_for (timeout=make_fixnum(30), reading=true, display_option=1)
    at dispnew.c:6037
#21 0x000055555575958f in read_char
    (commandflag=1, map=XIL(0x5555579e7d23), prev_event=XIL(0), used_mouse_menu=0x7fffffffd8d_time=0x0) at keyboard.c:2733
#22 0x0000555555767cb8 in read_key_sequence
    (keybuf=0x7fffffffdae0, prompt=XIL(0), dont_downcase_last=false, can_return_switch_frame fix_current_buffer=true, prevent_redisplay=false) at keyboard.c:9536
#23 0x0000555555755d77 in command_loop_1 () at keyboard.c:1345
#24 0x00005555558724a8 in internal_condition_case
    (bfun=0x55555575594d <command_loop_1>, handlers=XIL(0x90), hfun=0x5555557550e3 <cmd_erro
    at eval.c:1355
#25 0x0000555555755612 in command_loop_2 (ignore=XIL(0)) at keyboard.c:1091
#26 0x0000555555871d60 in internal_catch
    (tag=XIL(0xd530), func=0x5555557555e5 <command_loop_2>, arg=XIL(0)) at eval.c:1116
#27 0x00005555557555b0 in command_loop () at keyboard.c:1070
#28 0x0000555555754cb4 in recursive_edit_1 () at keyboard.c:714
#29 0x0000555555754e37 in Frecursive_edit () at keyboard.c:786
#30 0x000055555574d46c in main (argc=3, argv=0x7fffffffdfb8) at emacs.c:2054

The loop is stuck at #4, in face_inherited_attr.
As described above, attr_val is not changing:

(gdb) p attr_val
$16 = XIL(0xde90)
(gdb) pp attr_val
unspecified
(gdb) p attr_idx
$17 = LFACE_EXTEND_INDEX
(gdb) pp parent_face
'mu4e-header-value-face

Now, going up the stack

#0  get_lface_attributes (w=0x5555576c3fc0, f=0x55555617f4d0, face_name=XIL(0xb490),
    attrs=0x7fffffff62b0, signal_p=false, named_merge_points=0x7fffffff6460) at xfaces.c:1914
(gdb) pp face_name
quote

mmmh?

(face-all-attributes 'mu4e-header-value-face (window-frame))
=> ((:family . unspecified) (:foundry . unspecified) (:width . unspecified) (:height . unspecified) (:weight . unspecified) (:slant . unspecified) (:underline . unspecified) (:overline . unspecified) (:extend . unspecified) (:strike-through . unspecified) (:box . unspecified) (:inverse-video . unspecified) (:foreground . unspecified) (:background . unspecified) (:stipple . unspecified) (:inherit . message-header-other))
(face-all-attributes 'message-header-other (window-frame))
=> ((:family . unspecified) (:foundry . unspecified) (:width . unspecified) (:height . unspecified) (:weight . unspecified) (:slant . unspecified) (:underline . unspecified) (:overline . unspecified) (:extend . unspecified) (:strike-through . unspecified) (:box . unspecified) (:inverse-video . unspecified) (:foreground . unspecified) (:background . unspecified) (:stipple . unspecified) (:inherit . unspecified))



  reply	other threads:[~2019-12-10 10:57 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-07 13:08 master 5ee43ba0df causing display hangs? Yuri D'Elia
2019-12-07 17:42 ` Eli Zaretskii
2019-12-07 18:14   ` Eli Zaretskii
2019-12-07 18:56     ` Yuri D'Elia
2019-12-07 19:18       ` Eli Zaretskii
2019-12-07 23:03         ` Yuri D'Elia
2019-12-08 15:55           ` Eli Zaretskii
2019-12-08 16:03             ` Yuri D'Elia
2019-12-08 16:57               ` Eli Zaretskii
2019-12-10 10:57                 ` Yuri D'Elia [this message]
2019-12-10 12:01                   ` Eli Zaretskii
2019-12-11 11:36                     ` Yuri D'Elia
2019-12-11 17:14                       ` Eli Zaretskii
2019-12-11 17:29                         ` Yuri D'Elia
2019-12-11 17:47                           ` 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=87v9qola7f.fsf@wavexx.thregr.org \
    --to=wavexx@thregr.org \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@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.