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'


Jeffrey Juliano wrote:
> 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
> [...]
> At this point, ssh (and thus cvs) is hung.  A running ps in a different
> shell reveals:

I just tried that with w98 and I can reproduce that. This doesn't
mean that I know why but I will investigate tomorrow.

> Incidently, what is the "I" that appears at the beginning of the line for
> CVS.EXE?

The `I' stands for process waiting for tty input.

> 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.

That's a bit complicated. You simply can kill cvs by pressing Ctrl-C
which kills both processes.

> fixes?  Do you think it's a bug in ssh or a bug in cvs?  Signal handling

This might be a problem in the combination cygwin1.dll/W9X since
that doesn't happen in NT/W2K.

Corinna

-- 
Corinna Vinschen
Cygwin Developer
Cygnus Solutions, a Red Hat company

--
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]