delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/03/18/04:59:15

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 18 Mar 2008 10:58:19 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Strange pthread_atfork() behavior
Message-ID: <20080318095819.GU19345@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <200803172248 DOT 47653 DOT alon DOT barlev AT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <200803172248.47653.alon.barlev@gmail.com>
User-Agent: Mutt/1.5.16 (2007-06-09)
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 Mar 17 22:48, Alon Bar-Lev wrote:
> When running under cygwin the exec program runs after about 60 seconds.
> The following is the output:
> 
> __atfork_prepare
> __atfork_parent
> before sleep
> __atfork_child
> after sleep
> <parent is not running anymore>
> <wait about 60 seconds>
>       56 [main] a 2952 sig_send: wait for sig_complete event failed, signal -34, rc 258, Win32 error 0 at child
> <child output>
> 
> Any clue?

Looks like a bug in Cygwin.  I ran your testcase and I can reproduce the
behaviour on 1.5.25-11.  The problem does not occur in current CVS,
though, so it seems it has been fixed in CVS at one point.


Corinna

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

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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