GNU bug report logs - #11639
24.0.95; Emacs daemon hangs when emacsclient was killed

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Sanel Zukan <sanelz@HIDDEN>; dated Wed, 6 Jun 2012 16:18:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 6 Jun 2012 16:17:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 06 12:17:08 2012
Received: from localhost ([127.0.0.1]:60719 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ScIuy-0000Ax-3p
	for submit <at> debbugs.gnu.org; Wed, 06 Jun 2012 12:17:08 -0400
Received: from eggs.gnu.org ([208.118.235.92]:39967)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <sanelz@HIDDEN>) id 1ScFpl-00041w-O6
	for submit <at> debbugs.gnu.org; Wed, 06 Jun 2012 08:59:34 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sanelz@HIDDEN>) id 1ScFnY-0007P8-0Q
	for submit <at> debbugs.gnu.org; Wed, 06 Jun 2012 08:57:20 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:54573)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sanelz@HIDDEN>) id 1ScFnX-0007Ov-Qi
	for submit <at> debbugs.gnu.org; Wed, 06 Jun 2012 08:57:15 -0400
Received: from eggs.gnu.org ([208.118.235.92]:54035)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sanelz@HIDDEN>) id 1ScFnR-000180-6K
	for bug-gnu-emacs@HIDDEN; Wed, 06 Jun 2012 08:57:15 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sanelz@HIDDEN>) id 1ScFnK-0007NG-GR
	for bug-gnu-emacs@HIDDEN; Wed, 06 Jun 2012 08:57:08 -0400
Received: from mail-yw0-f41.google.com ([209.85.213.41]:42503)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sanelz@HIDDEN>) id 1ScFnK-0007Mo-A3
	for bug-gnu-emacs@HIDDEN; Wed, 06 Jun 2012 08:57:02 -0400
Received: by yhr47 with SMTP id 47so5581148yhr.0
	for <bug-gnu-emacs@HIDDEN>; Wed, 06 Jun 2012 05:56:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:date:message-id:subject:from:to:content-type;
	bh=oOnGJHRkcWf0mm6vCeHFDhHHicgxynvi/C0J71iaUVU=;
	b=fXgJLvSCUm9J/WZ0TK7goZS45P/PGithY+em/Mof8YIIRc7kX6FC/+UdrnGEtA0NFl
	pb9DgDhts541+lF1rtcOgQG4jJmmWx+CD6N8TimvF52F/7aoBCfjwaTG9oKjHKUYCPlC
	OTW9EEfXqO6fdCR5LyRNNaycVvSEpgAMtjuQWhuRq4c0gDqgPtx6JG2Oi4lg9XcDtOnM
	PMUrzXIgxIezlRdB6a/EpC29bDu6BmsRLFsbL+4j9auErq477NZMvs8CZvelp7uKm4Ei
	+e/O/tBbsnnyonIlMgmp+lSmnh9MZxqtKbh/7HCU+AtNVaCOw04pDBGDXub8a6RcjCAj
	WYMQ==
MIME-Version: 1.0
Received: by 10.50.187.201 with SMTP id fu9mr6538367igc.5.1338987418744; Wed,
	06 Jun 2012 05:56:58 -0700 (PDT)
Received: by 10.231.84.148 with HTTP; Wed, 6 Jun 2012 05:56:58 -0700 (PDT)
Date: Wed, 6 Jun 2012 14:56:58 +0200
Message-ID: <CAHuZ_kvqzpD+E7yHWhRsMSF5F8Lm5LtJJi9OgribVA9bwx+2vg@HIDDEN>
Subject: 24.0.95; Emacs daemon hangs when emacsclient was killed
From: Sanel Zukan <sanelz@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Content-Type: text/plain; charset=ISO-8859-1
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 208.118.235.17
X-Spam-Score: -6.1 (------)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Wed, 06 Jun 2012 12:17:07 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -6.1 (------)

When Emacs was run in daemon mode (emacs --daemon) and client is
connected from terminal
on it (via emacsclient), everything works as expected. However, when X
session is abruptly terminated
killing terminal application where emacsclient is run (like mrxvt or
xterm), emacs daemon is not
responsible any more.

Every further connection to it via emacsclient will hang client
itself. For now, the only solution is to
restart daemon and kill all hung clients.

On other hand, when there are no connections to daemon and X session
was killed, daemon is
working without any issues.

I'm running Emacs on Fedora 17. Below are gathered report from M-x
report-emacs-bug.

Thanks, Sanel


If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
/usr/share/emacs/24.0.95/etc/DEBUG.


In GNU Emacs 24.0.95.1 (i386-redhat-linux-gnu, GTK+ Version 2.24.10)
 of 2012-04-06 on x86-17.phx2.fedoraproject.org
Configured using:
 `configure '--build=i386-redhat-linux-gnu'
 '--host=i386-redhat-linux-gnu' '--program-prefix='
 '--disable-dependency-tracking' '--prefix=/usr' '--exec-prefix=/usr'
 '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc'
 '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib'
 '--libexecdir=/usr/libexec' '--localstatedir=/var'
 '--sharedstatedir=/var/lib' '--mandir=/usr/share/man'
 '--infodir=/usr/share/info' '--with-dbus' '--with-gif' '--with-jpeg'
 '--with-png' '--with-rsvg' '--with-tiff' '--with-xft' '--with-xpm'
 '--with-x-toolkit=gtk' '--with-gpm=no' '--with-wide-int'
 'build_alias=i386-redhat-linux-gnu' 'host_alias=i386-redhat-linux-gnu'
 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32
 -march=i686 -mtune=atom -fasynchronous-unwind-tables'
 'LDFLAGS=-Wl,-z,relro ''

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
  value of $XMODIFIERS: @im=none
  locale-coding-system: iso-latin-1-unix
  default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  evil-mode: t
  evil-local-mode: t
  global-undo-tree-mode: t
  undo-tree-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
ESC [ > 8 2 ; 0 . 5 . 3 ; 0 c ESC x r DEL b u g TAB
TAB DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL
DEL DEL r e p o TAB TAB r TAB RET

Recent messages:
("emacs")
Loading /usr/share/emacs/site-lisp/site-start.d/emacs-color-theme-init.el
(source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/focus-init.el (source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/php-mode-init.el (source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/rpm-spec-mode-init.el
(source)...done
Starting Emacs daemon.
When done with this frame, type C-x 5 0
Making completion list... [2 times]

Load-path shadows:




Acknowledgement sent to Sanel Zukan <sanelz@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#11639; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.