GNU bug report logs - #2308
23.0.90; Don't delete /tmp/emacs$ID/server on kill-emacs

Previous Next

Package: emacs;

Reported by: Damien Cassou <damien.cassou <at> gmail.com>

Date: Thu, 12 Feb 2009 11:25:03 UTC

Severity: normal

Tags: moreinfo

Done: Juanma Barranquero <lekktu <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 2308 in the body.
You can then email your comments to 2308 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2308; Package emacs. (Thu, 12 Feb 2009 11:25:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Damien Cassou <damien.cassou <at> gmail.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Thu, 12 Feb 2009 11:25:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Damien Cassou <damien.cassou <at> gmail.com>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.90; Don't delete /tmp/emacs$ID/server on kill-emacs
Date: Thu, 12 Feb 2009 12:16:02 +0100
Hi,

when I kill emacs daemon with M-x kill-emacs, it does not delete the
generated file /tmp/emacs$USERID/server, preventing a new emacs daemon
from running correctly.

In GNU Emacs 23.0.90.1 (i486-pc-linux-gnu, GTK+ Version 2.14.4)
 of 2009-02-10 on iridium, modified by Debian
 (emacs-snapshot package, version 1:20090207-1~intrepid1)
Windowing system distributor `The X.Org Foundation', version 11.0.10502000
configured using `configure  '--build' 'i486-linux-gnu' '--host'
'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib'
'--libexecdir=/usr/lib' '--localstatedir=/var'
'--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes'
'--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.90/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.90/site-lisp:/usr/share/emacs/site-lisp'
'--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=i486-linux-gnu'
'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN
-DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed'
'CPPFLAGS=''

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: fr_FR.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Shell-script

Minor modes in effect:
  shell-dirtrack-mode: t
  show-paren-mode: t
  icomplete-mode: t
  global-hl-line-mode: t
  display-time-mode: t
  diff-auto-refine-mode: t
  recentf-mode: t
  mouse-wheel-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
  transient-mark-mode: t

Recent input:
C-x C-c C-x C-c C-x C-c C-p C-p C-p C-p C-k C-k C-n
C-k C-k C-k C-x C-s <down-mouse-2> <mouse-2> C-p C-o
U S E R I D = $ ( ) C-b i d SPC - u C-x C-s C-a C-o
C-n C-n M-x r e p o r t b <backspace> e m <return>
C-g M-x M-p C-s <return> D o n ' t SPC d e l e t e
SPC / t m p / e m a c s $ I D / s e r v e r SPC o n
SPC M-x <switch-frame> M-x k i l l - e m C-g <switch-frame>
C-x o <escape> <escape> <escape> C-_ C-_ C-_ s C-_
C-_ C-x C-s C-a C-o C-x C-s M-x r e p o r t - e m C-s
<return> M-p M-p M-p C-k D o n ' t SPC d e l e t e
SPC / t m p / e m a c s $ U S E R I D / s e r v e r
SPC o n SPC k <switch-frame> M-x d <backspace> <switch-frame>
M-x k i l l - e m C-g <switch-frame> M-x r e p o r
t C-s <return>

Recent messages:
Back to top level.
When done with this frame, type C-x 5 0
Quit
Undo! [4 times]
Redo!
(No changes need to be saved)
Saving file /home/cassou/Documents/configuration/scripts/emacs-server-then-client.sh...
Wrote /home/cassou/Documents/configuration/scripts/emacs-server-then-client.sh
goto-history-element: Beginning of history; no preceding item
byte-code: Command attempted to use minibuffer while in minibuffer
Quit

-- 
Damien Cassou
http://damiencassou.seasidehosting.st




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2308; Package emacs. (Thu, 12 Feb 2009 14:00:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Chong Yidong <cyd <at> stupidchicken.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Thu, 12 Feb 2009 14:00:03 GMT) Full text and rfc822 format available.

Message #10 received at 2308 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Damien Cassou <damien.cassou <at> gmail.com>
Cc: 2308 <at> debbugs.gnu.org
Subject: Re: 23.0.90; Don't delete /tmp/emacs$ID/server on kill-emacs
Date: Thu, 12 Feb 2009 08:53:27 -0500
> when I kill emacs daemon with M-x kill-emacs, it does not delete the
> generated file /tmp/emacs$USERID/server, preventing a new emacs daemon
> from running correctly.

I can't reproduce this bug.  Please provide a precise recipe for it,
starting with `emacs -Q --daemon'.




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2308; Package emacs. (Thu, 12 Feb 2009 14:15:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Damien Cassou <damien.cassou <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Thu, 12 Feb 2009 14:15:03 GMT) Full text and rfc822 format available.

Message #15 received at 2308 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Damien Cassou <damien.cassou <at> gmail.com>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: 2308 <at> debbugs.gnu.org
Subject: Re: 23.0.90; Don't delete /tmp/emacs$ID/server on kill-emacs
Date: Thu, 12 Feb 2009 15:07:37 +0100
On Thu, Feb 12, 2009 at 2:53 PM, Chong Yidong <cyd <at> stupidchicken.com> wrote:
>> when I kill emacs daemon with M-x kill-emacs, it does not delete the
>> generated file /tmp/emacs$USERID/server, preventing a new emacs daemon
>> from running correctly.
>
> I can't reproduce this bug.  Please provide a precise recipe for it,
> starting with `emacs -Q --daemon'.

I can't reproduce the bug either with -Q. Here is the recipe without:

$ rm /tmp/emacs1000/server
$ /usr/bin/emacs-snapshot --daemon
...
Starting Emacs daemon.
$ /usr/bin/emacsclient -c -e "(kill-emacs)"
[answer yes to the question]
$ ls /tmp/emacs1000/server
/tmp/emacs1000/server=

I also tried with --no-init-file and could not reproduce the bug
either. But with --no-site-file I was able to reproduce it.

Does it mean there is a problem with my configuration files? How can I find it?

-- 
Damien Cassou
http://damiencassou.seasidehosting.st




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2308; Package emacs. (Thu, 12 Feb 2009 18:25:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Chong Yidong <cyd <at> stupidchicken.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Thu, 12 Feb 2009 18:25:04 GMT) Full text and rfc822 format available.

Message #20 received at 2308 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Damien Cassou <damien.cassou <at> gmail.com>
Cc: 2308 <at> debbugs.gnu.org
Subject: Re: 23.0.90; Don't delete /tmp/emacs$ID/server on kill-emacs
Date: Thu, 12 Feb 2009 13:20:06 -0500
Damien Cassou <damien.cassou <at> gmail.com> writes:

> I can't reproduce the bug either with -Q.
>
> I also tried with --no-init-file and could not reproduce the bug
> either. But with --no-site-file I was able to reproduce it.
>
> Does it mean there is a problem with my configuration files? How can I
> find it?

Try commenting out half of your configuration file(s), and see which
half causes the problem.  By repeating this bisection procedure, you
should be able to pinpoint the problematic part quite quickly.




Tags added: moreinfo Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> emacsbugs.donarmstrong.com. (Fri, 20 Feb 2009 02:25:03 GMT) Full text and rfc822 format available.

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#2308; Package emacs. (Wed, 06 Jul 2011 01:10:03 GMT) Full text and rfc822 format available.

Message #25 received at 2308 <at> debbugs.gnu.org (full text, mbox):

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Damien Cassou <damien.cassou <at> gmail.com>
Cc: 2308 <at> debbugs.gnu.org
Subject: Re: bug#2308: 23.0.90; Don't delete /tmp/emacs$ID/server on kill-emacs
Date: Wed, 6 Jul 2011 03:08:37 +0200
On Thu, Feb 12, 2009 at 12:16, Damien Cassou <damien.cassou <at> gmail.com> wrote:
>
> when I kill emacs daemon with M-x kill-emacs, it does not delete the
> generated file /tmp/emacs$USERID/server, preventing a new emacs daemon
> from running correctly.

Were you able to reproduce this problem starting from emacs -Q? Does
still happen with newer releases?

    Juanma




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#2308; Package emacs. (Wed, 06 Jul 2011 07:03:02 GMT) Full text and rfc822 format available.

Message #28 received at 2308 <at> debbugs.gnu.org (full text, mbox):

From: Damien Cassou <damien.cassou <at> gmail.com>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: 2308 <at> debbugs.gnu.org
Subject: Re: bug#2308: 23.0.90; Don't delete /tmp/emacs$ID/server on kill-emacs
Date: Wed, 6 Jul 2011 07:22:12 +0200
On Wed, Jul 6, 2011 at 3:08 AM, Juanma Barranquero <lekktu <at> gmail.com> wrote:
>> when I kill emacs daemon with M-x kill-emacs, it does not delete the
>> generated file /tmp/emacs$USERID/server, preventing a new emacs daemon
>> from running correctly.
>
> Were you able to reproduce this problem starting from emacs -Q? Does
> still happen with newer releases?

I don't have this problem anymore with recent versions of Emacs.

-- 
Damien Cassou
http://damiencassou.seasidehosting.st

"Lambdas are relegated to relative obscurity until Java makes them
popular by not having them." James Iry




Reply sent to Juanma Barranquero <lekktu <at> gmail.com>:
You have taken responsibility. (Wed, 06 Jul 2011 09:16:02 GMT) Full text and rfc822 format available.

Notification sent to Damien Cassou <damien.cassou <at> gmail.com>:
bug acknowledged by developer. (Wed, 06 Jul 2011 09:16:02 GMT) Full text and rfc822 format available.

Message #33 received at 2308-done <at> debbugs.gnu.org (full text, mbox):

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Damien Cassou <damien.cassou <at> gmail.com>
Cc: 2308-done <at> debbugs.gnu.org
Subject: Re: bug#2308: 23.0.90; Don't delete /tmp/emacs$ID/server on kill-emacs
Date: Wed, 6 Jul 2011 11:14:43 +0200
On Wed, Jul 6, 2011 at 07:22, Damien Cassou <damien.cassou <at> gmail.com> wrote:

> I don't have this problem anymore with recent versions of Emacs.

OK, I'm closing this bug then.

Thanks,

    Juanma




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 03 Aug 2011 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 18 days ago.

Previous Next


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