From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jan Synacek Newsgroups: gmane.emacs.bugs Subject: bug#30874: 27.0.50; Emacs crashes Date: Tue, 20 Mar 2018 13:12:53 +0100 Message-ID: References: <837eq7lzr4.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1521547934 29605 195.159.176.226 (20 Mar 2018 12:12:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 20 Mar 2018 12:12:14 +0000 (UTC) Cc: 30874@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 20 13:12:09 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eyG7c-0007Xv-8Q for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Mar 2018 13:12:08 +0100 Original-Received: from localhost ([::1]:48052 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eyG9d-0000ZS-MX for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Mar 2018 08:14:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36981) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eyG9X-0000ZC-7R for bug-gnu-emacs@gnu.org; Tue, 20 Mar 2018 08:14:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eyG9S-0001Ad-7e for bug-gnu-emacs@gnu.org; Tue, 20 Mar 2018 08:14:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34910) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eyG9S-0001A9-3I for bug-gnu-emacs@gnu.org; Tue, 20 Mar 2018 08:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eyG9R-0008Fk-M8 for bug-gnu-emacs@gnu.org; Tue, 20 Mar 2018 08:14:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jan Synacek Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Mar 2018 12:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30874 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30874-submit@debbugs.gnu.org id=B30874.152154798231647 (code B ref 30874); Tue, 20 Mar 2018 12:14:01 +0000 Original-Received: (at 30874) by debbugs.gnu.org; 20 Mar 2018 12:13:02 +0000 Original-Received: from localhost ([127.0.0.1]:42807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eyG8T-0008E8-5l for submit@debbugs.gnu.org; Tue, 20 Mar 2018 08:13:01 -0400 Original-Received: from mail-io0-f178.google.com ([209.85.223.178]:40137) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eyG8R-0008Ds-MS for 30874@debbugs.gnu.org; Tue, 20 Mar 2018 08:13:00 -0400 Original-Received: by mail-io0-f178.google.com with SMTP id e79so2043119ioi.7 for <30874@debbugs.gnu.org>; Tue, 20 Mar 2018 05:12:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=WAjSEjQ0nZbcoVSXYRQlShTEfIm23lpPFDB0Vn8xREs=; b=svLnFbXtr4UoYAWLMCJ/5MVGhHyhcOIxDOBeQrCT0JRkbB4l3lK+PpbcwlPnmxYgNU pwlSYyHh3vqcoYPr5gLz4vIclk4LfKSks7YsmZSbH+t6LcjUImr9RKZ9necoz9Z7cCJ5 Sb2g0iVNSyt+3TPl8UvuJgvHBnOTOn4ppVyF6Mz1bNJ+yy8lsSrQzK4wXTbZIddBALar HDBb6Js3Kj4Q8kpT7TBLTsmAiy/k0s/cy2rBapFMnOC/GShwR6dgF/2DPldkWrCtZIya 7sZUWRtqxC25iwk4NdU/oVJ60g6s8QwGzwACb/AxY4z65JLpef6NHd5X4rGGdXsxAYr6 /o2Q== X-Gm-Message-State: AElRT7HsDaMw2u+KFTjnCvvEgU1RxHCpjyWxnaxBSwi97TnOaKoW9YT9 w0K7/5T1HUFURfAKB0jbC801Jo7jbphVGKcxJ+Vgdw== X-Google-Smtp-Source: AG47ELstzSz7h6Jby0/aSQcDCPPp3mWNaBumhiYhoPTZOkFBhbOvuJrtIjnwY1Rmb3QDJ/qeRCW4OwYGj2CTOlVTKrk= X-Received: by 10.107.148.16 with SMTP id w16mr14839598iod.225.1521547973745; Tue, 20 Mar 2018 05:12:53 -0700 (PDT) Original-Received: by 10.79.159.197 with HTTP; Tue, 20 Mar 2018 05:12:53 -0700 (PDT) In-Reply-To: <837eq7lzr4.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:144445 Archived-At: On Tue, Mar 20, 2018 at 1:04 PM, Eli Zaretskii wrote: >> From: Jan Synacek >> Date: Tue, 20 Mar 2018 11:24:51 +0100 >> >> >> Emacs crashes after executing the following on the current master >> (commit b39ca55e294d3be3e4c6e142975256d7f8cdfe76): >> >> emacs -Q --eval="(switch-to-buffer \"*scratch*\")" --eval="(insert-char #x274c)" --eval="(set-fontset-font \"fontset-default\" 'unicode \"Dejavu Sans Mono\")" > > Please show a C-level backtrace from the crash. Since the reproducer is so trivial, I didn't consider it important, but there you go (just basic backtrace, the full one is hilariously huge): Thread 4 (Thread 0x7fffd9d3d700 (LWP 25228)): #0 0x00007fffefb0a3db in poll () at /lib64/libc.so.6 #1 0x00007ffff4e03e99 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0 #2 0x00007ffff4e03fac in g_main_context_iteration () at /lib64/libglib-2.0.so.0 #3 0x00007fffd9d4542d in dconf_gdbus_worker_thread () at /usr/lib64/gio/modules/libdconfsettings.so #4 0x00007ffff4e2b486 in g_thread_proxy () at /lib64/libglib-2.0.so.0 #5 0x00007ffff047761b in start_thread () at /lib64/libpthread.so.0 #6 0x00007fffefb1698f in clone () at /lib64/libc.so.6 Thread 3 (Thread 0x7fffdbdfc700 (LWP 25227)): #0 0x00007fffefb0a3db in poll () at /lib64/libc.so.6 #1 0x00007ffff4e03e99 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0 #2 0x00007ffff4e04232 in g_main_loop_run () at /lib64/libglib-2.0.so.0 #3 0x00007ffff53ecb56 in gdbus_shared_thread_func () at /lib64/libgio-2.0.so.0 #4 0x00007ffff4e2b486 in g_thread_proxy () at /lib64/libglib-2.0.so.0 #5 0x00007ffff047761b in start_thread () at /lib64/libpthread.so.0 #6 0x00007fffefb1698f in clone () at /lib64/libc.so.6 Thread 2 (Thread 0x7fffe0e08700 (LWP 25226)): #0 0x00007fffefb0a3db in poll () at /lib64/libc.so.6 #1 0x00007ffff4e03e99 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0 #2 0x00007ffff4e03fac in g_main_context_iteration () at /lib64/libglib-2.0.so.0 #3 0x00007ffff4e03ff1 in glib_worker_main () at /lib64/libglib-2.0.so.0 #4 0x00007ffff4e2b486 in g_thread_proxy () at /lib64/libglib-2.0.so.0 #5 0x00007ffff047761b in start_thread () at /lib64/libpthread.so.0 #6 0x00007fffefb1698f in clone () at /lib64/libc.so.6 Thread 1 (Thread 0x7ffff7fa2fc0 (LWP 25222)): #0 0x00007ffff048298b in raise () at /lib64/libpthread.so.0 #1 0x00000000004f0571 in terminate_due_to_signal (sig=sig@entry=6, backtrace_limit=backtrace_limit@entry=40) at emacs.c:395 #2 0x00000000005096a3 in emacs_abort () at sysdep.c:2426 #3 0x00000000004bf4c6 in x_connection_closed (dpy=dpy@entry=0x2c59000, error_message=, error_message@entry=0x7fffffff45b0 "X protocol error: BadLength (poly request too large or internal Xlib length error) on protocol request 138", ioerror=ioerror@entry=false) at xterm.c:9831 #4 0x00000000004c2f50 in x_error_quitter (display=0x2c59000, event=, event=) at xterm.c:9919 #5 0x00000000004c2fcb in x_error_handler (display=0x2c59000, event=0x7fffffff4770) at xterm.c:9889 #6 0x00007ffff469ce3a in _XError () at /lib64/libX11.so.6 #7 0x00007ffff4699d6b in handle_error () at /lib64/libX11.so.6 #8 0x00007ffff4699e15 in handle_response () at /lib64/libX11.so.6 #9 0x00007ffff469a745 in _XEventsQueued () at /lib64/libX11.so.6 #10 0x00007ffff467bcca in XFlush () at /lib64/libX11.so.6 #11 0x00007ffff46b965e in _XimProtoDestroyIC () at /lib64/libX11.so.6 #12 0x00007ffff46a7a02 in XDestroyIC () at /lib64/libX11.so.6 #13 0x00000000004d408f in free_frame_xic (f=f@entry=0x13f0c30 ) at xfns.c:2676 #14 0x00000000004cc648 in x_free_frame_resources (f=0x13f0c30 ) at xterm.c:11777 #15 0x00000000004ccd1b in x_destroy_window (f=) at xterm.c:11906 #16 0x00000000004280d0 in delete_frame (frame=, force=force@entry=0x98a0) at frame.c:2055 #17 0x00000000004bf543 in x_connection_closed (dpy=dpy@entry=0x2c59000, error_message=, error_message@entry=0x7fffffff5b80 "X protocol error: BadLength (poly request too large or internal Xlib length error) on protocol request 138", ioerror=ioerror@entry=false) at xterm.c:9810 #18 0x00000000004c2f50 in x_error_quitter (display=0x2c59000, event=, event=) at xterm.c:9919 #19 0x00000000004c2fcb in x_error_handler (display=0x2c59000, event=0x7fffffff5d40) at xterm.c:9889 #20 0x00007ffff469ce3a in _XError () at /lib64/libX11.so.6 #21 0x00007ffff4699d6b in handle_error () at /lib64/libX11.so.6 ---Type to continue, or q to quit--- #22 0x00007ffff4699e15 in handle_response () at /lib64/libX11.so.6 #23 0x00007ffff469a745 in _XEventsQueued () at /lib64/libX11.so.6 #24 0x00007ffff468c2bd in XPending () at /lib64/libX11.so.6 #25 0x00007ffff64f2c2e in gdk_event_source_prepare () at /lib64/libgdk-3.so.0 #26 0x00007ffff4e033f9 in g_main_context_prepare () at /lib64/libglib-2.0.so.0 #27 0x00007ffff4e03dcb in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0 #28 0x00007ffff4e03f57 in g_main_context_pending () at /lib64/libglib-2.0.so.0 #29 0x00007ffff69b2d1d in gtk_events_pending () at /lib64/libgtk-3.so.0 #30 0x00000000004bfee7 in XTread_socket (terminal=, hold_quit=0x7fffffff6040) at xterm.c:9146 #31 0x00000000004f7301 in gobble_input () at keyboard.c:6890 #32 0x00000000004f7925 in handle_async_input () at keyboard.c:7127 #33 0x00000000004f7925 in process_pending_signals () at keyboard.c:7141 #34 0x00000000005c8e5c in xftfont_open (f=0x13f0c30 , entity=0x1243cb5 , pixel_size=15) at xftfont.c:391 #35 0x000000000057a91c in font_open_entity (f=0x13f0c30 , entity=0x1243cb5 , pixel_size=15) at font.c:2903 #36 0x00000000005cb0a4 in fontset_find_font (fontset=fontset@entry=0x142ac35 , c=c@entry=10060, face=face@entry=0x32a8610, charset_id=charset_id@entry=-1, fallback=fallback@entry=true) at fontset.c:707 #37 0x00000000005cb8bb in fontset_font (fontset=fontset@entry=0x142ac35 , c=c@entry=10060, face=face@entry=0x32a8610, id=-1) at fontset.c:788 #38 0x00000000005cbbbc in face_for_char (f=0x13f0c30 , face=face@entry=0x32a8610, c=10060, pos=, object=) at fontset.c:990 #39 0x00000000004474d9 in FACE_FOR_CHAR (object=, pos=, character=, face=0x32a8610, f=) at dispextern.h:1818 #40 0x00000000004474d9 in get_next_display_element (it=it@entry=0x7fffffff8a90) at xdisp.c:7324 #41 0x000000000044e5f8 in display_line (it=it@entry=0x7fffffff8a90, cursor_vpos=cursor_vpos@entry=0) at xdisp.c:21502 #42 0x00000000004536fd in try_window (window=window@entry=0x13f1c35 , pos=..., flags=flags@entry=1) at xdisp.c:17718 #43 0x0000000000466751 in redisplay_window (window=0x13f1c35 , just_this_one_p=just_this_one_p@entry=false) at xdisp.c:17165 #44 0x00000000004692eb in redisplay_window_0 (window=window@entry=0x13f1c35 ) at xdisp.c:14922 #45 0x0000000000561e86 in internal_condition_case_1 (bfun=bfun@entry=0x4692c0 , arg=arg@entry=0x13f1c35 , handlers=, hfun=hfun@entry=0x42f220 ) at eval.c:1356 #46 0x0000000000434315 in redisplay_windows (window=0x13f1c35 ) at xdisp.c:14902 #47 0x000000000045705d in redisplay_internal () at xdisp.c:14385 #48 0x0000000000458d55 in redisplay () at xdisp.c:13597 #49 0x00000000004fa4bb in read_char (commandflag=commandflag@entry=1, map=map@entry=0x15484b3 , prev_event=0x0, used_mouse_menu=used_mouse_menu@entry=0x7fffffffdf8b, end_time=end_time@entry=0x0) at keyboard.c:2486 #50 0x00000000004fcffb in read_key_sequence (keybuf=keybuf@entry=0x7fffffffe060, prompt=prompt@entry=0x0, dont_downcase_last=dont_downcase_last@entry=false, can_return_switch_frame=can_return_switch_frame@entry=true, fix_current_buffer=fix_current_buffer@entry=true, prevent_redisplay=prevent_redisplay@entry=false, bufsize=30) at keyboard.c:9137 #51 0x00000000004feaee in command_loop_1 () at keyboard.c:1370 #52 0x0000000000561dee in internal_condition_case (bfun=bfun@entry=0x4fe900 , handlers=handlers@entry=0x5280, hfun=hfun@entry=0x4f5b20 ) at eval.c:1332 #53 0x00000000004f093c in command_loop_2 (ignore=ignore@entry=0x0) at keyboard.c:1111 #54 0x0000000000561d5d in internal_catch (tag=tag@entry=0xc750, func=func@entry=0x4f0920 , arg=arg@entry=0x0) at eval.c:1097 #55 0x00000000004f08e4 in command_loop () at keyboard.c:1090 #56 0x00000000004f5743 in recursive_edit_1 () at keyboard.c:696 #57 0x00000000004f5a57 in Frecursive_edit () at keyboard.c:767 #58 0x000000000041a73f in main (argc=5, argv=0x7fffffffe3c8) at emacs.c:1724 -- Jan Synacek Software Engineer, Red Hat