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#4001: 23.1.50; [Cocoa Emacs] emacsclient can't find server via ssh Date: Sat, 1 Aug 2009 13:46:47 +0800 Message-ID: <700e2ca10907312246v505cde6o3d120a46443eddb7@mail.gmail.com> References: <700e2ca10907310105l36c6397bxbca15cad3ddd3477@mail.gmail.com> Reply-To: bread , 4001@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=00221504915330a98b04700e1184 X-Trace: ger.gmane.org 1249106829 28971 80.91.229.12 (1 Aug 2009 06:07:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Aug 2009 06:07:09 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 01 08:07:02 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 1MX7kA-0007u7-Ga for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Aug 2009 08:07:01 +0200 Original-Received: from localhost ([127.0.0.1]:52180 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MX7k9-000380-FQ for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Aug 2009 02:06:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MX7k4-00037v-Ow for bug-gnu-emacs@gnu.org; Sat, 01 Aug 2009 02:06:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MX7k0-00037g-Ja for bug-gnu-emacs@gnu.org; Sat, 01 Aug 2009 02:06:52 -0400 Original-Received: from [199.232.76.173] (port=58038 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MX7k0-00037d-GW for bug-gnu-emacs@gnu.org; Sat, 01 Aug 2009 02:06:48 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:43838) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MX7jz-0002zY-NL for bug-gnu-emacs@gnu.org; Sat, 01 Aug 2009 02:06:48 -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 n7166jsg010927; Fri, 31 Jul 2009 23:06:45 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n715t5AL009107; Fri, 31 Jul 2009 22:55:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: bread Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 01 Aug 2009 05:55:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 4001 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12491056398536 (code B ref -1); Sat, 01 Aug 2009 05:55:05 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 1 Aug 2009 05:47:19 +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 n715lBwH008531 for ; Fri, 31 Jul 2009 22:47:12 -0700 Original-Received: from mail.gnu.org ([199.232.76.166]:32903 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MX7R0-0003k0-DB for emacs-pretest-bug@gnu.org; Sat, 01 Aug 2009 01:47:10 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MX7Qy-0000ca-BD for emacs-pretest-bug@gnu.org; Sat, 01 Aug 2009 01:47:10 -0400 Original-Received: from mail-gx0-f219.google.com ([209.85.217.219]:63059) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MX7Qx-0000cM-T7 for emacs-pretest-bug@gnu.org; Sat, 01 Aug 2009 01:47:08 -0400 Original-Received: by gxk19 with SMTP id 19so4425701gxk.18 for ; Fri, 31 Jul 2009 22:47:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=3qfyeJAJ7y/VpjG4E0GwcLc338apf073FY1GSW5Ydf8=; b=xOvOBUT0DCZpqXI1Y/9A2MdinHbpCAtVpU50NllJiVaaEERfz2pQRpwKn6SbD+35a9 9QoLKZqZuR3ZUiBhq8EUWWzJ9CO+EUZxCNBZwZLH3PBlvLm4Np3VAybrheP0nILcEmCh s56BI4gMnIqRieXKGJkjVJiKxdgkZ15yRewFs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=dMGK8DYiPYLkOcHjnxNgtt/IINcwhM7nYCoqx75WbZmpUK4tn6F4LC4CP1HQCmfn05 5+pcmU9jraZG0UlcNzlPhF8KX79UWP948VbkQGv1lCdYTXxeffPGReMqSgrXHFCa8eHj +cUNq/05VrhBmgbeyjK09LlqYL2EeVr8ODodI= Original-Received: by 10.231.37.77 with SMTP id w13mr920246ibd.3.1249105627096; Fri, 31 Jul 2009 22:47:07 -0700 (PDT) In-Reply-To: <700e2ca10907310105l36c6397bxbca15cad3ddd3477@mail.gmail.com> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sat, 01 Aug 2009 02:06:52 -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:29774 gmane.emacs.pretest.bugs:24901 Archived-At: --00221504915330a98b04700e1184 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I tried again with the following steps: 1. machine A with leopard and Cocoa Emacs, ssh login machine B with Ubuntu 2. use machine B to ssh login back to A 3. trigger emacs I got emacs opening but also the following errors: 2009-08-01 13:43:37.012 Emacs[370:10b] ****** Returning nil _server ********** 2009-08-01 13:43:42.013 Emacs[370:10b] ****** Returning nil _server ********** 2009-08-01 13:43:47.098 Emacs[370:10b] ****** Returning nil _server ********** 2009-08-01 13:43:52.100 Emacs[370:10b] ****** Returning nil _server ********** 2009-08-01 13:43:57.101 Emacs[370:10b] ****** Returning nil _server ********** ^C2009-08-01 13:43:58.783 Emacs[370:10b] CGSReenableUpdate returned error 268451844 2009-08-01 13:43:58.785 Emacs[370:10b] ****** Returning nil _server ********** 2009-08-01 13:43:58.785 Emacs[370:10b] ****** Returning nil _server ********** 2009-08-01 13:43:58.786 Emacs[370:10b] ****** Returning nil _server ********** 2009-08-01 13:43:58.786 Emacs[370:10b] ****** Returning nil _server ********** 2009-08-01 13:43:58.787 Emacs[370:10b] ****** Returning nil _server ********** 2009-08-01 13:43:58.787 Emacs[370:10b] ****** Returning nil _server ********** 2009-08-01 13:43:58.797 Emacs[370:10b] CGSReenableUpdate returned error 268451844 2009-08-01 13:43:58.797 Emacs[370:10b] ****** Returning nil _server ********** objc[370]: task_thread failed (result -301) and I can do nothing on Emacs but force quit. Hope this helps. On Fri, Jul 31, 2009 at 4:05 PM, bread wrote: > --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 Ema= cs > 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-em= acs > 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, pl= z > 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/e= tc/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/l= isp/speedbar > ~/.emacs.d/site-lisp/cedet/speedbar/sb-image hides > /Users/bread/codes/download/emacs/nextstep/Emacs.app/Contents/Resources/l= isp/sb-image > /Users/bread/.emacs.d/site-lisp/cedet/common/ezimage hides > /Users/bread/codes/download/emacs/nextstep/Emacs.app/Contents/Resources/l= isp/ezimage > ~/.emacs.d/site-lisp/cedet/speedbar/dframe hides > /Users/bread/codes/download/emacs/nextstep/Emacs.app/Contents/Resources/l= isp/dframe > > > -- > Zhiqiu Kong (=E5=AD=94=E7=9B=B4=E7=A7=8B) > --=20 Zhiqiu Kong (=E5=AD=94=E7=9B=B4=E7=A7=8B) EDA Labs Dept. Computer Science & Technology Tsinghua University P.R China 100084 --00221504915330a98b04700e1184 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I tried again with the following steps:

1. machine A with leopard an= d Cocoa Emacs, ssh login machine B with Ubuntu
2. use machine B to ssh l= ogin back to A
3. trigger emacs

I got emacs opening but also the = following errors:

2009-08-01 13:43:37.012 Emacs[370:10b] ****** Returning nil _server ***= *******
2009-08-01 13:43:42.013 Emacs[370:10b] ****** Returning nil _ser= ver **********
2009-08-01 13:43:47.098 Emacs[370:10b] ****** Returning n= il _server **********
2009-08-01 13:43:52.100 Emacs[370:10b] ****** Returning nil _server *******= ***
2009-08-01 13:43:57.101 Emacs[370:10b] ****** Returning nil _server = **********
^C2009-08-01 13:43:58.783 Emacs[370:10b] CGSReenableUpdate re= turned error 268451844
2009-08-01 13:43:58.785 Emacs[370:10b] ****** Returning nil _server *******= ***
2009-08-01 13:43:58.785 Emacs[370:10b] ****** Returning nil _server = **********
2009-08-01 13:43:58.786 Emacs[370:10b] ****** Returning nil _= server **********
2009-08-01 13:43:58.786 Emacs[370:10b] ****** Returning nil _server *******= ***
2009-08-01 13:43:58.787 Emacs[370:10b] ****** Returning nil _server = **********
2009-08-01 13:43:58.787 Emacs[370:10b] ****** Returning nil _= server **********
2009-08-01 13:43:58.797 Emacs[370:10b] CGSReenableUpdate returned error 268= 451844
2009-08-01 13:43:58.797 Emacs[370:10b] ****** Returning nil _serv= er **********
objc[370]: task_thread failed (result -301)

and I c= an do nothing on Emacs but force quit.
Hope this helps.

On Fri, Jul 31, 2009 at = 4:05 PM, bread <breaddawson@gmail.com> wrote:
--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 list.

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)


--
Zhiqiu Kong (=E5=AD=94=E7=9B=B4=E7=A7=8B)
=
EDA Labs
Dept. Computer Science & Technology
Tsinghua Univers= ity
P.R China
100084
--00221504915330a98b04700e1184--