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 11:26:34 +0300 Message-ID: <2917332.46Ynv9TTAW@hellion> References: <1932596.zmb9SnqgO4@odin> <87v8r789ls.fsf@yahoo.com> <83fsib16bo.fsf@gnu.org> 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="22520"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56967@debbugs.gnu.org To: Po Lu , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 05 10:28:07 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 1oJsgh-0005eC-C9 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Aug 2022 10:28:07 +0200 Original-Received: from localhost ([::1]:52252 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJsgf-0001qt-O1 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Aug 2022 04:28:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36990) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJsfe-0001oA-Kg for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2022 04:27:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38104) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJsfe-0006MQ-9b for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2022 04:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJsfe-0005wC-4N for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2022 04:27: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 08:27: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.165968797422767 (code B ref 56967); Fri, 05 Aug 2022 08:27:02 +0000 Original-Received: (at 56967) by debbugs.gnu.org; 5 Aug 2022 08:26:14 +0000 Original-Received: from localhost ([127.0.0.1]:56086 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJser-0005v9-NE for submit@debbugs.gnu.org; Fri, 05 Aug 2022 04:26:13 -0400 Original-Received: from thaodan.de ([185.216.177.71]:57642) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJsem-0005ur-LU for 56967@debbugs.gnu.org; Fri, 05 Aug 2022 04:26:12 -0400 Original-Received: from hellion.localnet (dsl-trebng12-b04885-76.dhcp.inet.fi [176.72.133.76]) by thaodan.de (Postfix) with ESMTPSA id C5A41D0247C; Fri, 5 Aug 2022 11:26:02 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thaodan.de; s=mail; t=1659687963; bh=8RrCbvOhmzJQMvgVOP8ORqDWKi8U6hwWLe1II9WHzvE=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=RSRx1Doyz9x7gVhn1Q71z7E/aB1xh69aMhWjflwmD7TKiKRxu1s1CJEL573b/zb94 YSBcPthu5L6sVV0HchaH/yLc47FjJ2GTWJ6iR+i2+OR5TL4uKqpcle6ugRpYzb5JvN nQ1ux40DiigSVDr8HyXkkhDg2czl6mgLuKvZ4soBCuhdAMfjIOW2rqmsbMGpNLnhmG +Vf1eu7BH16I/QjZ0RbjJY8SJp2Rd/d4zQjbiSPeNhnkqYuKbMaMQo98/npYcegST8 Irji7S3eH5vbcMFDg59cPNy885Y4wDiHbCwjHRNrFfVQ0OT2/I67BWeKCQ1n9cNo3J 8b3dDQDdqo3okz8ViUilOyHR92j367jdiIuTYn8BO8IZwOtNnypTAgE/HWjZcTIZzy 7KK8NidCrT3iph1rMqAjQPTJWG8lncH3Kb3qDra+v5Tz/AMV7LlZB1t96Nw+Q4ktmF CnMuzTYa0qjraXCEQ88n8emsrcy5RjkdOwcwlTe4EdAqzta3vz8fM0KRoJrcPx8aVa D4jlYVycSFB1sYtJ/aX1xogFcFMkeNcAeUxFrMJJmZC0HDEO4fnjLa8fgLXr5sZzY+ NRDzKOBf1COgn+Fe78rsZNV6nCkVpWARIhOc4OqYyjMAu1oqWOqxXtPO7o3LkIvtDt dCIbk70qyQSlM6TWGkDTTeIM= In-Reply-To: <83fsib16bo.fsf@gnu.org> 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:238840 Archived-At: Am Freitag, 5. August 2022, 10:46:03 EEST schrieb Eli Zaretskii: > > From: Po Lu > > Cc: bjorn.bidar@thaodan.de, 56967@debbugs.gnu.org > > Date: Fri, 05 Aug 2022 14:53:19 +0800 > > > > Eli Zaretskii writes: > > > How about asking the glibc developers to provide one, citing this very > > > use case as the real-life problem to solve? Specifically, what I'd > > > like to do in that hook is to shut down Emacs in an orderly manner, so > > > that the user won't lose all his/her edits. > > > > By running the code inside `shut_down_emacs'? > > Yes. > > > I will indeed ask for such a hook. > > Thanks. > > > > Amazing. Where did those people learn to develop friendly, extensible > > > libraries? in what tyrannical culture? > > > > I'd say their culture has changed in the past decade and is now pretty > > close to Apple's. Unfortunately, Wayland is gaining popularity (as > > evidenced by the amount of our users who report related bugs), and GTK > > is the only toolkit that provides useful support for it. > > Maybe we should keep complaining there until someone hears us. > Calling _exit after printing an error message is not a reasonable > thing to do in a general-purpose library. Exiting is something an > application should do. I agree. Is there an existing bug for this? This reminds me of a similar bug in the X11 session that still isn't fixed.