delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/07/23/09:04:37

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=ixQW0Qd6rfXtmrnIrEXgvED2HQMhVLZ4eWSKM31yVTY
IfwF2Jm5vhMBsRJzKguvfPwLRTcl0XFKReQdfB9ZEKS5K/4pyuGGFvmkndar6nf4
Orwa4KfxhkDEj5xyk/uINPV3qN2we29BTBqod6MRnytsgH4h6oWdJXQbT+HnqVEo
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=/m41W2X0f8wNLWsYIoCv0UlbEN4=; b=ChFlWrPd/x2ctJr2Q
jTS/Mt24BDfpcErHamgclwVkZ14OrW2+R/XOtQ5RO8paJrK1g4CSIXAQwC0I21jz
jp1BFsUKH7VM4CU+NzZFalk41IFKjNEASKryOZCjPFQZM24Vox5oseraBoQsF8Ng
FDkWc8dSwRjdnNThYAfwXu2Jz4=
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-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_HOSTKARMA_NO,RDNS_NONE,SPF_PASS autolearn=no version=3.3.1
X-CornellRouted: This message has been Routed already.
Message-ID: <51EE7F43.30503@cornell.edu>
Date: Tue, 23 Jul 2013 09:04:03 -0400
From: Ken Brown <kbrown AT cornell DOT edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Win32 error in C program using openmp and fork()
References: <57302C57257EF2428CCAAF9BA83EC0448222C0EA AT mbx08 DOT adf DOT bham DOT ac DOT uk> <20130722080657 DOT GD2661 AT calimero DOT vinschen DOT de> <51EE7700 DOT 50803 AT star DOT sr DOT bham DOT ac DOT uk>
In-Reply-To: <51EE7700.50803@star.sr.bham.ac.uk>

On 7/23/2013 8:28 AM, Daniel Brown wrote:
> I've wiped my old version of Cygwin and installed it fresh on my computer
> and 1.7.21 doesn't work for me, either 32 or 64 bit. I have tried a Win
> 7 x86
> virtual machine and it worked, on a Win 8 x86 virtual machine though I see
> the same error. Therefore I guess it is a Windows 8 issue

No, I can reproduce it consistently on my Windows 7 system, running 
1.7.22, on both 32-bit and 64-bit.  It also just happened to me while 
running emacs.  This is not reproducible, but it was previously reported 
by another user:

   http://cygwin.com/ml/cygwin/2013-07/msg00198.html

On 64-bit, the output is

$ ./openmp-test.exe
I'm an openmp thread...
I'm an openmp thread...
I'm an openmp thread...
I'm an openmp thread...
Parent fork
       0 [main] openmp-test 6640 
C:\cygwin64\home\kbrown\openmp-test.exe: *** fatal error in forked 
process - failed to create new win32 semaphore, currentvalue 4294967294, 
Win32 error 87

Ken

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