delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/05/29/05:41:53

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 29 May 2012 11:40:50 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 20120523: bug in fork/exec
Message-ID: <20120529094050.GC12040@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4FBF4233 DOT 8040303 AT users DOT sourceforge DOT net> <20120525094033 DOT GD4225 AT calimero DOT vinschen DOT de> <4FBFE720 DOT 9050502 AT users DOT sourceforge DOT net>
MIME-Version: 1.0
In-Reply-To: <4FBFE720.9050502@users.sourceforge.net>
User-Agent: Mutt/1.5.21 (2010-09-15)
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 May 25 15:10, Yaakov (Cygwin/X) wrote:
> On 2012-05-25 04:40, Corinna Vinschen wrote:
> >On May 25 03:26, Yaakov (Cygwin/X) wrote:
> >>With the 20120523 snapshot, if a process attempts to fork/exec
> >
> >Which snapshot shows this effect first?
> 
> Ouch, it starts with 20120309.

Thanks.  That would mean a single change is the culprit, but I need
a way to reproduce the problem to be able to fix it (other than just
reverting the patch).

> FWIW, here is the fork() code I discovered this with:
> 
> http://git.gnome.org/browse/glib/tree/glib/gspawn.c?id=2.32.3

That's a bit heavy as far as testcases go.  Thing is, I can't reproduce
it.  If that's a generic problem, shouldn't this also occur when trying
to start a program from bash or tcsh?  I deliberately removed a DLL from
my system, but there is no hang at all when trying to start an affected
application.

Can you please provide a simple testcase?  If you can reproduce it with
given binaries from the distro, I don't need source code, just the steps
and the names of the binaries to reproduce.


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

- Raw text -


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