bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#56967: 29.0.50; Frequent crashes under Wayland


From: Po Lu
Subject: bug#56967: 29.0.50; Frequent crashes under Wayland
Date: Fri, 05 Aug 2022 14:28:21 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)

Eli Zaretskii <eliz@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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]