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:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; q=dns; s=default; b=eq1Q+/rvvowoSiZf1f6974q8NUNyOGbw7UPdA1CqAG8 G8uZfJODRibHnUXClAntjK9UITEhoCIod3sgdxKrW9E7OrVBCy7e/yw0XZoYXweO otu3qj/AITas5vFuZvMcKXpMZ0KJ8V0+h3d3QccFvGn7UraK2zDLoSGFEhh+ChWQ = 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:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; s=default; bh=2iJH3bzZYMbTAIBi9GiUbXtP/b8=; b=C5ETCxDXgSKgo+ky+ h0/tZx7+8tCxQ3fbY5qp8PE4gKCed4Is+DWFdSwKNk4k7qw+7Cq1cJmiXf2zDhZa RETIHR9zRBuKVE0094CRtEDFRPp0+sRuk0owYbHLaW9qiSRiPpH+u8VGHGTFUT+2 MCNb+IFI3FgsG+vBtihGh0je5U= 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-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2 spammy=H*MI:sk:87lgsei, Gratz, H*f:sk:87lgsei, H*i:sk:87lgsei X-HELO: conssluserg-01.nifty.com DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com v29HXOFM014540 X-Nifty-SrcIP: [175.179.23.201] Date: Fri, 10 Mar 2017 02:33:28 +0900 From: Takashi Yano To: cygwin AT cygwin DOT com Subject: Re: fork() fails if it is called recursively from a child thread. Message-Id: <20170310023328.23a53e24c4a4e03a21ca902f@nifty.ne.jp> In-Reply-To: <87lgseidln.fsf@Rainer.invalid> References: <20170309203959 DOT 1e7e32d20bf7ec06c705d3ba AT nifty DOT ne DOT jp> <87lgseidln DOT fsf AT Rainer DOT invalid> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Thanks for your reply. On Thu, 09 Mar 2017 18:06:44 +0100 Achim Gratz wrote: > Takashi Yano writes: > > 0 [main] a 4668 fork: child -1 - forked process 8456 died unexpectedly, retry 0, exit code 0xC0000142, errno 11 > > Not sure if that helps, but that error says that some DLL could not be > initialized. Error code: 0xC0000142 means as you mentioned. Error code is 0xC0000142 under windows 10, while it is 0xC0000005 under windows 7. 0xC0000005 means access violation. I'm not sure why the error code is different depend on OS version. -- 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