delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/12/01/03:33:28

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-5.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_YG
X-Spam-Check-By: sourceware.org
Message-ID: <50B9C0A6.10503@gmail.com>
Date: Sat, 01 Dec 2012 09:32:38 +0100
From: marco atzeri <marco DOT atzeri AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin fork problem: abort: can't commit memory for stack
References: <1354292699 DOT 39783 DOT YahooMailNeo AT web171603 DOT mail DOT ir2 DOT yahoo DOT com>
In-Reply-To: <1354292699.39783.YahooMailNeo@web171603.mail.ir2.yahoo.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

On 11/30/2012 5:24 PM, Techie Help wrote:
> I have set up a new PC and installed cygwin on it.
> Its windows 7 pro.
>
> Whenever I try to build our application on it, I get the following error:
>
>   0 [main] sh 3472 child_info_fork::abort: can't commit memory for stack 0x28A000(90112), Win32 error 487
> /bin/sh: fork: retry: Resource temporarily unavailable
>        0 [main] sh 3220 child_info_fork::abort: can't commit memory for stack 0x28A000(90112), Win32 error 487
> /bin/sh: fork: retry: Resource temporarily unavailable
>        0 [main] sh 4896 child_info_fork::abort: can't commit memory for stack 0x28A000(90112), Win32 error 487
> /bin/sh: fork: retry: Resource temporarily unavailable
>        0 [main] sh 4884 child_info_fork::abort: can't commit memory for stack 0x28A000(90112), Win32 error 487
>
>    It prints this few times and then dies.


ERROR_INVALID_ADDRESS       487 (0x1E7)

Which application / tools are you using for the build ?
During the build are you running the application itself ?

on my system looking with "less /proc/self/maps"

0008C000-00090000 rw-p 0003C000 0000:0000 0
00090000-00279000 ===p 00000000 0000:0000 0     [stack (tid 2468)]
00279000-0027A000 rw-g 001E9000 0000:0000 0     [stack (tid 2468)]
0027A000-00290000 rw-p 001EA000 0000:0000 0     [stack (tid 2468)]
00290000-00294000 r--s 00000000 0000:0000 0
002A0000-002A1000 rw-p 00000000 0000:0000 0
002B0000-002E9000 ===p 00000000 0000:0000 0
002E9000-002EC000 rw-g 00039000 0000:0000 0
002EC000-002F0000 rw-p 0003C000 0000:0000 0
00310000-00384000 rw-p 00000000 0000:0000 0
00384000-00390000 ===p 00074000 0000:0000 0
00390000-003F7000 r--s 00000000 4038:403E 281474976758678 
/cygdrive/c/Windows/System32/locale.nls

the stack is in the same area and the size limiting factor
is the presence of a system dll

> I have already done a lot of research on this problem.
> I have already uninstalled and installed cygwin  more than 5 times.
> Done rebaseall everytime I installed it.
> Checked for possible BLODA, I had notron antivirus, which I have removed.
>
> I am attaching the output of cygcheck and 'rebase -is'.
> I have modified the cygcheck.out to remove login info and project specific paths

nothing strange.
your rebase output is extremely clean and collision is unlikely.

My system is basically the same but with much more dlls and collisions.


>
> I really am not sure whats going on and it has become a blocking problem for me.
> Please if anyone can help me, I would be grateful.

just as trial, have you tried to simplify the PATH to a bare minimum ?
Only :
         C:\cygwin\usr\local\bin
         C:\cygwin\bin


>
> Thanks,
> techie

Regards
Marco


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

- Raw text -


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