delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=1.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,TW_YG |
X-Spam-Check-By: | sourceware.org |
X-Rocket-MIMEInfo: | 001.001,SGksCgpBcyBzdWdnZXN0ZWQgYnkgTWFyY28sIEkgc3RyaXBwZWQgdGhlIFBBVEggdG_CoGJhcmXCoG1pbmltdW0gYW5kIHRoZW4gaXQgc3RhcnRlZCBidWlsZGluZy4KQnV0IHNsb3dseSDCoHNsb3dseSwgb25lIGF0IGEgdGltZSwgSSBzdGFydGVkIGFkZGluZyBtb3JlIHBhdGhzIHRvIHBhdGggdmFyaWFibGUgYW5kIGZpbmFsbHkgSSBoYXZlIHJlc3RvcmVkIGl0wqBiYWNrwqB0byBvbGQgb25lIGJ1dCBpdHMgbm93IGJ1aWxkaW5nIHdpdGhvdXQgYW55IHByb2JsZW0uClNvLCBJIGFtIG5vdCBzdXJlIHdoYXQBMAEBAQE- |
References: | <1354292699 DOT 39783 DOT YahooMailNeo AT web171603 DOT mail DOT ir2 DOT yahoo DOT com> <CAG0O4LtRzjTrXQdTZGBCps_gFk9UAxHno8JUTNYC=XdPyc+oCA AT mail DOT gmail DOT com> |
Message-ID: | <1354530233.8053.YahooMailNeo@web171605.mail.ir2.yahoo.com> |
Date: | Mon, 3 Dec 2012 10:23:53 +0000 (GMT) |
From: | Techie Help <techieinfo AT yahoo DOT co DOT uk> |
Reply-To: | Techie Help <techieinfo AT yahoo DOT co DOT uk> |
Subject: | Re: Cygwin fork problem: abort: can't commit memory for stack |
To: | "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com> |
In-Reply-To: | <CAG0O4LtRzjTrXQdTZGBCps_gFk9UAxHno8JUTNYC=XdPyc+oCA@mail.gmail.com> |
MIME-Version: | 1.0 |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id qB3AOBiO028048 |
Hi, As suggested by Marco, I stripped the PATH to bare minimum and then it started building. But slowly slowly, one at a time, I started adding more paths to path variable and finally I have restored it back to old one but its now building without any problem. So, I am not sure what happened. Also, can you please explain to me, why stripping path to bare minimum helped? How was PATH interfering with fork process? Thanks alot, techie ________________________________ 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> Documentation: http://cygwin.com/docs.html > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |