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: 1.7.7-1: tcsh occasionally hanging


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


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