Public bug reported:
Emacs 23 on Ubuntu 8.10.
Emacs daemon is crashed if one opens a GUI emacsclient ('emacsclient -c') and
then closes it (C-x 5 0).
Steps to reproduce the bug :
$ emacs -Q --daemon
$ ps -ef | grep emacs # check if emacs daemon is running.
fj 26087 1 0 16:37 ? 00:00:00 emacs -Q --daemon
fj 26103 26060 0 16:38 pts/0 00:00:00 grep --color=auto emacs
$ emacsclient -c
Waiting for Emacs...
Emacsclient GUI frame appears. Now press C-x 5 0 (Ctrl+X then 5 then 0)
or enter M-x delete-frame (Alt+X then type delete-frame) to close the
frame. Then try emacsclient -c again.
$ emacsclient -c
emacsclient: connect: Connection refused
emacsclient: No socket or alternate editor. Please use:
--socket-name
--server-file (or environment variable EMACS_SERVER_FILE)
--alternate-editor (or environment variable ALTERNATE_EDITOR)
If you run "ps -ef | grep emacs" again, you see emacs daemon is no
longer there.
I think doing delete-frame crashed emacs daemon.
On the other hand, doing delete-frame from "emacsclient -t" does not crash
daemon.
Doing delete-frame from emacsclient does not crash emacs server if the server
is started by the following command:
$ emacs -Q -f 'server-start' &
$ emacs --version
GNU Emacs 23.0.60.1
...
$ emacsclient --version
emacsclient 23.0.60
$ apt-cache policy emacs-snapshot
emacs-snapshot:
Installed: 1:20081013-1
Candidate: 1:20081013-1
Version table:
*** 1:20081013-1 0
500 http://kr.archive.ubuntu.com intrepid/universe Packages
100 /var/lib/dpkg/status
** Affects: emacs-snapshot (Ubuntu)
Importance: Undecided
Status: New
--
closing emacsclient frame crashes emacs daemon
https://bugs.launchpad.net/bugs/340975
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs