unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Oscar Fuentes" <ofv@wanadoo.es>
To: emacs-pretest-bug@gnu.org
Subject: bug#3360: 23.0.94; emacs daemon hangs when remote X session closes.
Date: Sun, 24 May 2009 05:34:20 +0200	[thread overview]
Message-ID: <87k547gon7.fsf@telefonica.net> (raw)

Start the daemon:

emacs --daemon -Q

On a remote X server, start emacs:

emacsclient -c -n -d myxserver:0

Now, if the X session crashes or the frame is closed without
explicitly requiring emacs to delete it (for instance, closing the
frame with the mouse clicking on the frame `close' button), the daemon
becomes unresponsive. This is what I see on the terminal on the next
attempt to create a new frame:

oscar@qcore:~$ emacsclient -c -n -d acer:0
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)

Same happens if you try to open a frame on the same machine where the
daemon runs. Emacs is on the list of active processes and you need to
kill it.

If a frame existed on the machine where the daemon runs, it becomes
unresponsive. Any keystroke, mouse click, etc, will produce a 100% cpu
usage for some seconds without further response from emacs.



In GNU Emacs 23.0.94.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.16.1)
 of 2009-05-23 on qcore
Windowing system distributor `The X.Org Foundation', version 11.0.10600000
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  show-paren-mode: t
  diff-auto-refine-mode: t
  iswitchb-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t

Recent input:
C-x b . m e s C-g C-x b m e s s <return> C-x b C-g 
C-x C-f <C-left> <C-left> <C-left> C-k . e m <tab> 
<return> C-s ` C-s C-s C-s C-s C-s C-s C-s C-a C-x 
C-f e r l <tab> <return> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> C-x b <return> M-< C-s ` C-a M-< M-x 
o c c u r <return> ` <return> M-x d l e <backspace> 
<backspace> e l t e SPC f <backspace> <backspace> <backspace> 
e t e SPC f i <tab> <return> e r <tab> <return> <escape> 
<escape> <escape> M-x g n u s <return> <up> q y h C-_ 
<f10> <menu-bar> <help-menu> <send-emacs-bug-repor
t>

Recent messages:
Reading active file from archive via nnfolder...done
Generating the cache active file...done
No new newsgroups
Checking new news...
Opening nntp server on news.gmane.org...done
Checking new news...done
No more unread newsgroups
Are you sure you want to quit reading news? (y or n) 
(No changes need to be saved)
Undo!


;; -- 
;; Óscar





             reply	other threads:[~2009-05-24  3:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-24  3:34 Oscar Fuentes [this message]
     [not found] ` <handler.3360.B.124313607530701.ack@emacsbugs.donarmstrong.com>
2009-05-24 15:11   ` bug#3360: Acknowledgement (23.0.94; emacs daemon hangs when remote X session closes.) Óscar Fuentes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k547gon7.fsf@telefonica.net \
    --to=ofv@wanadoo.es \
    --cc=3360@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).