This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ssh client (corinna's port) hangs doing 'cvs update'


I've seen no sign of this on win2k (just adding to the database)..
Rob
----- Original Message ----- 
From: "Jeffrey Juliano" <juliano@cs.unc.edu>
To: <cygwin@sources.redhat.com>
Sent: Tuesday, July 25, 2000 2:48 AM
Subject: ssh client (corinna's port) hangs doing 'cvs update'


> Can someone please confirm that they can reproduce this problem...
> 
> 
> In April, I reported a problem with Sergy's ssh port
> http://sources.redhat.com/ml/cygwin/2000-04/msg00646.html
> 
> Unfortunately, I see the same problem when using cygwin latest and
> Corinna's openSSH port.  CVS is from the cygutils.netpedia.net.  The
> problem occurs on win98, but not winNT, when CVS_RSH=ssh.  Here is a
> simple test case (but the problem occurs with *any* cvs operation):
> 
> $ cvs -d cystine:$NANOREPOSITORY co -c
> juliano@cystine's password: 
> nano         nano
> nano-all     -a quat vogl vrpn sdi nano
> quat         quat
> sdi          sdi
> vogl         vogl
> vrpn         vrpn
> vrpn-all     -a vrpn vrpn_html
> vrpn_html    vrpn_html
> 
> 
> At this point, ssh (and thus cvs) is hung.  A running ps in a different
> shell reveals:
> 
> $ ps -lf
>     PID  PPID  PGID   WINPID  UID TTY    STIME COMMAND
>    1024  1000  1024 4294669727 2388   0 10:04:33 /USR/LOCAL/BIN/RXVT.EXE
>    1025  1024  1025 4294378575 2388   2 10:04:33 /usr/bin/BASH.EXE
> I 20801  1025 20801 4294617787 2388   2 11:02:48 /USR/LOCAL/BIN/CVS.EXE
>   20802 20801 20801 4294435463 2388   2 11:02:48 /USR/LOCAL/BIN/SSH.EXE
>   20804  1006 20804 4294370715 2388   1 11:03:56 /usr/bin/PS.EXE
>    1000  1000  1000 4294445443 2388   0 09:32:10 /usr/bin/BASH.EXE
>    1005  1000  1005 4294478263 2388   0 09:32:20 /USR/LOCAL/BIN/RXVT.EXE
>    1006  1005  1006 4294388519 2388   1 09:32:22 /usr/bin/BASH.EXE
> 
> 
> Incidently, what is the "I" that appears at the beginning of the line for
> CVS.EXE?
> 
> If I send a TERM signal to the ssh process, then the following happens:
> 
>  o The message "Killed by signal 15." appears in the window where I ran
>    the cvs command.
> 
>  o ps now lists the ssh process as <defunct>
> 
> At this point, the only way I can kill the cvs process is to either press
> ctrl-c in the shell's window, or send it a KILL signal from a different
> shell.
> 
> 
> Does this sound familiar to anyone?  Any known issues, or hopefully known
> fixes?  Do you think it's a bug in ssh or a bug in cvs?  Signal handling
> seems quirky on my win98 box, so I'm not sure if I'm right in assuming
> that it's a ssh problem.  Oh, have TTY in my CYGWIN env variable, but I
> believe I've tried it without TTY set.
> 
> I'm thinking about rebuilding debugable versions of ssh and cvs, but I
> still haven't gotten an answer to my strace question
> http://sources.redhat.com/ml/cygwin/2000-05/msg00384.html.
> 
> 
> 
> FWIW, I decided to look into this again when I saw the following in the
> changes file[1] for SecureCRT 3.1:
> 
> - In SSH1, portforwarding could stall.  This was occasionally
>     seen when sending large attachments via SMTP.  It was also
>     seen when portforwarding CVS.
> 
> But I doubt that helps find the problem with openSSH.
> 
> [1] http://www.vandyke.com/products/securecrt/history.txt
> 
> 
> thanks,
> 
> -jeff
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
> 
> 


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]