This is the mail archive of the
mailing list for the Cygwin project.
Re: fork() fails if it is called recursively from a child thread.
On 3/9/2017 12:33 PM, Takashi Yano wrote:
> 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
> 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.
Fails for me too. The "Error code" is actually 11 or 0xB
An attempt was made to load a program with an incorrect format.
The 0xC0000142 is an exit code. Here is a developer blog on this exit code.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple