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: Fri, 05 Aug 2022 14:28:21 +0800 Message-ID: <87les39pbu.fsf@yahoo.com> References: <1932596.zmb9SnqgO4@odin> <834jys4dwq.fsf@gnu.org> <87les46xem.fsf@yahoo.com> <16164156.Y83TkukXya@odin> <878ro37bts.fsf@yahoo.com> <83pmhf1a2p.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="9717"; 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, bjorn.bidar@thaodan.de To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 05 08:29:47 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 1oJqqB-0002PD-3u for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Aug 2022 08:29:47 +0200 Original-Received: from localhost ([::1]:55956 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJqqA-0007cz-1L for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Aug 2022 02:29:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49012) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJqpS-0007bZ-0b for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2022 02:29:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37836) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJqpR-0004O7-OO for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2022 02:29:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJqpR-0006ou-JN for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2022 02:29:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Aug 2022 06:29: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.165968092126188 (code B ref 56967); Fri, 05 Aug 2022 06:29:01 +0000 Original-Received: (at 56967) by debbugs.gnu.org; 5 Aug 2022 06:28:41 +0000 Original-Received: from localhost ([127.0.0.1]:55818 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJqp7-0006oK-5k for submit@debbugs.gnu.org; Fri, 05 Aug 2022 02:28:41 -0400 Original-Received: from sonic309-22.consmr.mail.ne1.yahoo.com ([66.163.184.148]:35990) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJqp4-0006o5-Ap for 56967@debbugs.gnu.org; Fri, 05 Aug 2022 02:28:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1659680912; bh=zwSrZ+g27YBoNK4q7dUvSYcEsRAAWw2QPmSmnWvUReQ=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=joJvcYLau8yfrzevvzicHaJkzIjuKOQ0HFoWCuQyOonZ2mDqAbP7xd09uwiSDYsU9sc/h/VucbnySd1u8dFzX6Y0bF9zNIjmhGAHxr+CnGM3StwXBrixb1HIp/i20U6Kyc73ocNQo9+fIDKfxKWxVATL2w8DmHqzHL3Qljiy4XstLjbW0mgpgusv1XxzdFow4RLnTClyUqXHbggZ7zgAu8M7QV8NXtJxewlpXZ6Ji3aFDhmSk9QTBWIY5c/Sv9z4FpGYO4KSlaf9R1Ei3EtZUqvUXIsAE3l/VHrobuAS7uU2Mg42jPsADSdqns3mSEQ93/u2H4BU4vqxzxGSFos/mQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1659680912; bh=sif2aOgAG9BSaGZh4vCmH6OlVeb91QRPP0Y3JpiboRF=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=Q/keZ/3QwiWTsaAIEdo0u/lEZs083GWPftVoIFJ2xpf8+wbEbaGI9EROQMSZ4t22czjG2RifFjjwfM6edTGcVaCshoZpVRI8bRMGX6IDYtIlU+h4zuAYJj1hbTLcv0hrRzgi1Q037QIgbs/ApWAvOPGRztPKvfmjj9Lk8m5GrB4YfSp+7oaAuONUr/JsDRILQ3sxaWParqTW1Io8nIiv7OgzodgrToksJet7BDp1jIwfaetFCati097cvBEXS+GF6+88gqpfVLgiJwQISbTZBN8N8npQIctE8+REkW8rQ1k16Iu4fj4eo9a0AHqgAsmpniD9CaXaJkFeoaWGYS9BvQ== X-YMail-OSG: j.TqeVsVM1moJVOfaggCUgGW6NtW1u.3GBvwjR5izfCgUtNuNaE5apj8U2XCa2a F9TU8PjK8jWJPS.iEz9FlJrYD_aTZkAXDXXofhfJZWZEcp030dFtpDqJ5gdkX3D0syPZawXpyjwE y1BNd6sTn1_e_wpnsXy8deK_Ilc1knw84QL29O7dUWFImNQQ2RPdaiVbnDBRMCiJzzwu8E4heyR. JmX0rd_tfQ_ilmVIujdSJBnUy_VOHGmbOTgoJyQSaD9fdNHOzqTF2iur93V.8S7iQujOsv7LUAAy Ytr358ft33R7Vf1_R6I9haX__SZtIaH2vAvw9tiVUfYWAP.9sQkTfrOAyRc0IChGqK6nPa_n_OvI IQLbd5D84lVrtqPjq1kaqj223XumnjExPW.nJCl44zYwArxnC_Lb975rjkxIultAcCaaOyFRA7Qn iK7cdDOZo3iOnaiItdKI0rdPoi.DddfO_Ycj9E_RYFRs5rQo_nWKEE_dAbwQniyF4_PBx5RuHnex mCX7I57XEy0X9LZdV10omBjRLT7eyapnFT71V.1XRK.OrUXK_lSF2mYyoUQBE4ZRUk4pUM5E5FhU b0TOBdvF6qSGGFA0PE9F1bk095CO7V5mjn1ccw8MQaiTTd7ZDGTti6ui1u8XJzfaJVIqLIuKHPES BhlJ25dt6ievonSvYvYEfIb8ENMZ2.l.NEbZDjffiD.SpA61d1ftFtv0RU6.0y0W4FNDgeirTAnY VH4D3mNB.Red1lPDLOszYXNvVl5ptrj0A_EaHSoTJn9mTjG7IYOqV31OoRJC9nEc6IqD1vaEIs5Z .x2zxPprBxjJiuFiUwU242.VUMfsiRwoWkpAQ8eHpm X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.ne1.yahoo.com with HTTP; Fri, 5 Aug 2022 06:28:32 +0000 Original-Received: by hermes--canary-production-sg3-6f58cd9b5-p4pb6 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID d4f6ee3877a82eab41195a972aff9c9c; Fri, 05 Aug 2022 06:28:27 +0000 (UTC) In-Reply-To: <83pmhf1a2p.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 05 Aug 2022 09:25:02 +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:238818 Archived-At: Eli Zaretskii writes: > Does _exit in glibc provide any hooks that we could use? Not that I know of. > Emacs cannot be the first application that doesn't want misbehaving > libraries to forcibly exit it. It literally is, in the case of users of GDK. > Or maybe GTK has some knob to let it call us before it calls _exit? Nope, GTK simply does this: if (wl_display_flush (display->wl_display) < 0) { g_message ("Error flushing display: %s", g_strerror (errno)); _exit (1); } if (for example) wl_display_flush, a low-level Wayland interface, fails from an IO error.