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]

simple test triggers fork errs for me in 4/27 snapshot


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/


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