bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#22362: 24.5; emacs --daemon problem -- can't exit emacs


From: Live System User
Subject: bug#22362: 24.5; emacs --daemon problem -- can't exit emacs
Date: Wed, 13 Jan 2016 04:37:32 -0500

Hi,

While playing around with "emacs --daemon" I wound up getting emacs
in a state where I can't exit emacs.

The error I get is:

   Invalid argument #Nterminal 2> `in get-device-terminal'

I believe these are the steps I did to get in this state:

% emacs --daemon=daemon2
% emacsclient -f ~/emacs.d/server/daemon2 -e "(daemonp)"
(emacs pops up a window)

>From a gnome-terminal:
% emacsclient -nw -f ~/emacs.d/server/daemon2 -e "(daemonp)"
(I get an emacs terminal window)
^X^C
^Z
% bg

Now from the emacs X11 frame, any key I press, including M-x,
I get the "invaild argument..." error (see above).

^G shows "Quit" in the echo area, as expected, however, I have to
press ^X^C twice to see the error message "Invalid argument..."
Clicking on the "X" of the frame (close/delete frame) yields
the same result.

I see the "savehist-autosave" process also complain about the
"error running timer `savehist-autosave': (error "Invalid
argument #<terminal 2> in `get-device-terminal'") error
message.

I still have the process running in case someone can help me
debug this (I didn't kill -9 it).

Trying to communicate with it from the command line yeilds:

% emacsclient -f ~/emacs.d/server/daemon2 -e "(daemonp)"
*ERROR*: Terminal is not live, can't create new frames on it


Thanks.



In GNU Emacs 24.5.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.16.6)
 of 2015-09-14 on buildvm-10.phx2.fedoraproject.org
Windowing system distributor `Fedora Project', version 11.0.11701000
Configured using:
 `configure --build=x86_64-redhat-linux-gnu
 --host=x86_64-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/lib64
 --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=gtk3
 --with-gpm=no build_alias=x86_64-redhat-linux-gnu
 host_alias=x86_64-redhat-linux-gnu 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g
 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4
 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
 -m64 -mtune=generic' LDFLAGS=-Wl,-z,relro'

Important settings:
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Group

Minor modes in effect:
  gnus-undo-mode: t
  shell-dirtrack-mode: t
  global-visible-mark-mode: t
  visible-mark-mode: t
  savehist-mode: t
  global-highlight-changes-mode: t
  highlight-changes-visible-mode: t
  global-hl-line-mode: t
  display-time-mode: t
  show-paren-mode: t
  tooltip-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
Reading active file via nndraft...done
Opening nnimap server on gmail...
Server nnimap+gmail previously determined to be down; not retrying
Opening nnimap server on gmail...failed: 
Opening nnimap server on gmail...
Server nnimap+gmail previously determined to be down; not retrying
Opening nnimap server on gmail...failed: 
Checking new news...done
Warning: Opening nnimap server on gmail...failed: ; Server nnimap+gmail 
previously determined to be down; not retrying; Opening nnimap server on 
gmail...failed: ; Server nnimap+gmail previously determined to be down; not 
retrying; Opening nntp server on readfreenews...failed: >>> (error 
news.readfreenews.net/nntp No address associated with hostname); Server 
nntp+readfreenews previously determined to be down; not retrying; Opening nntp 
server on readfreenews...failed: >>> (error news.readfreenews.net/nntp No 
address associated with hostname); Opening nnimap server on gmail...failed: ; 
Unable to open server nnimap+gmail due to: gmail/993 No address associated with 
hostname; Opening nnimap server on dada...failed: ; Opening nnimap server on 
gmail...failed: ; Unable to open server nnimap+gmail due to: gmail/993 No 
address associated with hostname
Mark saved where search started

Load-path shadows:
~/.emacs.d/lisp/ntlm hides /usr/share/emacs/24.5/lisp/net/ntlm
~/.emacs.d/site-lisp/auth-source hides 
/usr/share/emacs/24.5/lisp/gnus/auth-source

Features:
(shadow sort mail-extr emacsbug sendmail misearch multi-isearch nndraft
nnmh nndoc utf-7 rfc2104 nnfolder nnimap utf7 parse-time netrc gnutls
network-stream starttls tls gnus-agent gnus-srvr gnus-score score-mode
nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig
mailcap nntp gnus-cache epa-file epa epg epg-config sieve sieve-mode
sieve-manage nnir gnus-bogofilter gnus-sum nnoo gnus-group gnus-undo
nnmail mail-source gnus-start gnus-spec gnus-int gnus-range message
rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus
gnus-ems nnheader mail-utils benchmark-init-modes bracketed-paste
remote-emacsclient server tramp-sh tramp tramp-compat auth-source eieio
byte-opt bytecomp byte-compile cl-extra cconv eieio-core gnus-util
mm-util mail-prsvr password-cache tramp-loaddefs trampver shell
pcomplete comint format-spec visible-mark savehist hilit-chg wid-edit
hl-line smart-compile ansi-color easy-mmode multi-term cl term easymenu
ehelp ring time edmacro kmacro browse-kill-ring derived disp-table paren
dream-theme init-themes init-xterm init-frame-hooks init-utils
benchmark-init advice help-fns cl-macs gv cl-loaddefs cl-lib
benchmark-init-loaddefs time-date tooltip electric uniquify ediff-hook
vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image
regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register
page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dbusbind
gfilenotify dynamic-setting system-font-setting font-render-setting
move-toolbar gtk x-toolkit x multi-tty emacs)

Memory information:
((conses 16 267674 34081)
 (symbols 48 130711 12771)
 (miscs 40 196 202)
 (strings 32 97938 31332)
 (string-bytes 1 3547042)
 (vectors 16 23986)
 (vector-slots 8 619234 14799)
 (floats 8 304 246)
 (intervals 56 480 72)
 (buffers 960 26)
 (heap 1024 44889 8768))





reply via email to

[Prev in Thread] Current Thread [Next in Thread]