This is the mail archive of the cygwin 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]
Other format: [Raw text]

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/


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