delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/05/16/10:09:28

X-Spam-Check-By: sourceware.org
Message-Id: <200605161408.k4GE8TVs013464@tigris.pounder.sol.net>
To: cygwin AT cygwin DOT com
From: cygzz AT trodman DOT com (Tom Rodman)
Reply-to: cygwin AT cygwin DOT com
Subject: simple test triggers fork errs for me in 4/27 snapshot
Date: Tue, 16 May 2006 09:08:28 -0500
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019