From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Yuri D'Elia Newsgroups: gmane.emacs.devel Subject: Re: master 5ee43ba0df causing display hangs? Date: Tue, 10 Dec 2019 11:57:24 +0100 Message-ID: <87v9qola7f.fsf@wavexx.thregr.org> References: <87k178gu5g.fsf@wavexx.thregr.org> <83sglwdoc0.fsf@gnu.org> <83pnh0dmvl.fsf@gnu.org> <87pnh0ezhx.fsf@wavexx.thregr.org> <83muc4djwg.fsf@gnu.org> <878snn3fi0.fsf@wavexx.thregr.org> <837e36errp.fsf@gnu.org> <874kyau7mi.fsf@wavexx.thregr.org> <834kyaeowc.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="220110"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: mu4e 1.3.5; emacs 27.0.50 Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 10 11:58:15 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iedDa-000v9A-SM for ged-emacs-devel@m.gmane.org; Tue, 10 Dec 2019 11:58:14 +0100 Original-Received: from localhost ([::1]:54746 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iedDZ-0006DY-9x for ged-emacs-devel@m.gmane.org; Tue, 10 Dec 2019 05:58:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51102) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iedD5-0006D7-Ea for emacs-devel@gnu.org; Tue, 10 Dec 2019 05:57:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iedD4-0000X7-3k for emacs-devel@gnu.org; Tue, 10 Dec 2019 05:57:43 -0500 Original-Received: from erc.thregr.org ([2001:41c9:1:41f::63]:46008) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iedD0-0000QA-JZ; Tue, 10 Dec 2019 05:57:38 -0500 Original-Received: from [2a02:27e8:ffff:10::3] (helo=localhost) by erc.thregr.org with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) id 1iedCp-000VZ9-MT (envelope-from ); Tue, 10 Dec 2019 11:57:27 +0100 In-reply-to: <834kyaeowc.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2001:41c9:1:41f::63 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:243277 Archived-At: 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 , arg=XIL(0x5555576a24a5), handlers=XIL(0x7ffffb), hfun=0x5555555f3745 ) 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 , handlers=XIL(0x90), hfun=0x5555557550e3 , 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))