This is the mail archive of the
cygwin
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.
/var/log/messages:
Jun 2 23:39:12 baloo kernel: in.rshd[3308]: 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:
rshd.c:
s = rresvport(&lport);
rshd crashes on the first attempt, when lport=1023.
Regards,
Lars
--
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/