Hi, This bug is still present in Emacs 25.0.94 When trying to kill it via C-x C-c `save-buffers-kill-terminal' I just see the message: get-device-terminal: Invalid argument # in 'get-device-terminal' Neither "File->Quit" or "File->Delete Frame" from the menubar nor clicking on X to close the frame kills Emacs or closes its frame -- the Emacs frame remains on the screen. I'll be able to keep the process around for a little while (i.e. not kill it from the command line) if more info is reqested to dbug this. Thanks.