GNU bug report logs - #56967
29.0.50; Frequent crashes under Wayland

Previous Next

Package: emacs;

Reported by: Bjoern Bidar <bjorn.bidar <at> thaodan.de>

Date: Thu, 4 Aug 2022 07:38:01 UTC

Severity: normal

Found in version 29.0.50

Full log


Message #26 received at 56967 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Po Lu <luangruo <at> yahoo.com>
Cc: 56967 <at> debbugs.gnu.org, bjorn.bidar <at> thaodan.de
Subject: Re: bug#56967: 29.0.50; Frequent crashes under Wayland
Date: Fri, 05 Aug 2022 09:25:02 +0300
> From: Po Lu <luangruo <at> yahoo.com>
> Cc: Eli Zaretskii <eliz <at> gnu.org>,  56967 <at> 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?




This bug report was last modified 2 years and 184 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.