On 07/08/2014 11:59 PM, Ken Raeburn wrote: > This is a simplified version of a crash I got using emacsclient, daemon > mode, and desktop-save-mode. My saved desktop configuration somehow has > frames with different names for the same local display, perhaps because > window manager buttons I use to invoke emacsclient cause ":0.0" to be > used, and my xterm shells have DISPLAY set to ":0". > > Emacs is compiled with "--enable-checking --with-x-toolkit=lucid". > > Recipe: > 1. emacs -Q --daemon > 2. DISPLAY=:0 emacsclient -c -n > 3. DISPLAY=:0.0 emacsclient -c -n > 4. Use a window-manager button to delete the first Emacs window. > 5. Emacs crashes with an assertion failure. Reproduced. The whole thing looks like a mystery (perhaps Xlib makes a difference between :0 and :0.0 somewhere in its innards), but this workaround works for me. Can you please try it too? Dmitry