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=ZtZDnDbbgrKMXJxv czLY0CSvmlTadsYJ8tG1XD2YDU2D/x7fGTLOXWCs0QTHRpuWh6mqJwfNZjh9A0s8 +C6XE415bkCHCXmMNNgx+9P13emr1eEG+EDAItrMbQ5B8ysPkpC2UwhS5CPVAiJG FGEK18TCm1pdLp/0abWpCgTGz5o= 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=qEvKiCsljjYWv/xSmqoQai GB9TA=; b=tZQ2qhjsxksd6ifXlbLwS8VK2iwutBhj9GgvcBKIzVAt949HV653bB oF/GaJ1XunMLREQFcLncCLvHn7fhSOA0JiJCRFoinjY91Vysc97J7LprAd0G1ZFQ 7E1EloyA2pTNzW+TA02vDJKBFXg4GkN073ixj+GkeWj088eNmXdU4= 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.5 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-f181.google.com X-Received: by 10.194.22.8 with SMTP id z8mr36904380wje.43.1443023771967; Wed, 23 Sep 2015 08:56:11 -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: <5602BF53 DOT 5010203 AT null DOT net> From: Marco Atzeri Message-ID: <5602CB96.4050808@gmail.com> Date: Wed, 23 Sep 2015 17:56:06 +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: <5602BF53.5010203@null.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 -- 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