|
From: | Po Lu |
Subject: | Re: Would there be a drawback of using the same graphical toolkit on every platform? |
Date: | Mon, 21 Feb 2022 09:18:17 +0800 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) |
tomas@tuxteam.de writes: > Note that Emacs calls that abort to not run into this bug. This is > explicitly mentioned in the thread. More history: Emacs used to call signal to break out of the X error handler before GDK had a chance to call _exit. Until recently a longjmp out of the GLib event loop would only cause lots of warnings to be printed, so that call to signal would avoid the code path where GDK would deliberately shut down the application. That was replaced by a call to abort some time ago since the warnings tended to make Emacs slow and flood .Xsession-errors with up to 50 GBs of warning messages. But since recently the call to signal cannot work anymore, since GLib will immediately crash upon next entering its event loop.
[Prev in Thread] | Current Thread | [Next in Thread] |