emacs --daemon crashing after closing emacsclient -c

view full story

http://unix.stackexchange.com – I start emacs daemon with the following commnad. $ emacs --daemon This seems to work. After this I start emacs client as follows $ emacsclient -c Whenever I close the emacsclient, the server also stops with the following error. X protocol error: BadWindow (invalid Window parameter) on protocol request 42 When compiled with GTK, Emacs cannot recover from X disconnects. This is a GTK bug: https://bugzilla.gnome.org/show_bug.cgi?id=85715 For details, see etc/PROBLEMS. Fatal error (6)zsh: abort I have not found any information about this problem. Is there a way around this? (HowTos)