From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bjoern Bidar via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#56967: 29.0.50; Frequent crashes under Wayland Date: Fri, 05 Aug 2022 03:18:17 +0300 Message-ID: <16164156.Y83TkukXya@odin> References: <1932596.zmb9SnqgO4@odin> <834jys4dwq.fsf@gnu.org> <87les46xem.fsf@yahoo.com> Reply-To: Bjoern Bidar Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25672"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56967@debbugs.gnu.org To: Eli Zaretskii , Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 05 02:19:15 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oJl3a-0006YD-V2 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Aug 2022 02:19:15 +0200 Original-Received: from localhost ([::1]:59154 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJl3Y-0001Bd-Qw for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 04 Aug 2022 20:19:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59686) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJl3O-0001BU-S5 for bug-gnu-emacs@gnu.org; Thu, 04 Aug 2022 20:19:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37335) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJl3O-0005VZ-Gt for bug-gnu-emacs@gnu.org; Thu, 04 Aug 2022 20:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJl3O-00011W-78 for bug-gnu-emacs@gnu.org; Thu, 04 Aug 2022 20:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Bjoern Bidar Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Aug 2022 00:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56967 X-GNU-PR-Package: emacs Original-Received: via spool by 56967-submit@debbugs.gnu.org id=B56967.16596587103892 (code B ref 56967); Fri, 05 Aug 2022 00:19:02 +0000 Original-Received: (at 56967) by debbugs.gnu.org; 5 Aug 2022 00:18:30 +0000 Original-Received: from localhost ([127.0.0.1]:55317 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJl2s-00010i-EB for submit@debbugs.gnu.org; Thu, 04 Aug 2022 20:18:30 -0400 Original-Received: from thaodan.de ([185.216.177.71]:57410) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJl2m-00010R-VB for 56967@debbugs.gnu.org; Thu, 04 Aug 2022 20:18:29 -0400 Original-Received: from odin.localnet (dsl-trebng12-b04885-76.dhcp.inet.fi [176.72.133.76]) by thaodan.de (Postfix) with ESMTPSA id 9919CD0029A; Fri, 5 Aug 2022 03:18:18 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thaodan.de; s=mail; t=1659658698; bh=wetITLj0yNXtycegw7w+XOUCUU4v8F+ehR8ZeCqMT0M=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=eh/0lCZKLqYKqao8OV7HQCxm+UDQJ9Wmq5mhOIu+U+4bPL3eGJWPWcI3zvFRbXpeE fYYLc96LaG7vSM9k+LRm4QunLqguemb2AXTQoWyeGh3gb4xZTXcXpJOr7PTKN6/B+O JZuk6eHSxny9OKbBpE8xdsU7nf8G/DJV4kDL37TgIXtrAymn02nKnmAB/3GQSYDl90 wmrmL1TwDz8sv6K5wHZMm1SaKPtihonEcDpcvPeMTI/XgbKEAVIyqrBkDdMaDb15ck vhuZEOKzX7A/72c0XJZJRT26pc8mMiyiIolAeR4gilOliklFkkvqGcY6RYo7WbLr0c +gcUuHRpsi7ygHqFk5wHk9UhXdLti+Wo45iUudFjJHtDSNlJktvQynpVi0jkYuEDjg gyAi2ZwXwzQRB36H+xyFq4hZhjHU9CWLDdi8AmsHmnVXKwPRaGr7nnYVLlWmBEP5tY NCHm0m/WzQ12AZ4DfLyh9mOvwVf4IFZneb8qaALI5AteW+ALWdWa+4UmBrBjHufsp6 vfPWlfhY0IEWp+pAF/5XQFjUfKhoL7qEgaiAETG99awGOL2KPZd8fW5cGcvNlECMJV C+TdyRZg3zbrx4Jc49UScGPYQQLX4I2+fdXmQbcTNLnQ1oBsi3qsbmrm4Uw0M7e0fG wKTwYkbXD/2ZkpCZ7J1VuIdc= In-Reply-To: <87les46xem.fsf@yahoo.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:238804 Archived-At: > Eli Zaretskii writes: > > Then please run Emacs under a debugger, or attach a debugger to it > > after you start it, and place a breakpoint in the function > > Fkill_emacs. When that breakpoint breaks, produce a backtrace (with > > the "thread apply all bt" command in GDB) and post that backtrace > > here. > > Please also place a breakpoint on _exit -- GDK always calls that with > the exit code 1 that when a display connection is abruptly lost, in > which case Fkill_emacs has no chance to run. > > Thanks in advance. Started emacs via systemd as and set both break points as asked. There you go: Thread 1 "emacs" hit Breakpoint 2, __GI__exit (status=status@entry=1) at ../ sysdeps/unix/sysv/linux/_exit.c:27 27 { (gdb) bt #0 __GI__exit (status=status@entry=1) at ../sysdeps/unix/sysv/linux/_exit.c: 27 #1 0x00007fdac9c825ae in gdk_event_source_check (base=base@entry=0x5626b0eb7770) at ../gtk/gdk/wayland/gdkeventsource.c:97 #2 0x00007fdac962411f in g_main_context_check (context=0x5626b71d9be0, max_priority=2147483647, fds=, n_fds=) at ../ glib/glib/gmain.c:4035 #3 0x00007fdac9679e5e in g_main_context_iterate.constprop.0 (context=context@entry=0x5626b71d9be0, block=block@entry=0, dispatch=dispatch@entry=0, self=) at ../glib/glib/gmain.c:4208 #4 0x00007fdac962132d in g_main_context_pending (context=0x5626b71d9be0) at ../glib/glib/gmain.c:4241 #5 0x00005626ab4f3bd2 in pgtk_read_socket.lto_priv () #6 0x00005626ab3a3731 in gobble_input () #7 0x00005626ab3a3ba5 in unblock_input () #8 0x00005626ab4c7f23 in ftcrfont_text_extents.lto_priv () #9 0x00005626ab30e4a5 in gui_produce_glyphs () #10 0x00005626ab2fcb90 in display_line.lto_priv () #11 0x00005626ab2ef021 in try_window () #12 0x00005626ab2f6641 in redisplay_window.lto_priv () #13 0x00005626ab2e7a1e in redisplay_window_1 () #14 0x00005626ab427ecc in internal_condition_case_1 () #15 0x00005626ab2ec09a in redisplay_internal.lto_priv () #16 0x00005626ab51c025 in redisplay_preserve_echo_area.constprop () #17 0x00005626ab49e8d6 in wait_reading_process_output () #18 0x00005626ab2b6419 in sit_for () #19 0x00005626ab3a0f02 in read_char () #20 0x00005626ab3a83f4 in read_key_sequence.lto_priv () #21 0x00005626ab39bba8 in command_loop_1.lto_priv () #22 0x00005626ab427e37 in internal_condition_case () #23 0x00005626ab3939ce in command_loop_2 () #24 0x00005626ab427d7a in internal_catch () #25 0x00005626ab396cd9 in command_loop.lto_priv () #26 0x00005626ab5298ab in recursive_edit_1.isra () #27 0x00005626ab397090 in Frecursive_edit () #28 0x00005626ab2aac2f in main () (gdb)