From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32139 invoked by alias); 23 Sep 2015 15:56:17 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 31114 invoked by uid 89); 23 Sep 2015 15:56:16 -0000 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 Received: from mail-wi0-f181.google.com (HELO mail-wi0-f181.google.com) (209.85.212.181) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 23 Sep 2015 15:56:15 +0000 Received: by wicgb1 with SMTP id gb1so212260195wic.1 for ; Wed, 23 Sep 2015 08:56:12 -0700 (PDT) X-Received: by 10.194.22.8 with SMTP id z8mr36904380wje.43.1443023771967; Wed, 23 Sep 2015 08:56:11 -0700 (PDT) Received: from [192.168.2.108] (p5B174F0B.dip0.t-ipconnect.de. [91.23.79.11]) by smtp.googlemail.com with ESMTPSA id mc18sm9205756wic.23.2015.09.23.08.56.10 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); 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@cygwin.com References: <5602BF53.5010203@null.net> From: Marco Atzeri Message-ID: <5602CB96.4050808@gmail.com> Date: Wed, 23 Sep 2015 15:56:00 -0000 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 X-SW-Source: 2015-09/txt/msg00391.txt.bz2 On 23/09/2015 17:03, litter@null.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