This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Please try latest snapshot (was Re: 1.7.13/1.7.14: Issue with command prompt not returning when forking process)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]