delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/11/23/12:48:06

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.7 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RP_MATCHES_RCVD,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
X-IronPortListener: Outbound_SMTP
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ao8JAJ61r1CcKEev/2dsb2JhbAA8CIYnuR90FmwHgh4BAQEDARIREUoLAgEIDQ0CBiACAgIdExUQAgQbGodlBqJMigeSToEiiyyDFzJhA401jlmKNYJvgh0
From: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr AT ncbi DOT nlm DOT nih DOT gov>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: RE: Possible race in SYSV IPC (semaphores)
Date: Fri, 23 Nov 2012 17:47:47 +0000
Message-ID: <5F8AAC04F9616747BC4CC0E803D5907D0162E7@MLBXv04.nih.gov>
References: <5F8AAC04F9616747BC4CC0E803D5907D012856 AT MLBXV09 DOT nih DOT gov> <20121123113605 DOT GN17347 AT calimero DOT vinschen DOT de> <20121123131020 DOT GR17347 AT calimero DOT vinschen DOT de> <20121123133332 DOT GU17347 AT calimero DOT vinschen DOT de> <20121123164404 DOT GX17347 AT calimero DOT vinschen DOT de> <5F8AAC04F9616747BC4CC0E803D5907D0162C6 AT MLBXv04 DOT nih DOT gov> <20121123172937 DOT GA12624 AT calimero DOT vinschen DOT de>
In-Reply-To: <20121123172937.GA12624@calimero.vinschen.de>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id qANHm0am027195

> I agree.  I'll do that in the next couple of days.

Thank you.  Please let me know when you do, so that I can
check the relevant snapshot out.

Incidentally, have you been able to confirm the dead-locking
that I reported earlier (below)?  I just ran the patched cygserver
with the "-d -l 7" arguments, along with my test case, and both
dead-locked just as before.

> The test case attached from my earlier post from today, also shows
> a race (dead-lock, actually) occurring in CYGSERVER, when it is run
> with the "-d -l 7" command line (even when it is only one application,
> the test case is using it).  There is an internal disconcert between
> the cygserver threads.
> 
> The log ends with this, and there is no way to stop the server
> (like with "cygrunsrv -E") other than killing it from the task
> manager.

Anton Lavrentiev
Contractor NIH/NLM/NCBI




- Raw text -


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