From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 111700 invoked by alias); 14 Feb 2020 01:25:00 -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 111678 invoked by uid 89); 14 Feb 2020 01:25:00 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-5.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=dons, Dons, Tychsen, tychsen X-HELO: conssluserg-02.nifty.com Received: from conssluserg-02.nifty.com (HELO conssluserg-02.nifty.com) (210.131.2.81) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 14 Feb 2020 01:24:57 +0000 Received: from Express5800-S70 (ntsitm196171.sitm.nt.ngn.ppp.infoweb.ne.jp [125.0.207.171]) (authenticated) by conssluserg-02.nifty.com with ESMTP id 01E1OBcd007230; Fri, 14 Feb 2020 10:24:12 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com 01E1OBcd007230 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.ne.jp; s=dec2015msa; t=1581643452; bh=zOevZVEG128xPlC/qWoHqoLTMxc/prnx8r9NnHmt7kk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=tp10YahtOmT6Tyj6Fgn7zEuujjRQ7CBvg4BHnxvV+rFrWdUEx0o3aREW5w98U0TCh EBkTCDxJhXTas0+KkrDeYAJjB3dff4k6sw8eZZiBOnviQd3J+8eld5cXFl81bP4/Np 6qh4LUJ7LKtHsaUKjhSNCO/CRS+/2vySYoor3rhJceobf+W83m3aXVSwR1nMFsqyGS /dgixnng3LiY6nO8je3mY/CnIoxL8+5jte1xM91l0VkYLcr58tZAueKFGOP3eUXyOm /r580KS7tomtZWeY7Q5RMPIuaxs+m+TKqnCs2TUBDheS4fc7rUejy7MwylmoEmZJfi qtLJuhuidJE+g== Date: Fri, 14 Feb 2020 01:25:00 -0000 From: Takashi Yano To: cygwin@cygwin.com Cc: pdt@dontech.dk Subject: Re: fork: Resource temporarily unavailable errors after upgrading cygwin packages Message-Id: <20200214102413.9b86e9f0534802da9f64b4e5@nifty.ne.jp> In-Reply-To: <4ec1fba91d4becdb6c01b6f1dd416c3e9ed7967f.camel@dontech.dk> References: <6d43c714-c4ba-4f0c-9913-cb8453129c85@gmail.com> <93562f34-3a14-0c10-cb57-1ae861307d82@gmail.com> <810b0c97ee0697c06bdaa4dff4081bb502bc46ab.camel@dontech.dk> <9ed4b0776323e4a0f62191121715d52a0429bdb2.camel@dontech.dk> <23d3cd65794886745e2070a1d1b74013418b0bd8.camel@dontech.dk> <20200211112026.05664f5c68b6282a39da8ac2@nifty.ne.jp> <20200211221606.c82d718ec32a6d0ce3c2ad7b@nifty.ne.jp> <03033cd520c633f90e503414f1b678b4a9283d33.camel@dontech.dk> <20200212112411.32f05ee5ce2c1401bd076746@nifty.ne.jp> <3971cde6277a16cb04ac25067b4478b9cfbfa319.camel@dontech.dk> <20200213131322.66b104901134c644c0dad57e@nifty.ne.jp> <4ec1fba91d4becdb6c01b6f1dd416c3e9ed7967f.camel@dontech.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2020-02/txt/msg00111.txt.bz2 On Thu, 13 Feb 2020 22:42:31 +0100 Peter Dons Tychsen wrote: > On Thu, 2020-02-13 at 13:13 +0900, Takashi Yano wrote: > > Could you please try latest snapshot? > > https://cygwin.com/snapshots/ > > The commit regarding use of kill() does the trick. > It's a go from here :-). > > Thanks for all the help, Thanks for testing. I had looked into the make problem further, and found this was not caused by the errno overwriting, but by calling sig_dispatch_pending() in fixup_after_exec() via kill(). fixup_after_exec() is called from dll_crt0_0(). It seems that calling sig_dispatch_pending() from dll_crl0_0() causes hangs everywhere (even outside PTY). I am not sure what exactly does sig_dispatch_pending() and why this causes the problem, anyway, using pinfo() rather than kill() solves the issue. Thanks. -- Takashi Yano -- 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