delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/05/08/11:11:36

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
X-Mail-Handler: MailHop Outbound by DynDNS
X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX1+8osL8uDUfqi1N7npzUni/
Date: Tue, 8 May 2012 11:11:09 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Please try latest snapshot (was Re: 1.7.13/1.7.14: Issue with command prompt not returning when forking process)
Message-ID: <20120508151109.GA11552@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20120507152517 DOT GA6779 AT ednor DOT casa DOT cgf DOT cx> <A1960FFE0F9B444B8512E826965B70763A930F99A7 AT ESESSCMS0362 DOT eemea DOT ericsson DOT se> <A1960FFE0F9B444B8512E826965B70763A9358316F AT ESESSCMS0362 DOT eemea DOT ericsson DOT se>
MIME-Version: 1.0
In-Reply-To: <A1960FFE0F9B444B8512E826965B70763A9358316F@ESESSCMS0362.eemea.ericsson.se>
User-Agent: Mutt/1.5.20 (2009-06-14)
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 Tue, May 08, 2012 at 01:50:21PM +0200, Rob Burgers wrote:
>Hi Christopher,
>
>I managed to create a simple replicator for the latest issue with the 2012-05-07 snapshot.
>
>The script below crashes within seconds with the 'Resource temporarily unavailable' message.
>
>====================
>f.sh:
>--------------------
>#!/bin/bash
>
>cmd /C start notepad
>
>while ( true ); do
>  X=hello
>done
>====================
>$ ./f.sh
>      7 [main] bash 4288 fork: child -1 - forked process died unexpectedly, retry 0, exit code -1073741819, errno 11
>./f.sh: fork: retry: Resource temporarily unavailable
>./f.sh: fork: Resource temporarily unavailable
>--------------------

Thanks for the test case.  This was due to Cygwin's not dealing well with
Windows reuse of pids.

It should be fixed in today's snapshot when it shows up at:

http://cygwin.com/snapshots/

cgf

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