X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Wed, 30 May 2012 16:38:45 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: 20120523: bug in fork/exec Message-ID: <20120530143845.GA9375@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> <20120529094050 DOT GC12040 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20120529094050.GC12040@calimero.vinschen.de> User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 29 11:40, Corinna Vinschen wrote: > 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. Never mind. I found the problem and just checked in a patch. I'll create a new snapshot shortly. Please test. Thanks, 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