www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/03/12/19:09:10

X-Spam-Check-By: sourceware.org
Date: Sun, 12 Mar 2006 19:06:02 -0500
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 20060301 snapshot and later. sh hangs with very long command line
Message-ID: <20060313000602.GA19770@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
References: <98A22DD7-2111-489A-9843-E0176048A2BB AT rehley DOT net>
Mime-Version: 1.0
In-Reply-To: <98A22DD7-2111-489A-9843-E0176048A2BB@rehley.net>
User-Agent: Mutt/1.5.11
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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 Thu, Mar 09, 2006 at 05:31:03PM -0800, Peter Rehley wrote:
>Hi,
>
>I was building binutils using the cygwin 20060308 snapshot, and when  
>it did the check for "finding the maximum length of command line" a  
>sh shell goes to 99% cpu usage and doesn't return until I end the  
>process using task manager.
>
>I isolated the portion of the script that was hanging and was able to  
>repeat the problem.  The script hangs when it checks for a command  
>line of length 16384.  This happens every time I run the script, and  
>it is reproducible for me on at least windows 2000 and windows XP.   
>I've attached a test script.
>
>The problem doesn't happen with the 20060227 snapshot, but appeared  
>in 20060301 and later versions.  It is present in the 20060309 snapshot.

Thanks for the test case.  This should be fixed in the next snapshot.

cgf

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