From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11395 invoked by alias); 10 Feb 2020 20:58: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 11385 invoked by uid 89); 10 Feb 2020 20:58:16 -0000 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 Received: from relay.telenor.dk (HELO relay.telenor.dk) (212.88.64.54) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 10 Feb 2020 20:58:14 +0000 X-MtScore: NO score=0 Received: from donpedro.P-2601HN-F1 (unknown [94.147.60.8]) by relay.telenor.dk (Telenor Denmark) with ESMTP id E5132C0F1F26; Mon, 10 Feb 2020 21:58:09 +0100 (CET) Message-ID: <23d3cd65794886745e2070a1d1b74013418b0bd8.camel@dontech.dk> Subject: Re: fork: Resource temporarily unavailable errors after upgrading cygwin packages From: Peter Dons Tychsen Reply-To: pdt@dontech.dk To: David Finnie , cygwin@cygwin.com Date: Mon, 10 Feb 2020 20:58:00 -0000 In-Reply-To: References: <6d43c714-c4ba-4f0c-9913-cb8453129c85@gmail.com> <93562f34-3a14-0c10-cb57-1ae861307d82@gmail.com> <810b0c97ee0697c06bdaa4dff4081bb502bc46ab.camel@dontech.dk> <9ed4b0776323e4a0f62191121715d52a0429bdb2.camel@dontech.dk> Content-Type: multipart/mixed; boundary="=-Cl6LKe2j2EpVLmGJO3gE" User-Agent: Evolution 3.32.5 (3.32.5-1.fc30) MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00091.txt.bz2 --=-Cl6LKe2j2EpVLmGJO3gE Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Content-length: 960 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 Content-length: 814 dGVzdDogaGFuZwoKZGVmaW5lIHRlc3QKdGVzdCQoMSkuZDogdGVzdCQoMSku YwoJZWNobyBydW5uaW5nIHRocmVhZCAkKDEpCglNaW5HVy9iaW4vZ2NjIC1N UCAtTU0gLU1UICQkQCAtTSAtbyAkJEAgJCReICYmXAoJTWluR1cvYmluL2dj YyAtYyAtbyAkJCheOi5jPS5vKSAkJF4Kb3V0cHV0cyArPSB0ZXN0JChpKS5k CmlucHV0cyArPSB0ZXN0JChpKS5jCmVuZGVmCgpsb29wcyA6PSAwIDEgMiAz IDQgNSA2IDcgOCA5Cmxvb3BzIDo9ICQoZm9yZWFjaCBpLCAkKGxvb3BzKSwk KGkpMCAkKGkpMSAkKGkpMiAkKGkpMyAkKGkpNCAkKGkpNSAkKGkpNiAkKGkp NyAkKGkpOCAkKGkpOSkKCiQoZm9yZWFjaCBpLCQobG9vcHMpLCQoZXZhbCAk KGNhbGwgdGVzdCwkKGkpKSkpCgpoYW5nOiAkKG91dHB1dHMpCgpwcmludDog CgllY2hvICQob3V0cHV0cykKCWVjaG8gJChpbnB1dHMpCgolLmM6CgllY2hv ICIjaW5jbHVkZSA8c3RkaW8uaD4iID4gJEAKCWVjaG8gIiNpbmNsdWRlIDxz dGRsaWIuaD4iID4+ICRACgllY2hvICIjaW5jbHVkZSA8c3RyaW5nLmg+IiA+ PiAkQAoKY3JlYXRlOiAkKGlucHV0cykKCWVjaG8KCmNsZWFuOgoJcm0gLXJm ICouYyAqLmQgKi5vCg== --=-Cl6LKe2j2EpVLmGJO3gE Content-Type: text/plain; charset=us-ascii Content-length: 219 -- 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--