From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 81479 invoked by alias); 2 Jan 2020 03:02:25 -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 81469 invoked by uid 89); 2 Jan 2020 03:02:25 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 spammy=orphan, forever, youd, you'd X-HELO: NAM12-MW2-obe.outbound.protection.outlook.com Received: from mail-mw2nam12on2109.outbound.protection.outlook.com (HELO NAM12-MW2-obe.outbound.protection.outlook.com) (40.107.244.109) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 02 Jan 2020 03:02:23 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kuBYJjRge/udEAR4Y02DuT9Dj1bTP+FKicI3QDb+4mnhjX7TFyFe9OSdgBOWbYRpvdLkeSP85m2mgZ2+wWAxnRVvJkPihLddls4UBodzl+JWAA7MH65TQxOjqbMhXGdHnvkJZ59fjuEMa144RMv7UWwyfqFa2dsWZr1cioB0MdJFETdroFBVElnBFJ2BTwpN+AsWvsAfHaNaRzsQf/Dxe35Vh7NfxaYPtfapsLijIqpZVKjF7hIzXHdOI8VghOhHjK0sByXL0IyOWSywdgQoZYKR7WhGZvqxAev+fYY+b/JLa0UWsVXCjTsZwpsT4G4MyZP10+a0TqO4lxpP9Oq86Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=hbpLxaBzaVeRr9jXoGio+BhMo1dagwDyzUeAmKDIqlo=; b=mURVZzAKVH6Wqfg4Qq3ayo2c9/yw2qao4FRBOqJtld8gooZW8WAKJTcT8UAi2PaOVPbmNwCJQ4QLnvA+vaJftJYvc7/EsIOEGyny7CfgVkuPir3H6hMSNY20b+eiq2mzNJUAUSQBIhy1gXJZAXeFbkNj874vH5kCtcLHHRaWKiugm8eUjYG3UdelA/6gaHFmE2BtEef37aJR/mWYYioywcw145Qdp7zDF9+h/J2OSaKE2ic90yRDCW2DQFmXLX/gZeNDqjLbxkL7du4j8AQDDSixt0c68adXHV2U1c1trKQ7SiUhVesnotCGlRtfnp4Z3xTcHqtmp+KXRw6MlNUdmA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cornell.edu; dmarc=pass action=none header.from=cornell.edu; dkim=pass header.d=cornell.edu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cornell.edu; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=hbpLxaBzaVeRr9jXoGio+BhMo1dagwDyzUeAmKDIqlo=; b=TBypUSfyLybazoFq4pY0QRABcZuZBEB8V19Yo+2yRGVQ11cdYcATlbrcENMD60yBspGwzIFko2cCspCR6g5/xNEcKLf9Nkzm23mjNj0rghhpmAwTtwSaQ4Q3OoK9IXnXkXlr/JKVPxQElAiwqTU4O0KrMWNETGMxQYK3KmPOMvc= Received: from DM6PR04MB5738.namprd04.prod.outlook.com (20.179.51.81) by DM6PR04MB5740.namprd04.prod.outlook.com (20.179.49.221) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2581.12; Thu, 2 Jan 2020 03:02:19 +0000 Received: from DM6PR04MB5738.namprd04.prod.outlook.com ([fe80::cc3:c238:852e:5831]) by DM6PR04MB5738.namprd04.prod.outlook.com ([fe80::cc3:c238:852e:5831%7]) with mapi id 15.20.2602.012; Thu, 2 Jan 2020 03:02:19 +0000 Received: from [IPv6:2604:6000:b407:7f00:6c9f:b6b0:eaa3:35d7] (2604:6000:b407:7f00:6c9f:b6b0:eaa3:35d7) by MN2PR19CA0009.namprd19.prod.outlook.com (2603:10b6:208:178::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2602.12 via Frontend Transport; Thu, 2 Jan 2020 03:02:19 +0000 From: Ken Brown To: "cygwin@cygwin.com" Subject: Re: fork: Resource temporarily unavailable errors after upgrading cygwin packages Date: Thu, 02 Jan 2020 03:02:00 -0000 Message-ID: References: <6d43c714-c4ba-4f0c-9913-cb8453129c85@gmail.com> <93562f34-3a14-0c10-cb57-1ae861307d82@gmail.com> In-Reply-To: user-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 authentication-results: spf=none (sender IP is ) smtp.mailfrom=kbrown@cornell.edu; x-ms-oob-tlc-oobclassifiers: OLM:9508; received-spf: None (protection.outlook.com: cornell.edu does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="Windows-1252" Content-ID: <230B9D3A21F38C4AA5C2AFB34DF1B865@namprd04.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: mWmIrjCD8wSfo/LHHaZ5mDRgfmcvwiVZHxpmTg73DWCHX759MQlGbCxNfQONl/hOmBfB7B3JEvLLAvHtwMuliQ== X-IsSubscribed: yes X-SW-Source: 2020-01/txt/msg00012.txt.bz2 On 1/1/2020 6:43 PM, David Finnie wrote: > That strongly implies that there is an issue with changes made since then= . I=20 > noticed that in fork.cc, at line 540, this new code exists: >=20 > =A0 /* Do not attach to the child before it has successfully initialized. > =A0=A0=A0=A0 Otherwise we may wait forever, or deliver an orphan SIGCHIL= D. */ > =A0 if (!child.reattach ()) > =A0=A0=A0 { > =A0=A0=A0=A0=A0 this_errno =3D EAGAIN; > #ifdef DEBUGGING0 > =A0=A0=A0=A0=A0 error ("child reattach failed"); > #endif > =A0=A0=A0=A0=A0 goto cleanup; > =A0=A0=A0 } >=20 > Since I am getting "Resource temporarily unavailable", which equates to E= AGAIN,=20 > and this code is new, this looks like the most likely candidate to invest= igate=20 > first (but rest assured that I'm not saying that this code is definitely = the=20 > culprit !). You could try building cygwin with DEBUGGING0 defined to see if this is whe= re=20 the EAGAIN is coming from. I think the error message would show up in stra= ce=20 output, so you'd have to be able to reproduce the problem under strace. And it would be great if you could find a testcase that you can share with = the=20 list, so that others can try to reproduce the problem. Ken -- 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