Subject: bug#17125: Issue still present in pretest 24.3.94.1: in daemon mode, closing X client frame exits entire Emacs

From: Dmitry Antipov <[email-masked]>
Date: Thu, 02 Oct 2014 11:06:32 +0400

On 10/02/2014 06:46 AM, Alexis wrote:

> Daemon shutdown occurs regardless of whether one uses C-x 5 0 or C-x C-c
> to close the frame.

Usually this means that the server process is crashed.
Can you obtain the backtrace?  Recommended procedure is:

1) Compile with --with-x-toolkit=lucid --enable-checking
2) ./src/emacs -Q --daemon
3) gdb -p [pid of daemon process]
4) In gdb, install breakpoints to 'die' and 'exit', then 'c'(ontinue)
5) ./lib-src/emacsclient -nc
6) In client frame, C-x 5 0
7) See gdb output from 3).

Dmitry