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


View this message in rfc822 format

From: Bjoern Bidar <bjorn.bidar <at> thaodan.de>
To: Eli Zaretskii <eliz <at> gnu.org>, Po Lu <luangruo <at> yahoo.com>
Cc: 56967 <at> debbugs.gnu.org
Subject: bug#56967: 29.0.50; Frequent crashes under Wayland
Date: Fri, 05 Aug 2022 09:56:33 +0300
Am Freitag, 5. August 2022, 09:28:21 EEST schrieb Po Lu:
> Eli Zaretskii <eliz <at> gnu.org> 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.
How should any app clean up after it selfs when GTK just closes it?







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.