From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Oscar Fuentes" Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#3360: 23.0.94; emacs daemon hangs when remote X session closes. Date: Sun, 24 May 2009 05:34:20 +0200 Message-ID: <87k547gon7.fsf@telefonica.net> Reply-To: Oscar Fuentes , 3360@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: Quoted-Printable X-Trace: ger.gmane.org 1243136975 4850 80.91.229.12 (24 May 2009 03:49:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 May 2009 03:49:35 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 24 05:49:28 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M84iE-0001zD-Lt for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 May 2009 05:49:27 +0200 Original-Received: from localhost ([127.0.0.1]:34992 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M84iE-0003Tj-Dt for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 May 2009 23:49:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M84i8-0003TT-W5 for bug-gnu-emacs@gnu.org; Sat, 23 May 2009 23:49:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M84i3-0003TD-9d for bug-gnu-emacs@gnu.org; Sat, 23 May 2009 23:49:19 -0400 Original-Received: from [199.232.76.173] (port=46038 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M84i3-0003TA-4Q for bug-gnu-emacs@gnu.org; Sat, 23 May 2009 23:49:15 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:60433) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M84i2-0007tT-4k for bug-gnu-emacs@gnu.org; Sat, 23 May 2009 23:49:14 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4O3nBvg000765; Sat, 23 May 2009 20:49:12 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n4O3e6dr031674; Sat, 23 May 2009 20:40:06 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: "Oscar Fuentes" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 24 May 2009 03:40:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 3360 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.124313607530701 (code B ref -1); Sun, 24 May 2009 03:40:05 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 24 May 2009 03:34:35 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4O3YSi0030693 for ; Sat, 23 May 2009 20:34:30 -0700 Original-Received: from mail.gnu.org ([199.232.76.166]:47883 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1M84Tk-0002ec-0f for emacs-pretest-bug@gnu.org; Sat, 23 May 2009 23:34:28 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1M84Tg-0006pV-9J for emacs-pretest-bug@gnu.org; Sat, 23 May 2009 23:34:27 -0400 Original-Received: from outmailhost.telefonica.net ([213.4.149.242]:64231 helo=ctsmtpout4.frontal.correo) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M84Tf-0006pF-Qh for emacs-pretest-bug@gnu.org; Sat, 23 May 2009 23:34:24 -0400 Original-Received: from qcore (88.24.231.46) by ctsmtpout4.frontal.correo (7.2.056.6) (authenticated as 981711563$telefonica.net) id 4A13D9BC000C1DBD for emacs-pretest-bug@gnu.org; Sun, 24 May 2009 05:34:21 +0200 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sat, 23 May 2009 23:49:19 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:28104 gmane.emacs.pretest.bugs:24488 Archived-At: 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.1060000= 0 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 C-x b C-g=20 C-x C-f C-k . e m =20 C-s ` C-s C-s C-s C-s C-s C-s C-s C-a C-x=20 C-f e r l =20 =20 C-x b M-< C-s ` C-a M-< M-x=20 o c c u r ` M-x d l e =20 e l t e SPC f =20 e t e SPC f i e r =20 M-x g n u s q y h C-_=20 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)=20 (No changes need to be saved) Undo! ;; --=20 ;; =C3=93scar