delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Fri, 4 Feb 2011 11:09:10 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Reproducer for TCSH hangs |
Message-ID: | <20110204100910.GB19549@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <4D4B048D DOT 7070108 AT llnl DOT gov> |
MIME-Version: | 1.0 |
In-Reply-To: | <4D4B048D.7070108@llnl.gov> |
User-Agent: | Mutt/1.5.21 (2010-09-15) |
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 Feb 3 11:39, Stewart Brown wrote: > > The following shell script demonstrates a problem > that results in hanging scripts with CYGWIN 1.7.7: > > #!/bin/csh -f > > unalias * > set path = ( /usr/bin /usr/sbin /bin /sbin ) > > @ i = 0 > while (1) > > # uncomment this and the iteration will proceed > # in 10 second increments > # ( sleep 10 ; cat /proc/*/cmdline >& /dev/null ) & > > @ i = $i + 1 > echo -n "$i " > set foo = `echo "a" | cat | cat` > echo "ok" > end > > exit($status) > > > If this is run on our system it will hang most times > on the first iteration and certainly within 4 or 5 iterations. Not for me. I tested this script on two machines, one with XP, one with Windows 7. On both machines I tried with Cygwin 1.7.7 as well as with the latest developer snapshot, to no avail. I even tried two different tcsh versions, the one from the distro and the latest from CVS. Your script works fine for me. 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |