public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Takashi Yano <takashi.yano@nifty.ne.jp>
To: cygwin@cygwin.com
Subject: Re: fork() fails if it is called recursively from a child thread.
Date: Thu, 09 Mar 2017 17:33:00 -0000	[thread overview]
Message-ID: <20170310023328.23a53e24c4a4e03a21ca902f@nifty.ne.jp> (raw)
In-Reply-To: <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

  reply	other threads:[~2017-03-09 17:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-09 11:40 Takashi Yano
2017-03-09 13:53 ` Eliot Moss
2017-03-09 16:16   ` Takashi Yano
2017-03-09 17:06 ` Achim Gratz
2017-03-09 17:33   ` Takashi Yano [this message]
2017-03-09 19:48     ` cyg Simple
2017-03-10 20:10 ` Corinna Vinschen
2017-03-11  1:29   ` Takashi Yano
2017-03-21 15:05     ` Erik Bray

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170310023328.23a53e24c4a4e03a21ca902f@nifty.ne.jp \
    --to=takashi.yano@nifty.ne.jp \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).