fork: Resource temporarily unavailable errors after upgrading cygwin packages

Ken Brown kbrown@cornell.edu
Wed Feb 5 22:07:00 GMT 2020


On 2/5/2020 4:45 PM, Peter Dons Tychsen wrote:
> Hi David & Co,
> 
>> I have started down the road of building cygwin, but did run into a
>> few issues so don't have a debuggable version yet. If you beat me to
>> it,  please let me know. Thanks!
> 
> Any findings?
> 
> I have found something interesting:
> 
> 1) If i run the terminal without mintty, the problem goes away. I can
> run my makefiles with "make -j20" without any issues if i start with
> "bash --login" instead of the mintty shortcut, where it just uses the
> normal windows terminal.
> 
> 2) As soon as i run via mintty, even "make -j2" quickly goes south,
> causes various fork() issues as we have seen. I will see if i can
> create a small makefile that shows this.
> 
> So either the change we are looking for affects mintty, or the actual
> bug we are looking for is in mintty and not the DLL (or both).
> 
> Can anyone shed light on this? Another problem is that if i rewind the
> DLL (building previous commits) too much then mintty stops working...

That last issue is probably due to changes in /usr/bin/cygwin-console-helper.exe 
related to the new PTY code.  So in addition to rewinding the DLL, you have to 
rewind cygwin-console-helper.

Ken

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



More information about the Cygwin mailing list