Web lists-archives.com

Re: fork() fails if it is called recursively from a child thread.




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@xxxxxxxxxxx>

--
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