delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/09/13/15:23:40

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 13 Sep 2010 15:23:19 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin instabilities
Message-ID: <20100913192318.GB26408@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <AANLkTim+hU+Cg6_J83B_h9VHsL8wiC4Xh7TbcwzjSjkW AT mail DOT gmail DOT com> <4C8E3A4B DOT 8030909 AT cygwin DOT com> <AANLkTimX-AztuJvS-RG+bZqWCVN7tEdQXs6Ogw_fCZC5 AT mail DOT gmail DOT com> <20100913173648 DOT 15137e2d0sfh16o0 AT webmail DOT df DOT eu> <AANLkTi==Dok1uNspQumrPZmm3dEmrt8RN9cjLvEhiiC0 AT mail DOT gmail DOT com> <20100913163523 DOT GA25859 AT ednor DOT casa DOT cgf DOT cx> <4C8E7CD2 DOT 6020006 AT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <4C8E7CD2.6020006@gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Mon, Sep 13, 2010 at 08:34:42PM +0100, Dave Korn wrote:
>On 13/09/2010 17:35, Christopher Faylor wrote:
>
>> You seem to be approaching this problem as if people will say "Ah!
>> Stability issues! Right.  Well, ok, here's what you need to know."
>> 
>> If we knew of stability issues they would be fixed.
>
>  Well, I know of one, but haven't had time to fix it yet, so I keep this hack
>in my local builds.  Can't run "make check -jN" without it, but even then it
>sometimes locks up.
>
>  The problem I've run into is that on a heavily loaded system, a pinfo struct
>can get truncated into a redirector in between the time a syscall checks the
>process_state (using ISSTATE or NOTSTATE) and the time it subsequently
>attempts to access a pinfo member which it hoped to guard by that check.
>
>  I have a bad feeling that the only way to totally resolve this is going to
>be adding lots of locking or mutexing around pinfo calls, which is almost
>bound to have performance implications :-(

You've included a patch here but, FYI, I have no idea why.

cgf

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019