X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-5.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Message-ID: <4FA91C91.4040601@gmail.com> Date: Tue, 08 May 2012 15:16:01 +0200 From: marco atzeri User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 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) References: <20120507152517 DOT GA6779 AT ednor DOT casa DOT cgf DOT cx> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 5/8/2012 1:50 PM, 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 > -------------------- > > Best regards, > Rob > it is not related to "cmd /C start notepad" $ cat f2.sh #!/bin/bash a=0 while ( true ); do X=hello a=$(($a+1)) echo $a done $ ./f2.sh [cut] 132 133 0 [main] bash 5836 fork: child -1 - forked process died unexpectedly, retry 0, exit code -1073741819, errno 11 ./f2.sh: fork: retry: Resource temporarily unavailable ./f2.sh: fork: Resource temporarily unavailable on my system stop random between 63 and 463 -- 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