Making Emacs popular again
Making Emacs popular again
Posted May 7, 2020 7:54 UTC (Thu) by mina86 (guest, #68442)In reply to: Making Emacs popular again by pabs
Parent article: Making Emacs popular again
Posted May 7, 2020 8:21 UTC (Thu)
by LtWorf (subscriber, #124958)
[Link] (8 responses)
I've had that happen to me on Fedora by downloading a .iso in /tmp. Fedora mounts /tmp on tmpfs, so the RAM got filled, so the OOMKiller triggered and killed gnome and everything I had open along with it.
Posted May 7, 2020 12:40 UTC (Thu)
by ebassi (subscriber, #54855)
[Link] (7 responses)
When it crashes it kills the entire session. Just like when the X server crashes, as the compositor in Wayland is also the display server. Ideally, we GTK developers would like to allow clients to survive a display connection closure—and Wayland makes it easier than X11, given that all objects are client side and do not asynchronously disappear when the display connection is closed. Sadly, it's still not entirely trivial to achieve; there are more pressing things to do than addressing niche use cases; and this still does not address the issue of Emacs closing display connections at random and expecting things to survive.
Posted May 7, 2020 12:49 UTC (Thu)
by pabs (subscriber, #43278)
[Link]
https://arcan-fe.com/2017/12/24/crash-resilient-wayland-c...
Posted May 7, 2020 13:20 UTC (Thu)
by Baughn (subscriber, #124425)
[Link] (5 responses)
Posted May 7, 2020 14:30 UTC (Thu)
by ebassi (subscriber, #54855)
[Link] (4 responses)
Compositor crashes are not niche Compositor crashes are bugs, not a feature. Bugs ought to be fixed, and compositors should not crash, considering that they are privileged components. Additionally, terminating the connection should not crash a toolkit, but you should not expect that your application wait for a display reconnection and restart as if nothing happened either. The only safe thing to do is to save local state and terminate.
Posted May 8, 2020 2:15 UTC (Fri)
by pabs (subscriber, #43278)
[Link] (3 responses)
Posted May 8, 2020 22:48 UTC (Fri)
by roc (subscriber, #30627)
[Link] (2 responses)
Therefore your software should not lose data during those events either, and if that's true then a compositor crash likewise doesn't matter.
Posted May 10, 2020 8:14 UTC (Sun)
by LtWorf (subscriber, #124958)
[Link] (1 responses)
Posted May 13, 2020 8:53 UTC (Wed)
by roc (subscriber, #30627)
[Link]
Making Emacs popular again
Making Emacs popular again
Making Emacs popular again
Making Emacs popular again
Making Emacs popular again
Making Emacs popular again
Making Emacs popular again
Making Emacs popular again
Making Emacs popular again