Subject: Re: bug#54715: 28.0.92; crash when X server died

From: Eli Zaretskii <[email-masked]>
Date: Tue, 05 Apr 2022 22:24:51 +0300

> From: Ken Raeburn <[email-masked]>
> Date: Tue, 05 Apr 2022 15:10:45 -0400
> Cc: [email-masked]
> 
> In server-start, hooks are added to kill-emacs-hook and
> delete-frame-functions, among others; tramp-dump-connection-properties
> and org-babel-remove-temporary-directory are also on the list.  But
> server-force-stop appears in the stack trace.  It calls server-start,
> which calls delete-process, which calls redisplay_preserve_echo_area.

Which is why I said that perhaps we shouldn't call
redisplay_preserve_echo_area when we are shutting down Emacs due to a
fatal error.