Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exwm--server-stop dumps core in exwm-28 on emacs-29.1 #928

Open
franburstall opened this issue Oct 17, 2023 · 0 comments
Open

exwm--server-stop dumps core in exwm-28 on emacs-29.1 #928

franburstall opened this issue Oct 17, 2023 · 0 comments

Comments

@franburstall
Copy link

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:

Warning: due to a long standing Gtk+ bug
https://gitlab.gnome.org/GNOME/gtk/issues/221
Emacs might crash when run in daemon mode and the X11 connection is unexpectedly lost.

A workaround (probably unsatisfactory but it gets the rest of emacs-kill-hook run) is to simply remove it from the hook:

(remove-hook 'kill-emacs-hook #'exwm--server-stop)

Any idea what changed?

Happy to provide backtraces and further information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant