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: Fri, 05 Aug 2022 09:25:02 +0300 Message-ID: <83pmhf1a2p.fsf@gnu.org> References: <1932596.zmb9SnqgO4@odin> <834jys4dwq.fsf@gnu.org> <87les46xem.fsf@yahoo.com> <16164156.Y83TkukXya@odin> <878ro37bts.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37436"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56967@debbugs.gnu.org, bjorn.bidar@thaodan.de To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 05 08:26:45 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 1oJqnE-0009aM-QE for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Aug 2022 08:26:44 +0200 Original-Received: from localhost ([::1]:54192 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJqnD-0006Hy-G7 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Aug 2022 02:26:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48748) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJqmj-0006HP-6Q for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2022 02:26:13 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37825) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJqmY-000409-LJ for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2022 02:26:11 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJqmY-0006kP-Gs for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2022 02:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Aug 2022 06:26: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.165968071525874 (code B ref 56967); Fri, 05 Aug 2022 06:26:02 +0000 Original-Received: (at 56967) by debbugs.gnu.org; 5 Aug 2022 06:25:15 +0000 Original-Received: from localhost ([127.0.0.1]:55807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJqln-0006jG-6e for submit@debbugs.gnu.org; Fri, 05 Aug 2022 02:25:15 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:35766) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJqll-0006j0-HQ for 56967@debbugs.gnu.org; Fri, 05 Aug 2022 02:25:13 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60538) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJqlf-0003kw-Qu; Fri, 05 Aug 2022 02:25:07 -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=e5AFbmDTFztoXn30iBjPCHlSrGtAn52r0zlDyrvTIjQ=; b=kymt/kbUlnxJ mEzP9awjKVfw//aVrTwNBsqXfAPyRRoWqNoPQ/imHBLmbhHQn7Ofzv8lm+YsZV4DizPvpXZFZysTj A+f9x91OBRgB7Kvqtk+Bo0DOgHeTKnudWJPgBQQ2VI+zm48ZRNzNlgBOL5EvCdlosjsVMFl0PJABC FKiIwzq6mzrNaAXtbcVtpdvDkifNbzaNIXpdkLNfRpxZ7heokaUt0x8QljRn41GDP/Dju5av4u6aN lB8odr3F1eNIg9po/09U5i1U7O3d9jgQ/SuaNfcHI1DnWIov9APh+nEpKNzWZYsunt4mygMse6J84 t08bMdCVQx3wfqYWBt2GGQ==; Original-Received: from [87.69.77.57] (port=4963 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 1oJqlc-0000b4-Gf; Fri, 05 Aug 2022 02:25:04 -0400 In-Reply-To: <878ro37bts.fsf@yahoo.com> (message from Po Lu on Fri, 05 Aug 2022 08:50:39 +0800) 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:238817 Archived-At: > From: Po Lu > Cc: Eli Zaretskii , 56967@debbugs.gnu.org > Date: Fri, 05 Aug 2022 08:50:39 +0800 > > That's what I thought might be happening. Emacs calls > g_main_context_pending to read events from GDK, which notices that the > display connection has been abruptly terminated, and calls _exit to > abort. > > Unfortunately, there's no way for us to fix this inside Emacs, so I > guess you should look into why Wayland display connections are so > unstable on your system. Does _exit in glibc provide any hooks that we could use? Emacs cannot be the first application that doesn't want misbehaving libraries to forcibly exit it. Or maybe GTK has some knob to let it call us before it calls _exit?