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:to:in-reply-to:from:subject:message-id:date :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=uJIcyoDwse6wo6+RxXBLZHQTmIWk1aXUdfDzNWWxplKYg9abBDHo/ ZIRmIctyAtXCCuEEhNzadvBqQSC02OuNL55WPLxUWk0OfHkMS+2J4j2BgRaUms9m wFKnhYjgYTWvXMRAgtIn6BKgdo2qzOv03QxrySI0Wh10u0rbaFKixI= 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:to:in-reply-to:from:subject:message-id:date :mime-version:content-type:content-transfer-encoding; s=default; bh=fx4zcYJQYG0iNovYAQodl/N40jQ=; b=nulB0V9RH1P+6urn3d/VY8478AuC yb0uQZPB7sAHv/0bxg8eZmP150C3O65AGBf0wxPJuqxvw/Uw0No245HUs+dGtPrY 4K95I9s/0yiZIFSXwh9DpdaxnbhRDjcn+6CIXggkwKv67fltFxygNrYZZkMfiTXp wxcb2l2OkSSgesg= 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.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mout.gmx.com To: cygwin AT cygwin DOT com In-Reply-To: <5602CB96.4050808@gmail.com> From: litter AT null DOT net Subject: Re: Cygwin bash for loops : repeated errors : [main] bash 1972 fork: child -1 - CreateProcessW failed for errno 9 bash: fork: Bad file descriptor Message-ID: <5603C7B9.7090901@null.net> Date: Thu, 24 Sep 2015 11:51:53 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-UI-Out-Filterresults: notjunk:1;V01:K0:ZSekHCeRr9k=:sMRmACZmnkN+R98tZ7FAsO RJxC3NSU7n81O+L7JtRQCc3BQiEr9Mos47zqgeIG3as4B7ouXMmopa2Z8kTKOSDPdSHuACwao 6VrcJ/aTy99ilVgYRF7Gl1LhncnnX7DMCREW0IlfezoZSb+6OgPlVb09nWQ/wOUiOoma8RS1X Y2FuR3n5VElVsxCeP5hkiEcz85ZGMxLBFQuYQ36lfHCWEx9X/fwghjuwWTz2PCAkH6C7iRiq6 o87+jG4D0zDgCM97XY6R28HaTgeZYLOg4M+9nErU9YqEFuWxk33sfgUEX1h9rHYxpQf03TkXy t+OvByDH3BE0avSbb/Lp3OiPW8SSyZB5j9Cu+R+BjzNsp8JxxuUL/OYOR8qOR0oGhyArqSUEv UVKYHel3fcfX6oG9yiOOiCpoOIjW0n6OO4Z2ReJWJ8eY19q+5ZcCiDLMz0MefaVgSjjJ0Iwfo KS895wvGWJKgJIDsZ0cgwczs9ZTxpVsCK+llmVTf+MP/dIBu+f9euNBgl8Ty31cNb9anTeZsX 4ldjYEI17TACTctKqNNEjIbSG/HeQnpRVgn7Vyu84Acdf6E3JrMmWJKQ/TKqM5tYPJ19icSWz 0TQZ7BebsuvZXISktC6J1UQh33eEHfaqI2/leK4KaDzRGo0x3xJoj4QUyZI59IyMLkm1J11aW G5yi0/XGBjXubHE/3DpUkZ2gD87kXe6lIy8SIAMaK1KHGLD2z4bN+KNB93fCePfFoKJEIsbVC Fsw+7WzuluJ2dZWYFld+2yNlVrh8CHooDbAHfQ== .> 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. Anyhow, a suspicion is speculative. I thought this mailing list was meant to report issues, and I think this is an issue. How can I further diagnose this? Is there a known way to further determine what's causing this? Regards, Paul -- 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