From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: bread Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#3992: 23.1.50; [Cocoa Emacs] emacsclient can't find server via ssh Date: Fri, 31 Jul 2009 16:05:07 +0800 Message-ID: <700e2ca10907310105l36c6397bxbca15cad3ddd3477@mail.gmail.com> Reply-To: bread , 3992@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0003255746f210fd09046ffbe201 X-Trace: ger.gmane.org 1249050070 26806 80.91.229.12 (31 Jul 2009 14:21:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Jul 2009 14:21:10 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 31 16:21:03 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 1MWsyk-0000i3-26 for geb-bug-gnu-emacs@m.gmane.org; Fri, 31 Jul 2009 16:21:02 +0200 Original-Received: from localhost ([127.0.0.1]:45169 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWsyj-0006uo-8y for geb-bug-gnu-emacs@m.gmane.org; Fri, 31 Jul 2009 10:21:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MWnle-0004FI-6Z for bug-gnu-emacs@gnu.org; Fri, 31 Jul 2009 04:47:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MWnlb-0004DR-9T for bug-gnu-emacs@gnu.org; Fri, 31 Jul 2009 04:47:09 -0400 Original-Received: from [199.232.76.173] (port=57344 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWnlb-0004D5-5U for bug-gnu-emacs@gnu.org; Fri, 31 Jul 2009 04:47:07 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:44749) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MWnla-0005t0-6g for bug-gnu-emacs@gnu.org; Fri, 31 Jul 2009 04:47:06 -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 n6V8QiF2008562; Fri, 31 Jul 2009 01:26:46 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n6V8A6ee006755; Fri, 31 Jul 2009 01:10:06 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: bread Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 31 Jul 2009 08:10:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 3992 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12490275476458 (code B ref -1); Fri, 31 Jul 2009 08:10:05 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 31 Jul 2009 08:05:47 +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 n6V85bkG006449 for ; Fri, 31 Jul 2009 01:05:38 -0700 Original-Received: from mail.gnu.org ([199.232.76.166]:52683 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MWn7Q-0000IS-57 for emacs-pretest-bug@gnu.org; Fri, 31 Jul 2009 04:05:36 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MWn7K-000546-2w for emacs-pretest-bug@gnu.org; Fri, 31 Jul 2009 04:05:31 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:33132) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MWn7J-00053g-Jg for emacs-pretest-bug@gnu.org; Fri, 31 Jul 2009 04:05:29 -0400 Original-Received: from mail-gx0-f219.google.com ([209.85.217.219]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MWn7I-0003VA-9z for emacs-pretest-bug@gnu.org; Fri, 31 Jul 2009 04:05:28 -0400 Original-Received: by gxk19 with SMTP id 19so3546011gxk.18 for ; Fri, 31 Jul 2009 01:05:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=VOpos5Za+35oC038Dm+UnmdGp4pgQfuznZxcKuo8IV0=; b=j/NNA7+9kbJSIuHsCYB30dpq9MzOuH3aqw6mKf+ts362ojX0O8ulH5P3PlQeiQzlPA 1gDhnXRQIvTVumaqrIh665r63t7D0r89tXctzU106SkQ6O+4T/7kr8ep3fqGA1NCyJ1T R9904dp9PIWNI3YGloMq9HRMAoM5l9yxWdd5U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=m/HskzN4eHhthrisLOiTIls2JqIMLRagqCN81v3J4pbQveKxzRkEcsg9ZlUq9+vIPJ ZE8CW7AN0eArzsjYnpHIxWivU9rmr1g50fe2RcCv8M3xyz8uTsQsrwLu41cA5m+RIztY fPsvn6ZpB6UUjiMq+WS+n4AqCTbhPqA+L5Xvw= Original-Received: by 10.231.38.140 with SMTP id b12mr600873ibe.29.1249027527080; Fri, 31 Jul 2009 01:05:27 -0700 (PDT) X-Detected-Operating-System: by mx20.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Fri, 31 Jul 2009 04:47:09 -0400 X-Mailman-Approved-At: Fri, 31 Jul 2009 10:19:44 -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:29762 gmane.emacs.pretest.bugs:24897 Archived-At: --0003255746f210fd09046ffbe201 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable --text follows this line-- Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: Hi, I've recently moved to MAC OS 10.5 and I compiled Emacs 23 just now, following instructions under nextstep. The bug i found is just like this: 1. Cocoa Emacs was opened on machine A with server-start. Using emacsclient directly under machine A is just fine. But, if I use another machine B to ssh login A, and then use emacsclient, it then told me no server can be found. It's wired because i've opend Emacs and its server. The same operations on Emacs under linux is just fine, so i thought maybe it's a bug related to Cocoa Emacs. 2. Since Step 1 failed, i tried server-file, too. I adjusted Emacs server to use tcp and with a server name "bread-emacs". After then, I use B to loginto A via ssh, and invoke ./emacsclient --server-file=3D/Users/bread/.emacs.d/server/bread-emac= s abc I'll get errors like below: ./emacsclient: connected to remote socket at 255.255.255.255 ./emacsclient: connect: Can't assign requested address ./emacsclient: error accessing server file "/Users/bread/.emacs.d/server/bread-emacs" And here's the contents in ~/.emacs.d/server/bread-emacs [0:0:0:0:0:0:0:1]:50461 27746 PbZI|X\h]&R~EdtG5n'2q=3Dt^O.:E@7_py;:wrvaQ{4PBxFi.6o@(.5e\C~#c7aT2 I'm not sure if this is a bug, so, if there's more information needed, plz let me know. Thanks. 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'. If you would like to further debug the crash, please read the file /Users/bread/codes/download/emacs/nextstep/Emacs.app/Contents/Resources/etc= /DEBUG for instructions. In GNU Emacs 23.1.50.1 (i386-apple-darwin9.7.1, NS apple-appkit-949.46) of 2009-07-31 on bread-mac.local Windowing system distributor `Apple', version 10.3.949 configured using `configure '--with-ns'' 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: nil value of $XMODIFIERS: nil locale-coding-system: nil default-enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: gud-tooltip-mode: t company-mode: t senator-minor-mode: t which-function-mode: t semantic-mru-bookmark-mode: t semantic-idle-tag-highlight-mode: t semantic-idle-summary-mode: t semantic-idle-scheduler-mode: t diff-auto-refine-mode: t recentf-mode: t shell-dirtrack-mode: t display-battery-mode: t tabbar-mode: t auto-image-file-mode: t show-paren-mode: t server-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 transient-mark-mode: t Recent input: t l m C-n C-n C-n C-n C-n M-x r e p o r Recent messages: Loading semantic-decorate-mode...done Loading gud...done Restarting server Loading /Users/bread/.emacs.d/custom.el (source)...done Loading /Users/bread/.emacs.d/site-lisp/themes/color-theme-blackboard.el (source)...done Loading /Users/bread/.emacs.d/site-lisp/themes/color-theme-bread.el (source)...done Loading /Users/bread/.emacs.d/site-lisp/themes/color-theme-example.el (source)...done Loading /Users/bread/.emacs.d/site-lisp/themes/color-theme-library.el (source)...done Loading semanticdb-file...done For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: ~/.emacs.d/site-lisp/cedet/speedbar/speedbar hides /Users/bread/codes/download/emacs/nextstep/Emacs.app/Contents/Resources/lis= p/speedbar ~/.emacs.d/site-lisp/cedet/speedbar/sb-image hides /Users/bread/codes/download/emacs/nextstep/Emacs.app/Contents/Resources/lis= p/sb-image /Users/bread/.emacs.d/site-lisp/cedet/common/ezimage hides /Users/bread/codes/download/emacs/nextstep/Emacs.app/Contents/Resources/lis= p/ezimage ~/.emacs.d/site-lisp/cedet/speedbar/dframe hides /Users/bread/codes/download/emacs/nextstep/Emacs.app/Contents/Resources/lis= p/dframe --=20 Zhiqiu Kong (=E5=AD=94=E7=9B=B4=E7=A7=8B) EDA Labs Dept. Computer Science & Technology Tsinghua University P.R China 100084 --0003255746f210fd09046ffbe201 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable --text follows this line--

Please write in English if possible, beca= use the Emacs maintainers
usually do not have translators to read other = languages for them.

Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing li= st.

Please describe exactly what actions triggered the bug
and the preci= se symptoms of the bug:

Hi,

I've recently moved to MAC OS= 10.5 and I compiled Emacs 23 just now, following instructions
under nex= tstep.

The bug i found is just like this:

1. Cocoa Emacs was opened on = machine A with server-start.

Using emacsclient directly under machin= e A is just fine.

But, if I use another machine B to ssh login A, a= nd then use emacsclient,
it then told me no server can be found. It's wired because i've ope= nd Emacs and its server.

The same operations on Emacs under linux is= just fine, so i thought maybe
it's a bug related to Cocoa Emacs.
2. Since Step 1 failed, i tried server-file, too.

I adjusted Ema= cs server to use tcp and with a server name "bread-emacs".
After then, I use B to loginto A via ssh, and invoke

=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 ./emacsclient --server-file=3D/Users/bread/.emacs.d/serv= er/bread-emacs abc

I'll get errors like below:

./emacsclient: connected to remo= te socket at 255.255.255.255
./emacsclient: connect: Can't assign re= quested address
./emacsclient: error accessing server file "/Users/= bread/.emacs.d/server/bread-emacs"

And here's the contents in ~/.emacs.d/server/bread-emacs

[0:= 0:0:0:0:0:0:1]:50461 27746
PbZI|X\h]&R~EdtG5n'2q=3Dt^O.:E@7_py;:= wrvaQ{4PBxFi.6o@(.5e\C~#c7aT2


I'm not sure if this is a bug,= so, if there's more information needed, plz let me know.

Thanks.

If Emacs crashed, and you have the Emacs process in the = gdb debugger,
please include the output from the following gdb commands:=
=C2=A0=C2=A0=C2=A0 `bt full' and `xbacktrace'.
If you would = like to further debug the crash, please read the file
/Users/bread/codes/download/emacs/nextstep/Emacs.app/Contents/Resources/etc= /DEBUG for instructions.


In GNU Emacs 23.1.50.1 (i386-apple-darw= in9.7.1, NS apple-appkit-949.46)
=C2=A0of 2009-07-31 on bread-mac.local<= br> Windowing system distributor `Apple', version 10.3.949
configured us= ing `configure=C2=A0 '--with-ns''

Important settings:=C2=A0 value of $LC_ALL: nil
=C2=A0 value of $LC_COLLATE: nil
=C2=A0= value of $LC_CTYPE: nil
=C2=A0 value of $LC_MESSAGES: nil
=C2=A0 value of $LC_MONETARY: nil
= =C2=A0 value of $LC_NUMERIC: nil
=C2=A0 value of $LC_TIME: nil
=C2=A0= value of $LANG: nil
=C2=A0 value of $XMODIFIERS: nil
=C2=A0 locale-c= oding-system: nil
=C2=A0 default-enable-multibyte-characters: t

Major mode: Emacs-Lisp

Minor modes in effect:
=C2=A0 gud-tool= tip-mode: t
=C2=A0 company-mode: t
=C2=A0 senator-minor-mode: t
= =C2=A0 which-function-mode: t
=C2=A0 semantic-mru-bookmark-mode: t
= =C2=A0 semantic-idle-tag-highlight-mode: t
=C2=A0 semantic-idle-summary-mode: t
=C2=A0 semantic-idle-scheduler-mode= : t
=C2=A0 diff-auto-refine-mode: t
=C2=A0 recentf-mode: t
=C2=A0 = shell-dirtrack-mode: t
=C2=A0 display-battery-mode: t
=C2=A0 tabbar-m= ode: t
=C2=A0 auto-image-file-mode: t
=C2=A0 show-paren-mode: t
=C2=A0 server-mode: t
=C2=A0 tooltip-mode: = t
=C2=A0 mouse-wheel-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-n= ame-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-m= ode: t
=C2=A0 global-auto-composition-mode: t
=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-nu= mber-mode: t
=C2=A0 transient-mark-mode: t

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

Recent messages:
Loading semantic-= decorate-mode...done
Loading gud...done
Restarting server
Loading = /Users/bread/.emacs.d/custom.el (source)...done
Loading /Users/bread/.em= acs.d/site-lisp/themes/color-theme-blackboard.el (source)...done
Loading /Users/bread/.emacs.d/site-lisp/themes/color-theme-bread.el (source= )...done
Loading /Users/bread/.emacs.d/site-lisp/themes/color-theme-exam= ple.el (source)...done
Loading /Users/bread/.emacs.d/site-lisp/themes/co= lor-theme-library.el (source)...done
Loading semanticdb-file...done
For information about GNU Emacs and the G= NU system, type C-h C-a.

Load-path shadows:
~/.emacs.d/site-lisp/= cedet/speedbar/speedbar hides /Users/bread/codes/download/emacs/nextstep/Em= acs.app/Contents/Resources/lisp/speedbar
~/.emacs.d/site-lisp/cedet/speedbar/sb-image hides /Users/bread/codes/downl= oad/emacs/nextstep/Emacs.app/Contents/Resources/lisp/sb-image
/Users/bre= ad/.emacs.d/site-lisp/cedet/common/ezimage hides /Users/bread/codes/downloa= d/emacs/nextstep/Emacs.app/Contents/Resources/lisp/ezimage
~/.emacs.d/site-lisp/cedet/speedbar/dframe hides /Users/bread/codes/downloa= d/emacs/nextstep/Emacs.app/Contents/Resources/lisp/dframe


--
Zhiqiu Kong (=E5=AD=94=E7=9B=B4=E7=A7=8B)

EDA LabsDept. Computer Science & Technology
Tsinghua University
P.R China
100084
--0003255746f210fd09046ffbe201--