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:message-id:subject:from:reply-to:to:date :in-reply-to:references:content-type:mime-version; q=dns; s= default; b=hTI1Mc/6hpVbv8844oMeX9VCjnZdhxIGloa6ZI938i6LYfZQRmfGv cZ3StnExnfANNpaER3iPI8ATqJB+TG/6UFXZ5ejtMcWN/O21qwii9k8cyIeUGaui efPdXjAUYqgbdB9GEbps5ttlfN81NJPnaAnbc64UIMML3FNh+v4T9o= 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:message-id:subject:from:reply-to:to:date :in-reply-to:references:content-type:mime-version; s=default; bh=Rhv6TvcNJvzaAGqjBWtmFAAlwrU=; b=o2V/CIq5Ox50Joeq41ayBCuW/2L4 G2mkSzRF9NmNLmg8RZPMykNGAyDkgt1Rd48KW7745ba4oXGDT5KmaWVGI94pz3JM R535qfdz+DKXykqHhdvLopmapeOao5Drff824nQO2U0EMWgQ8w37034P6+Ubd2SG jrVLYoypDziJ0rQ= 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-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,EXECUTABLE_URI,GIT_PATCH_2,KAM_EXEURI autolearn=ham version=3.3.1 spammy=Download, upgrading, MinGW, Resource X-HELO: relay.telenor.dk X-MtScore: NO score=0 Message-ID: <23d3cd65794886745e2070a1d1b74013418b0bd8.camel@dontech.dk> Subject: Re: fork: Resource temporarily unavailable errors after upgrading cygwin packages From: Peter Dons Tychsen Reply-To: pdt AT dontech DOT dk To: David Finnie , cygwin AT cygwin DOT com Date: Mon, 10 Feb 2020 21:58:09 +0100 In-Reply-To: References: <6d43c714-c4ba-4f0c-9913-cb8453129c85 AT gmail DOT com> <93562f34-3a14-0c10-cb57-1ae861307d82 AT gmail DOT com> <810b0c97ee0697c06bdaa4dff4081bb502bc46ab DOT camel AT dontech DOT dk> <9ed4b0776323e4a0f62191121715d52a0429bdb2 DOT camel AT dontech DOT dk> Content-Type: multipart/mixed; boundary="=-Cl6LKe2j2EpVLmGJO3gE" User-Agent: Evolution 3.32.5 (3.32.5-1.fc30) MIME-Version: 1.0 --=-Cl6LKe2j2EpVLmGJO3gE Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Hi all, On Thu, 2020-02-06 at 09:18 +1100, David Finnie wrote: > That would be awesome if you could create a small test case OK, i put together a test-case: 1) Put attached makefile somewhere 2) Download https://nuwen.net/files/mingw/mingw-17.1-without-git.exe and unzip it in same place. 3) Now run "make create" 4) Now run "make clean && make -j32". Try a couple of times. ----------- a) If running via mintty - it hangs fairly quickly, and the task- manager will show hanging gcc's and sh's. b) If running in normal terminal via "bash --login" shortcut, everything is ok. Ran 100s of times with no error. ----------- It seems to be related to the fact the is is spawning non-cygwin programs. If i do the same test with normal GCC (default cygwin gcc) then everything is fine. My guess would be that this is related to the pseudo-console changes. I think it relates to an terminal I/O problem when the tasks are starting/stopping. Thanks, /pedro --=-Cl6LKe2j2EpVLmGJO3gE Content-Disposition: attachment; filename="Makefile" Content-Type: text/x-makefile; name="Makefile"; charset="UTF-8" Content-Transfer-Encoding: base64 dGVzdDogaGFuZwoKZGVmaW5lIHRlc3QKdGVzdCQoMSkuZDogdGVzdCQoMSku YwoJZWNobyBydW5uaW5nIHRocmVhZCAkKDEpCglNaW5HVy9iaW4vZ2NjIC1N UCAtTU0gLU1UICQkQCAtTSAtbyAkJEAgJCReICYmXAoJTWluR1cvYmluL2dj YyAtYyAtbyAkJCheOi5jPS5vKSAkJF4Kb3V0cHV0cyArPSB0ZXN0JChpKS5k CmlucHV0cyArPSB0ZXN0JChpKS5jCmVuZGVmCgpsb29wcyA6PSAwIDEgMiAz IDQgNSA2IDcgOCA5Cmxvb3BzIDo9ICQoZm9yZWFjaCBpLCAkKGxvb3BzKSwk KGkpMCAkKGkpMSAkKGkpMiAkKGkpMyAkKGkpNCAkKGkpNSAkKGkpNiAkKGkp NyAkKGkpOCAkKGkpOSkKCiQoZm9yZWFjaCBpLCQobG9vcHMpLCQoZXZhbCAk KGNhbGwgdGVzdCwkKGkpKSkpCgpoYW5nOiAkKG91dHB1dHMpCgpwcmludDog CgllY2hvICQob3V0cHV0cykKCWVjaG8gJChpbnB1dHMpCgolLmM6CgllY2hv ICIjaW5jbHVkZSA8c3RkaW8uaD4iID4gJEAKCWVjaG8gIiNpbmNsdWRlIDxz dGRsaWIuaD4iID4+ICRACgllY2hvICIjaW5jbHVkZSA8c3RyaW5nLmg+IiA+ PiAkQAoKY3JlYXRlOiAkKGlucHV0cykKCWVjaG8KCmNsZWFuOgoJcm0gLXJm ICouYyAqLmQgKi5vCg== --=-Cl6LKe2j2EpVLmGJO3gE Content-Type: text/plain; charset=us-ascii -- 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 --=-Cl6LKe2j2EpVLmGJO3gE--