Mail Archives: cygwin/2006/05/16/10:09:28
Below is a nonsense set of commands derived from a useful script
that was getting fork errors w/the 4/27 snapshot:
~ $ date;uname -a
Tue May 16 07:58:20 CDT 2006
CYGWIN_NT-5.0 OurServer108 1.5.20s(0.155/4/2) 20060427 13:16:59 i686 Cygwin
~ $ cd /tmp;echo -ne '#!/bin/bash -u\nfoo "$@"\n' >bar;chmod +x bar
/tmp $ foo() { for f ;do bash -c true ;done ; } ; export -f foo
/tmp $ find /usr -print0|xargs -0 ./bar
43 [main] bash 3984 c:\aut\cyg\bin\bash.exe: *** fatal error - c:\aut\cyg\bin\bash.exe: *** fork: can't reserve memory for stack 0x23E660 - 0x240000, Win32 error 487
--snip
If I revert to the April 3 snapshot it works fine. For the 4/27
snapshot, it's repeatable, the commands above resulted in fork errors
when I tried it just after after a reboot today, and again after all
cygwin processes had been killed.
--
thanks,
Tom
same test w/more of error output:
--v-v------------------C-U-T---H-E-R-E-------------------------v-v--
~ $ date;uname -a
Tue May 16 07:58:20 CDT 2006
CYGWIN_NT-5.0 OurServer108 1.5.20s(0.155/4/2) 20060427 13:16:59 i686 Cygwin
~ $ cd /tmp;echo -ne '#!/bin/bash -u\nfoo "$@"\n' >bar;chmod +x bar
/tmp $ foo() { for f ;do bash -c true ;done ; } ; export -f foo
/tmp $ find /usr -print0|xargs -0 ./bar
43 [main] bash 3984 c:\aut\cyg\bin\bash.exe: *** fatal error - c:\aut\cyg\bin\bash.exe: *** fork: can't reserve memory for stack 0x23E660 - 0x240000, Win32 error 487
43 [main] bash 3984 c:\aut\cyg\bin\bash.exe: *** fatal error - c:\aut\cyg\bin\bash.exe: *** fork: can't reserve memory for stack 0x23E660 - 0x240000, Win32 error 487
9 [main] bash 4008 c:\aut\cyg\bin\bash.exe: *** fatal error - c:\aut\cyg\bin\bash.exe: *** fork: can't reserve memory for stack 0x23E660 - 0x240000, Win32 error 487
9 [main] bash 4008 c:\aut\cyg\bin\bash.exe: *** fatal error - c:\aut\cyg\bin\bash.exe: *** fork: can't reserve memory for stack 0x23E660 - 0x240000, Win32 error 487
10 [main] bash 964 c:\aut\cyg\bin\bash.exe: *** fatal error - c:\aut\cyg\bin\bash.exe: *** fork: can't reserve memory for stack 0x23E660 - 0x240000, Win32 error 487
10 [main] bash 964 c:\aut\cyg\bin\bash.exe: *** fatal error - c:\aut\cyg\bin\bash.exe: *** fork: can't reserve memory for stack 0x23E660 - 0x240000, Win32 error 487
10 [main] bash 4008 c:\aut\cyg\bin\bash.exe: *** fatal error - c:\aut\cyg\bin\bash.exe: *** fork: can't reserve memory for stack 0x23E660 - 0x240000, Win32 error 487
10 [main] bash 4008 c:\aut\cyg\bin\bash.exe: *** fatal error - c:\aut\cyg\bin\bash.exe: *** fork: can't reserve memory for stack 0x23E660 - 0x240000, Win32 error 487
10 [main] bash 964 c:\aut\cyg\bin\bash.exe: *** fatal error - c:\aut\cyg\bin\bash.exe: *** fork: can't reserve memory for stack 0x23E660 - 0x240000, Win32 error 487
10 [main] bash 964 c:\aut\cyg\bin\bash.exe: *** fatal error - c:\aut\cyg\bin\bash.exe: *** fork: can't reserve memory for stack 0x23E660 - 0x240000, Win32 error 487
10 [main] bash 5464 c:\aut\cyg\bin\bash.exe: *** fatal error - c:\aut\cyg\bin\bash.exe: *** fork: can't reserve memory for stack 0x23E660 - 0x240000, Win32 error 487
115 [main] bash 2616 fork: child -1 - died waiting for longjmp before initialization, retry 0, exit code 0x100, errno 11
--snip
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -