| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=4.6 required=5.0 tests=AWL,BAYES_50,DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,T_DKIM_INVALID,T_TO_NO_BRKTS_FREEMAIL |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <4D1B5F67.9080208@gmail.com> |
| Date: | Wed, 29 Dec 2010 16:18:47 +0000 |
| From: | Jon Egerton-Kemp <jonek90 AT gmail DOT com> |
| User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Cygwin 1.7.7 - /bin/ls hangs? |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.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 |
Hi all,
I recently upgraded to 1.7.7 and a script that I use to set up a lot of
environment variables is now hanging.
The problem is quite unpredictable and I am struggling to find ways to reliably
reproduce or diagnose.
I am using csh (tcsh) and 'source'-ing a script but I have seen 'bash' hang just
running:
bash-3.2$ ls /usr/bin
(although not today!)
Typically I do something like:
% source /cygdrive/h/jek/bin/jSetfor.csh
and with 'echo' set it runs to:
...
if ( -d /cygdrive/s/syb1503/shared ) then
setenv SYBASE_JRE /cygdrive/s/syb1503/shared/`ls $SYBHOME/shared/|fgrep
jre|tail -1`
ls /cygdrive/s/syb1503/shared/
tail -1
Run again and this time it gets further but hangs with:
...
if ( -d /cygdrive/s/syb1503/REP-15_2/lib3p ) then
endif
setenv SYBASE_RPL `ls $SYBHOME|fgrep RPL-|tail -1`
ls /cygdrive/s/syb1503
fgrep RPL-
My guess is a timing issue - perhaps in the pipe?
Any thoughts on what is going wrong or what I can do to avoid it?
Many thanks and Happy New Year,
- jon.
--
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |