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:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; q=dns; s=default; b=E1FJIau7SBS8tXG2hcmtC8HCPbQA75FuBSjnND/9a5V jYSAMeemqf3havLx0ulFVRY8vRl5LkKd8BXe6Yoq8UqAgEb+ykRm/+4N7CQvu8Lm nUSaKBo1mWCMblKA3/XlAdZoqKmDaCF/ozzeRN1ip+Qc37amXjGDR5/BuH996DPE = 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:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; s=default; bh=fbcX+r7Ap9X9WrYx5IMT91iYjAM=; b=ANsjbd2jukwYEaMuK 5qGs2i+iouYeP83zmN9PEJd1DkSLwvH0bJrI7uqzyBEoIqOv6zQAV43EIAeXiFz/ mHcpEGnYzSQtQtZjETLs9kZt3DvLX8DZh+LGXbBaa/KBz/1Uwy7ejqztpdvvqz60 m+P9wI2OfqjEvZHDhFO+YcMqzE= 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=-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 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 10:24:13 +0900 From: Takashi Yano To: cygwin AT cygwin DOT com Cc: pdt AT dontech DOT 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 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> <23d3cd65794886745e2070a1d1b74013418b0bd8 DOT camel AT dontech DOT dk> <20200211112026 DOT 05664f5c68b6282a39da8ac2 AT nifty DOT ne DOT jp> <20200211221606 DOT c82d718ec32a6d0ce3c2ad7b AT nifty DOT ne DOT jp> <03033cd520c633f90e503414f1b678b4a9283d33 DOT camel AT dontech DOT dk> <20200212112411 DOT 32f05ee5ce2c1401bd076746 AT nifty DOT ne DOT jp> <3971cde6277a16cb04ac25067b4478b9cfbfa319 DOT camel AT dontech DOT dk> <20200213131322 DOT 66b104901134c644c0dad57e AT nifty DOT ne DOT jp> <4ec1fba91d4becdb6c01b6f1dd416c3e9ed7967f DOT camel AT dontech DOT dk> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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