This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: fork() fails if it is called recursively from a child thread.
- From: Takashi Yano <takashi dot yano at nifty dot ne dot jp>
- To: cygwin at cygwin dot com
- Date: Fri, 10 Mar 2017 02:33:28 +0900
- Subject: Re: fork() fails if it is called recursively from a child thread.
- Authentication-results: sourceware.org; auth=none
- Dkim-filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com v29HXOFM014540
- References: <20170309203959.1e7e32d20bf7ec06c705d3ba@nifty.ne.jp> <87lgseidln.fsf@Rainer.invalid>
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 <takashi.yano@nifty.ne.jp>
--
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