From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Cody Addison Newsgroups: gmane.emacs.bugs Subject: bug#22174: 24.4; emacs --daemon crashes when ssh is disconnected. I am using lucid x toolkit. Date: Mon, 14 Dec 2015 22:05:54 -0600 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1141ab54f170b50526e7e719 X-Trace: ger.gmane.org 1450153278 1220 80.91.229.3 (15 Dec 2015 04:21:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Dec 2015 04:21:18 +0000 (UTC) To: 22174@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 15 05:21:10 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a8h6r-00018j-9y for geb-bug-gnu-emacs@m.gmane.org; Tue, 15 Dec 2015 05:21:09 +0100 Original-Received: from localhost ([::1]:34976 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8h6q-0004Se-JS for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Dec 2015 23:21:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40152) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8h6l-0004ST-Vb for bug-gnu-emacs@gnu.org; Mon, 14 Dec 2015 23:21:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a8h6k-0000bI-FI for bug-gnu-emacs@gnu.org; Mon, 14 Dec 2015 23:21:03 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44491) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8h6k-0000bE-C7 for bug-gnu-emacs@gnu.org; Mon, 14 Dec 2015 23:21:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1a8h6k-0005Vb-5y for bug-gnu-emacs@gnu.org; Mon, 14 Dec 2015 23:21:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Cody Addison Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 15 Dec 2015 04:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 22174 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.145015321621097 (code B ref -1); Tue, 15 Dec 2015 04:21:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 15 Dec 2015 04:20:16 +0000 Original-Received: from localhost ([127.0.0.1]:52093 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a8h5z-0005UC-W2 for submit@debbugs.gnu.org; Mon, 14 Dec 2015 23:20:16 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:55961) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a8gsG-0005AW-W3 for submit@debbugs.gnu.org; Mon, 14 Dec 2015 23:06:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a8gsA-0005SB-GF for submit@debbugs.gnu.org; Mon, 14 Dec 2015 23:05:59 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:41120) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8gsA-0005S5-Cj for submit@debbugs.gnu.org; Mon, 14 Dec 2015 23:05:58 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37730) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8gs8-0001Dc-GB for bug-gnu-emacs@gnu.org; Mon, 14 Dec 2015 23:05:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a8gs7-0005Rn-43 for bug-gnu-emacs@gnu.org; Mon, 14 Dec 2015 23:05:56 -0500 Original-Received: from mail-oi0-x22e.google.com ([2607:f8b0:4003:c06::22e]:34836) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8gs6-0005Rj-UL for bug-gnu-emacs@gnu.org; Mon, 14 Dec 2015 23:05:55 -0500 Original-Received: by oiai186 with SMTP id i186so37222378oia.2 for ; Mon, 14 Dec 2015 20:05:54 -0800 (PST) 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=EgskUTM/bs6qj6hLDEkYKMrriYacyMhjU3UxClvVRb8=; b=lTkZiJTTOcA5nl04CghJn/16O1kC5vlNLlhzjkjNwvfcXnLxuRsg7EsOY80JWcTNOw Ulb7a/LSKUVrUexcr67PpmdW8mSHdw2kaIKhuGlnDu5NU2uV+ylFHoPK8EsQITMKvXwH pnsP2Da9o1Lv5QUkz9HZmT/r3NTdR6/X/dWiM5filHzq+nNmthYU423BxevULyraRvHN YZJcsVyK6ZJbDyLjBAv3ahBQmFYEGA+M5Yi0DQdb3Ps8Z+1T19pMRpBAZh//r05dey4L m7pTU/SXzW8d5ujl/h2wDUgGjcMHQSdhnA5stmI9Xwr9a+1omDrmliTsXRA4FTgjRUdb HGiA== X-Received: by 10.202.107.68 with SMTP id g65mr26568592oic.135.1450152354211; Mon, 14 Dec 2015 20:05:54 -0800 (PST) Original-Received: by 10.60.10.234 with HTTP; Mon, 14 Dec 2015 20:05:54 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Mon, 14 Dec 2015 23:20:14 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:110004 Archived-At: --001a1141ab54f170b50526e7e719 Content-Type: text/plain; charset=UTF-8 I am using emacs in server mode on a remote machine. The intent is to have a persistent emacs session that I can reconnect to. Here are the steps I typically do: % ssh % tmux attach (This step doesn't seem important. I've tried this with and without tmux). % emacs --daemon % emacsclient -n -c % tmux detach % exit At this point the server is toast. I am using cygwin on Windows 7 for the ssh client and X server. I have also tried emacs 24.5 with no success. I have tried multiple X tool kits (athena and motif) with no success. In GNU Emacs 24.4.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw scroll bars) of 2015-10-01 on sdocg001 Windowing system distributor `The Cygwin/X Project', version 11.0.11704000 System Description: Ubuntu 14.04.1 LTS Configured using: `configure --with-x-toolkit=lucid --prefix=/home/a0866938/opt/emacs-24.4 --with-jpeg=no --with-gif=no --with-tiff=no' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: show-paren-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-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 column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x r e p o r t Recent messages: Loading delsel...done Loading paren...done Loading /home/a0866938/emacs_scripts/tiasm_mode.el (source)...done Loading /home/a0866938/.emacs.d/elpa/color-theme-20080305.34/themes/color-theme-example.el (source)...done Loading /home/a0866938/.emacs.d/elpa/color-theme-20080305.34/themes/color-theme-example.elc...done Loading /home/a0866938/.emacs.d/elpa/color-theme-20080305.34/themes/color-theme-library.el (source)...done Loading /home/a0866938/.emacs.d/elpa/color-theme-20080305.34/themes/color-theme-library.elc...done For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils help-mode solarized-theme solarized-definitions cl-macs color-theme wid-edit cl gv cl-loaddefs cl-lib jka-compr paren delsel cus-start cus-load color-theme-autoloads info easymenu package epg-config 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 x-toolkit x multi-tty emacs) Memory information: ((conses 16 277417 13086) (symbols 48 24532 0) (miscs 40 40 109) (strings 32 43033 16146) (string-bytes 1 860921) (vectors 16 14072) (vector-slots 8 432696 5323) (floats 8 174 265) (intervals 56 220 210) (buffers 960 12) (heap 1024 41052 1153)) --001a1141ab54f170b50526e7e719 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

I am using emacs in server mode on a r= emote machine. The intent is to
have a persistent emacs session t= hat I can reconnect to.

Here are the steps I typic= ally do:
% ssh <machine>
% tmux attach (This step= doesn't seem important. I've tried this with and
without= tmux).
% emacs --daemon
% emacsclient -n -c
= % tmux detach
% exit

At this point the s= erver is toast.

I am using cygwin on Windows 7 for= the ssh client and X server. I have
also tried emacs 24.5 with n= o success. I have tried multiple X tool kits
(athena and motif) w= ith no success.




=
In GNU Emacs 24.4.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw sc= roll bars)
=C2=A0of 2015-10-01 on sdocg001
Windowing sy= stem distributor `The Cygwin/X Project', version 11.0.11704000
System Description: Ubu= ntu 14.04.1 LTS

Configured using:
=C2=A0= `configure --with-x-toolkit=3Dlucid
=C2=A0--prefix=3D/home/a08669= 38/opt/emacs-24.4 --with-jpeg=3Dno --with-gif=3Dno
=C2=A0--with-t= iff=3Dno'

Important settings:
=C2=A0= value of $LANG: en_US.UTF-8
=C2=A0 locale-coding-system: utf-8-u= nix

Major mode: Lisp Interaction

Minor modes in effect:
=C2=A0 show-paren-mode: t
=C2=A0 tooltip-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 menu-bar-mode: t
=C2= =A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 blink-cursor-mode: t
<= div>=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode: = t
=C2=A0 auto-compression-mode: t
=C2=A0 column-number-= mode: t
=C2=A0 line-number-mode: t
=C2=A0 transient-mar= k-mode: t

Recent input:
M-x r e p o <= tab> r t <tab> <return>

Recent mess= ages:
Loading delsel...done
Loading paren...done
<= div>Loading /home/a0866938/emacs_scripts/tiasm_mode.el (source)...done
Loading /home/a0866938/.emacs.d/elpa/color-theme-20080305.34/themes/c= olor-theme-example.el (source)...done
Loading /home/a0866938/.ema= cs.d/elpa/color-theme-20080305.34/themes/color-theme-example.elc...done
Loading /home/a0866938/.emacs.d/elpa/color-theme-20080305.34/themes/= color-theme-library.el (source)...done
Loading /home/a0866938/.em= acs.d/elpa/color-theme-20080305.34/themes/color-theme-library.elc...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list...

Load-path shado= ws:
None found.

Features:
(sha= dow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
<= div>mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util
help-fns mail-prsvr mail-utils help-mode solarized-theme
s= olarized-definitions cl-macs color-theme wid-edit cl gv cl-loaddefs
cl-lib jka-compr paren delsel cus-start cus-load color-theme-autoloads
info easymenu package epg-config time-date tooltip electric uniqui= fy
ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-ba= r dnd
fontset image regexp-opt fringe tabulated-list newcomment l= isp-mode
prog-mode register page menu-bar rfn-eshadow timer selec= t scroll-bar
mouse jit-lock font-lock syntax facemenu font-core f= rame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai t= ai-viet lao korean
japanese hebrew greek romanian slovak czech eu= ropean ethiopic indian
cyrillic chinese case-table epa-hook jka-c= mpr-hook help simple abbrev
minibuffer nadvice loaddefs button fa= ces cus-face macroexp files
text-properties overlay sha1 md5 base= 64 format env code-pages mule
custom widget hashtable-print-reada= ble backquote make-network-process
dbusbind gfilenotify dynamic-s= etting x-toolkit x multi-tty emacs)

Memory informa= tion:
((conses 16 277417 13086)
=C2=A0(symbols 48 24532= 0)
=C2=A0(miscs 40 40 109)
=C2=A0(strings 32 43033 161= 46)
=C2=A0(string-bytes 1 860921)
=C2=A0(vectors 16 140= 72)
=C2=A0(vector-slots 8 432696 5323)
=C2=A0(floats 8 = 174 265)
=C2=A0(intervals 56 220 210)
=C2=A0(buffers 96= 0 12)
=C2=A0(heap 1024 41052 1153))

--001a1141ab54f170b50526e7e719--