delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/03/31/15:49:30

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: postinstall hang
Date: Mon, 31 Mar 2008 16:48:55 -0400
Message-ID: <A28965E490DE4B4DBE938ECF7CC19C04073F4FB1@blums0014.na.baesystems.com>
References: <001901c89348$cd86c8b0$06bca8c0 AT bigtower>
From: "Popper, Samuel \(US SSA\)" <samuel DOT popper AT baesystems DOT com>
To: <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id m2VKnT1F007976

> I've tried to install cygwin now about 7 or 8 times but the
postinstall
> always hangs somewhere, in different scripts at different places.

I am still having this problem (as evidenced by previous messages).
I've come up with a bash script "test case" that demonstrates the
problem:

$ NUM=1; while true ; do echo $NUM; NUM=$(( $NUM + 1 )); done

will run indefinitely, whereas:

$ NUM=1; while true ; do echo `echo $NUM` ; NUM=$(( $NUM + 1 )); done

Hangs pretty quickly, usually while printing some number in the 100-200
range.  Killing the windows bash.exe process at the leaf of the process
tree causes the script to resume counting.

-Sam


--
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/


- Raw text -


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