1.5.24: emacs hangs when started from ssh session
Andreas Gustafsson
gson@gson.org
Fri Oct 19 12:23:00 GMT 2007
Hello cygwinners,
I just upgraded an old Cygwin installation to the current version, and
now emacs hangs when I try to start it from within an ssh session.
To be precise, if I open a cygwin window on the Windows desktop and
type "emacs" there, it works fine, but if I log into cygwin from an
Unix machine using ssh and type "emacs" in the ssh session, the emacs
process hangs, consuming most of the CPU.
Here is a typescript of an ssh session illustrating the problem. In
an attempt to construct a minimal test case, I have specified the
emacs command line option "-nw" to make sure emacs doesn't use X
(though it shouldn't in any case because this is the non-X version),
and "-f kill-emacs" to make emacs exit immediately after startup
without having to manually type control-x control-c. The problem
occurs whether these command line options are present or not.
unix ~ $ ssh cygwin
Last login: Fri Oct 19 14:10:35 2007 from 10.0.0.22
gson@cygwin ~
$ time emacs -nw -f kill-emacs
[nothing happens for more than 18 minutes; I give up and hit control-C]
real 18m26.024s
user 12m32.171s
sys 0m0.015s
I tried to to debug the problem by running emacs under strace,
but got the following error:
$ time strace -o strace.out emacs -nw -f kill-emacs
emacs: standard input is not a tty
real 0m0.183s
user 0m0.015s
sys 0m0.015s
Here are the versions of the packages involved:
gson@cygwin ~
$ cygcheck -c cygwin emacs openssh
Cygwin Package Information
Package Version Status
cygwin 1.5.24-2 OK
emacs 21.2-13 OK
openssh 4.7p1-2 OK
The output of cygcheck -s -v -r is attached. Any clues?
--
Andreas Gustafsson, gson@gson.org
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20071019/da4f6cd7/attachment.ksh>
-------------- next part --------------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list