public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Andrey Khalyavin <halyavin@google.com>
To: cygwin@cygwin.com
Subject: Re: Cygwin crashes in kill_pgrp, _pinfo truncation issue.
Date: Mon, 17 Sep 2012 11:03:00 -0000	[thread overview]
Message-ID: <CACgPhYpKsAAvXdtKJN=v7V=Qenh=MiTGixtfxBxrRHt2p+nTSQ@mail.gmail.com> (raw)
In-Reply-To: <CACgPhYrxk8_DvbZ44afZ9OrLTvXHn1-geyuL2EpfPWeeDG1yZw@mail.gmail.com>

2012/8/23 Andrey Khalyavin wrote:
>
> I got two more crash dumps from our bots running 20120816 snapshot.
> Both of them crashed in this place. process_state equals to
> PID_IN_USE | PIE_EXECED and your new check in _pinfo::exist is really there.
> So the race condition on process_state field does happens in practice.
>
> Andrey Khalyavin

I removed _pinfo truncation optimization and now all crashes are gone.

Andrey Khalyavin

--
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:[~2012-09-17  9:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-23 11:35 Andrey Khalyavin
2012-09-17 11:03 ` Andrey Khalyavin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-08-16 16:45 Andrey Khalyavin
2012-08-16 18:44 ` Christopher Faylor
2012-08-15 13:10 Andrey Khalyavin
2012-08-15 20:51 ` Christopher Faylor

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='CACgPhYpKsAAvXdtKJN=v7V=Qenh=MiTGixtfxBxrRHt2p+nTSQ@mail.gmail.com' \
    --to=halyavin@google.com \
    --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).