From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#56967: 29.0.50; Frequent crashes under Wayland Date: Thu, 04 Aug 2022 11:21:41 +0300 Message-ID: <834jys4dwq.fsf@gnu.org> References: <1932596.zmb9SnqgO4@odin> <835yj84eu6.fsf@gnu.org> <3230275.qDoO4GC8Cx@odin> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22855"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56967@debbugs.gnu.org To: Bjoern Bidar Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 04 10:28:12 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 1oJWDE-0005lq-1H for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 04 Aug 2022 10:28:12 +0200 Original-Received: from localhost ([::1]:48316 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJWDC-0007SZ-WA for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 04 Aug 2022 04:28:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49948) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJW7I-0003ju-KK for bug-gnu-emacs@gnu.org; Thu, 04 Aug 2022 04:22:07 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33094) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJW7G-0003UI-9p for bug-gnu-emacs@gnu.org; Thu, 04 Aug 2022 04:22:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJW7F-0007OD-Pc for bug-gnu-emacs@gnu.org; Thu, 04 Aug 2022 04:22:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Aug 2022 08:22:01 +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.165960132028398 (code B ref 56967); Thu, 04 Aug 2022 08:22:01 +0000 Original-Received: (at 56967) by debbugs.gnu.org; 4 Aug 2022 08:22:00 +0000 Original-Received: from localhost ([127.0.0.1]:51076 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJW7B-0007Nv-0G for submit@debbugs.gnu.org; Thu, 04 Aug 2022 04:22:00 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:36932) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJW75-0007Ne-Tt for 56967@debbugs.gnu.org; Thu, 04 Aug 2022 04:21:55 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:36452) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJW70-0003SH-Fl; Thu, 04 Aug 2022 04:21:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=BgZtxLLi64vsm7POKYlHQ469Z0a2uDB6EMmPLmkkUOs=; b=WJBp6/Bd/she x3GMWA4eSsWspjqQSh7zizFpWQamyELM9CivMFxdlL3PyCyRMMHa8npOmNIYWrEm4x2ayRv33XZI9 C0P73bJRLmSbAITVw0iqltzzTYMZcNT8LwLWp887g2Oinn0OY4GiJ4SN8mcAChhNCoPq3Qrl9OUMA utWnMOxGEIO62gAhItFtIDeCsDyx0Jj3IaG1KUE/8RZZqeyAFNbllMY7rBfDMmscRWQjn637wd9+5 h+dDxHkiHFpc9EHpxtsSPKSUquAspzMXJpM4olAGwDlxLEgRpCvib5pcjRro2wZVreQrXJB+w0QH2 H0Blt4wUXV2+igD0YAExZg==; Original-Received: from [87.69.77.57] (port=3233 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJW6z-00028S-V9; Thu, 04 Aug 2022 04:21:46 -0400 In-Reply-To: <3230275.qDoO4GC8Cx@odin> (message from Bjoern Bidar on Thu, 04 Aug 2022 11:05:00 +0300) 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:238697 Archived-At: [Please use Reply All to reply, to keep the bug tracker on the CC.] > From: Bjoern Bidar > Date: Thu, 04 Aug 2022 11:05:00 +0300 > > The issue is that Emacs doesn't crash, it just exists with 1. > > The recipe to reproduce the bug is to just use emacs and wait till it crashes. > > I start emacs like this: > # /home/user/.config/systemd/user/emacs.service > > [Unit] > Description=Emacs: the extensible, self-documenting text editor > Wants=graphical.target > Wants=environment.target > > [Service] > Type=forking > ExecStart=/usr/bin/emacs --daemon > ExecStop=/usr/bin/emacsclient --eval "(kill-emacs)" > Environment=SSH_AUTH_SOCK=%t/keyring/ssh > Environment=GDK_DPI_SCALE=2 > Environment=GDK_SCALE=2 > Restart=always > TimeoutStartSec=0 > [Install] > WantedBy=default.target > > # /home/user/.config/systemd/user/emacs.service.d/override.conf > [Service] > TimeoutStopSec=600 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. > I'm not sure if it helps but the most crashes I experienced when using irc > through circe. It depends on what we will see in the backtrace. Thanks.