X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=xBmEmyFqT9qaq+oR UowwaGAlMKPXrdNlNE7v9EzsnrSedQb5cpExvK8WcyasAEJ3/nQk2RCHyMbSXr2W FF+mJfHOmpiX6yBEfmiODZbaStzx0jvQ4Ps34in7gfLjBdENvtUrufsVOCrc5NY5 /YjsVtuwAp5v6KzyHmW5QXGyV6s= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=VSSllmlwd1+e6qQFZAHAE4 9R0yU=; b=iwVwPxWvgcO5wjWRrJs4a9kcmJCpia2eEvdrbYoNw9FQNYe02dNwUM tVQ1s+o3f+NEyVAdKqmNXBbnQ//t6kYtr5lB78IVxAawUTVphKmo2GeVUlN1Lf0Q 78KPuTf2kmyhdc6gMtxvUpymEiTNHoOZwaqSYLcxW+vubFPj6LA1U= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wi0-f176.google.com X-Received: by 10.180.39.136 with SMTP id p8mr9844295wik.10.1443089450708; Thu, 24 Sep 2015 03:10:50 -0700 (PDT) Subject: Re: Cygwin bash for loops : repeated errors : [main] bash 1972 fork: child -1 - CreateProcessW failed for errno 9 bash: fork: Bad file descriptor To: cygwin AT cygwin DOT com References: <5603C7B9 DOT 7090901 AT null DOT net> From: Marco Atzeri Message-ID: <5603CC23.2010202@gmail.com> Date: Thu, 24 Sep 2015 12:10:43 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <5603C7B9.7090901@null.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes On 24/09/2015 11:51, litter AT null DOT net wrote: > .> On 23/09/2015 17:03, litter AT null DOT net wrote: >>>> It seems a race problem, due to the repetitive fork of grep >>>> for every line of some-file >>> >>> So why does it fail? Seems like a bug to me! >>> >>> Regards, >>> Paul >> >> As does not fail on my computer, I suspect is a race between your AV and >> cygwin and sometimes cygwin wins. >> >> >> Regards >> Marco. > > Good for you. I don't have AV SW as I mentioned. And even so, that still makes it a bug. Your system timing performance as so poor that something is likely interfering. Don't assume that is a cygwin bug. > Anyhow, a suspicion is speculative. I thought this mailing list was meant to report issues, and I think this is an issue. Yes, this is the right place. > How can I further diagnose this? Is there a known way to further determine what's causing this? start with > Problem reports: http://cygwin.com/problems.html "Run cygcheck -s -v -r > cygcheck.out and include that file as an attachment in your report. Please do not compress or otherwise encode the output. Just attach it as a straight text file so that it can be easily viewed. " so we can look at your system configuration. > Regards, > Paul Marco -- 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