delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/09/15/13:08:27

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Wed, 15 Sep 2010 19:07:35 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 1.7.7-1: tcsh occasionally hanging
Message-ID: <20100915170735.GW15121@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4C90E715 DOT 7000900 AT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <4C90E715.7000900@gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Sep 15 11:32, Geo Pertea wrote:
>  Since upgrading to cygwin 1.7 recently I have been experiencing
> sporadic failures of  cygwin tcsh initialization: when opening new
> shell terminals (I start Cygwin using mintty.exe -e /bin/tcsh) they
> sometimes hang indefinitely. [...]
> 
>     if ( -r "$HOME/.ssh/known_hosts" ) then
>          set f=`cat "$HOME/.ssh/known_hosts" | cut -f 1 -d \ ` >& /dev/null
>          set f=`cat "$HOME/.ssh/known_hosts" | cut -f 1 -d \ | sed
> -e 's/,/ /g'` >& /dev/null
>          set hosts=($hosts $f)
>       endif
> 
> I do have quite a large list of hosts in the ~/.ssh/known_hosts file
> and I want to keep that way. However, in order to prevent tcsh from
> hanging I had to comment out the block above. Note that on the
> other, faster PC there was no need to do the same (even though the
> known_hosts file is about the same size), so my suspicion is that in
> tcsh with 1.7 there are some issues with pipe handling, perhaps a
> race condition somewhere that triggers more often on slower PCs.

I tried this a hundred times with a known_hosts file of 1800 entries,
and I couldn't reproduce it even once, sorry.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019