public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Possible race in SYSV IPC (semaphores)
Date: Tue, 27 Nov 2012 07:13:00 -0000	[thread overview]
Message-ID: <20121127071302.GA13311@calimero.vinschen.de> (raw)
In-Reply-To: <5F8AAC04F9616747BC4CC0E803D5907D016FEA@MLBXv04.nih.gov>

On Nov 26 18:09, Lavrentiev, Anton (NIH/NLM/NCBI) [C] wrote:
> > I just checked in the change.
> 
> Thank you.  I will test it as soon as it's available in a snapshot.
> 
> > ...especially since I can't reproduce this.  I tried with cygserver
> > before and after my patch and in both cases your semaphore testcase
> > worked as expected with -d -l 7.
> 
> I see.  Maybe this will help.  My sequence of actions:
> 
> In an elevated cmd.exe, from Cygwin's /bin:
> 
> cygrunsrv.exe -I cygserver -x /usr/sbin/cygserver.exe -a "-d -l 7"
> cygrunsrv.exe -S cygserver
> 
> In a regular cmd.exe:
> 
> a.exe
> 
> (this is my testcase that locks/unlocks the semaphores).
> It never gets past iteration 1000.

Nope, no luck.  WJFFM.

You don't have space (or quota) issues on your hard disk by any chance?
The stderr output will go to /var/log/cygserver.log.  The file has a
size of about 60 Megs after 20K iterations and every run of the cygserver
service will append to the file.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

  parent reply	other threads:[~2012-11-27  7:13 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-19 21:06 Lavrentiev, Anton (NIH/NLM/NCBI) [C]
2012-11-23 11:37 ` Corinna Vinschen
2012-11-23 13:11   ` Corinna Vinschen
2012-11-23 13:34     ` Corinna Vinschen
2012-11-23 16:44       ` Corinna Vinschen
2012-11-23 17:16         ` Lavrentiev, Anton (NIH/NLM/NCBI) [C]
2012-11-23 17:29           ` Corinna Vinschen
2012-11-23 17:47             ` Lavrentiev, Anton (NIH/NLM/NCBI) [C]
2012-11-23 17:59               ` Corinna Vinschen
2012-11-26 12:54                 ` Corinna Vinschen
2012-11-26 18:09                   ` Lavrentiev, Anton (NIH/NLM/NCBI) [C]
2012-11-26 18:14                     ` Lavrentiev, Anton (NIH/NLM/NCBI) [C]
2012-11-27  7:13                     ` Corinna Vinschen [this message]
2012-11-27 14:37                       ` Lavrentiev, Anton (NIH/NLM/NCBI) [C]
2012-11-28 21:20                       ` Lavrentiev, Anton (NIH/NLM/NCBI) [C]
  -- strict thread matches above, loose matches on Subject: below --
2012-11-19 16:23 Lavrentiev, Anton (NIH/NLM/NCBI) [C]
2012-10-26 18:37 Lavrentiev, Anton (NIH/NLM/NCBI) [C]
2012-10-27 10:24 ` Corinna Vinschen

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=20121127071302.GA13311@calimero.vinschen.de \
    --to=corinna-cygwin@cygwin.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).