emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master 5ee43ba0df causing display hangs?


From: Yuri D'Elia
Subject: Re: master 5ee43ba0df causing display hangs?
Date: Tue, 10 Dec 2019 11:57:24 +0100
User-agent: mu4e 1.3.5; emacs 27.0.50

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 via email to

[Prev in Thread] Current Thread [Next in Thread]