From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu 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: Thu, 04 Aug 2022 19:49:53 +0800 Message-ID: <87les46xem.fsf@yahoo.com> References: <1932596.zmb9SnqgO4@odin> <835yj84eu6.fsf@gnu.org> <3230275.qDoO4GC8Cx@odin> <834jys4dwq.fsf@gnu.org> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21722"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: 56967@debbugs.gnu.org, Bjoern Bidar To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 04 14:02:31 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 1oJZYd-0005OW-GX for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 04 Aug 2022 14:02:31 +0200 Original-Received: from localhost ([::1]:49618 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJZYb-0002Ho-U8 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 04 Aug 2022 08:02:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59206) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJZNX-0003Gj-EJ for bug-gnu-emacs@gnu.org; Thu, 04 Aug 2022 07:51:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33487) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJZNW-0003ju-Uj for bug-gnu-emacs@gnu.org; Thu, 04 Aug 2022 07:51:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJZNW-000769-Ql for bug-gnu-emacs@gnu.org; Thu, 04 Aug 2022 07:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Aug 2022 11:51: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.165961381127183 (code B ref 56967); Thu, 04 Aug 2022 11:51:02 +0000 Original-Received: (at 56967) by debbugs.gnu.org; 4 Aug 2022 11:50:11 +0000 Original-Received: from localhost ([127.0.0.1]:51465 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJZMg-00074N-MU for submit@debbugs.gnu.org; Thu, 04 Aug 2022 07:50:11 -0400 Original-Received: from sonic309-20.consmr.mail.ne1.yahoo.com ([66.163.184.146]:44636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJZMe-000745-Dw for 56967@debbugs.gnu.org; Thu, 04 Aug 2022 07:50:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1659613802; bh=zks0RPfne4g9UiS7shNW4bHnNQAVuEM13DiJObFADEA=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=BlRYj/QdBRTprvACb+aJmawdNoscMjylggQgCpk5hJXwnO+yvw6iZjH7HkDmVCrtFGWZbaGSUDVb81dCCE8Hb0un2UC8t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ndeHDiQiRJ0487wWTMxUmASi7xoVEjJj3V2dW830BKRCjzYAjv SbLorHsRT6DIRRkeK0GM.rAd9Ch..e9MoXRIkM4ee3taM8K7fdX6_moOdgpGBs7O_WiG8ttBZEZf 40ZMZVuaaJvT.frvhfb87eWyG9bDa5HfDwsVFygTD4RnpLdKpBQqtL.Qmkpjbg9eDLSCCHml01Jv t37sMgIi76svDuR7R_7HkvNo8aVRxJ06K0N46PBOykQuUp_H52_3f7PqQgloy7gdLUO.TMeC.Dle JuC4IZuZf1BeUQmdMpynUj8u6weC5lwS9FCj3BY6QeRjv8yPWjZ5eemkCzgs0e1JLEg8pMCJaqsF MiXuslpNBRNvIJkiH2lWZSaWqgOnSKQPPR4EhqddbE8Mj_cu4Aq1nvPvISKQFwTL9yEXBHk8wutW F4S49prdoJ1MpsYrTbquRL8m7ZnCV_IoUJ3GvNHdwU4ME6Td33Fn63pkXT_uCPIxamBxEpWaPFKM LcHgxR3_WzoSzdQShrp6D8kDuTIE2ZzjHasP1vlORt X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.ne1.yahoo.com with HTTP; Thu, 4 Aug 2022 11:50:02 +0000 Original-Received: by hermes--canary-production-sg3-6f58cd9b5-jrp6f (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 20a22d1783419a5e25ec3871811b97f9; Thu, 04 Aug 2022 11:49:59 +0000 (UTC) In-Reply-To: <834jys4dwq.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 04 Aug 2022 11:21:41 +0300") X-Mailer: WebService/1.1.20491 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:238726 Archived-At: Eli Zaretskii writes: > [Please use Reply All to reply, to keep the bug tracker on the CC.] Indeed. When you reply the wrong way, other people with relevant things to say cannot respond. >> 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. 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.