This is the mail archive of the
mailing list for the Cygwin project.
Re: rsh with command hangs, rlogin works
- From: Lars Björnfot <lars at nuclear-diagnostics dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 3 Jun 2006 00:02:22 +0200 (CEST)
- Subject: Re: rsh with command hangs, rlogin works
> $ rsh localhost ls HANGS for any command
Still unsolved but: I noted a SIGSEGV message
in the syslog which explains why it hangs.
Jun 2 23:39:12 baloo kernel: in.rshd: segfault at 00000003 rip
0022E4E5 rsp 0022E454 error 4
I downloaded the inetutil sources, added some syslog lines
and pinpointed the problem to the rresvport() call:
s = rresvport(&lport);
rshd crashes on the first attempt, when lport=1023.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html