Subject: bug#56528: 29.0.50; Emacs lucid segfaults when X dies

From: Po Lu <[email-masked]>
Date: Thu, 14 Jul 2022 08:39:23 +0800

Eli Zaretskii <[email-masked]> writes:

> Btw, what do we expect Emacs to do in this scenario?  If the X server
> is killed, Emacs cannot display anything, so why an abort is not TRT?
> What practically interesting use case does this emulate?

It should just print an error message and die with a specific exit code,
without printing a giant backtrace to stdout.

Would binding `inhibit-redisplay' around the call to Fkill_emacs be a
reasonable solution?