X-Spam-Check-By: sourceware.org
Date: Wed, 29 Mar 2006 18:25:06 -0500
From: Christopher Faylor <cgf-no-personal-reply-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: 20060301 snapshot and later.  sh hangs with very long command line
Message-ID: <20060329232506.GD12890@trixie.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <98A22DD7-2111-489A-9843-E0176048A2BB@rehley.net> <20060313000602.GA19770@trixie.casa.cgf.cx> <442B14EE.5AEFA518@dessent.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <442B14EE.5AEFA518@dessent.net>
User-Agent: Mutt/1.5.11
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Wed, Mar 29, 2006 at 03:14:54PM -0800, Brian Dessent wrote:
>Christopher Faylor wrote:
>>>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.
>
>This looks like it has regressed.  I am using CVS HEAD as of yesterday
>and have run into the "finding the maximum length of command line
>arguments" hang in configure scripts.  Peter's testcase fails too.  As
>a workaround I've set cygexec on my mounts which seems to workaround
>the issue (and allows larger commandlines anyway.)

Would you be willing to track down the snapshot when this started failing
again?

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/

