Since upgrading to exwm-28, exwm--server-stop (called from kill-emacs-hook) causes emacs to dump core.
This happens reliably on both debian (bookworm) and arch.
Inspection of the backtrace in gdb shows that the proximate cause is the loss of the X11 connection causing emacs to abort. Perhaps this is related to the following:
Since upgrading to exwm-28,
exwm--server-stop
(called fromkill-emacs-hook
) causes emacs to dump core.This happens reliably on both debian (bookworm) and arch.
Inspection of the backtrace in
gdb
shows that the proximate cause is the loss of the X11 connection causing emacs to abort. Perhaps this is related to the following:A workaround (probably unsatisfactory but it gets the rest of
emacs-kill-hook
run) is to simply remove it from the hook:Any idea what changed?
Happy to provide backtraces and further information.