X-Spam-Check-By: sourceware.org X-ClientAddr: 127.0.0.1 Message-ID: <25840.217.209.153.73.1149285742.squirrel@www.webmail.nuclear-diagnostics.com> Date: Sat, 3 Jun 2006 00:02:22 +0200 (CEST) Subject: Re: rsh with command hangs, rlogin works From: Lars =?iso-8859-1?Q?Bj=F6rnfot?= To: cygwin AT cygwin DOT com User-Agent: SquirrelMail/1.4.4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-HermesMedical-MailScanner-Information: Please contact the ISP for more information X-HermesMedical-MailScanner: Found to be clean Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com > $ 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/