X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.9 required=5.0 tests=BAYES_20,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SARE_MSGID_LONG45,TW_GJ,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Date: Fri, 9 Apr 2010 10:47:51 -0500 Message-ID: Subject: sh.exe: *** fatal error - couldn't allocate heap, Win32 error 487 From: Ricardo Urbina To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi. Last tuesday I updated my Cygwin installation from 1.7.1 to 1.7.4. And then I started getting these errors when running a perl script: % perlscript 3 [main] sh 11716 C:\cygwin\bin\sh.exe: *** fatal error - couldn't allocate heap, Win32 error 487, base 0x850000, top 0x890000, reserve_size 258048, allocsize 262144, page_const 4096 2 [main] sh 10172 fork: child -1 - died waiting for longjmp before initialization, retry 0, exit code 0x100, errno 11 3 [main] sh 10996 C:\cygwin\bin\sh.exe: *** fatal error - couldn't allocate heap, Win32 error 487, base 0x850000, top 0x890000, reserve_size 258048, allocsize 262144, page_const 4096 4773696 [main] sh 10172 fork: child -1 - died waiting for longjmp before initialization, retry 0, exit code 0x100, errno 11 3 [main] sh 11444 C:\cygwin\bin\sh.exe: *** fatal error - couldn't allocate heap, Win32 error 487, base 0x850000, top 0x890000, reserve_size 258048, allocsize 262144, page_const 4096 10532501 [main] sh 10172 fork: child -1 - died waiting for longjmp before initialization, retry 0, exit code 0x100, errno 11 3 [main] sh 8728 C:\cygwin\bin\sh.exe: *** fatal error - couldn't allocate heap, Win32 error 487, base 0x850000, top 0x890000, reserve_size 258048, allocsize 262144, page_const 4096 18305408 [main] sh 10172 fork: child -1 - died waiting for longjmp before initialization, retry 0, exit code 0x100, errno 11 3 [main] sh 9872 C:\cygwin\bin\sh.exe: *** fatal error - couldn't allocate heap, Win32 error 487, base 0x850000, top 0x890000, reserve_size 258048, allocsize 262144, page_const 4096 30064112 [main] sh 10172 fork: child -1 - died waiting for longjmp before initialization, retry 0, exit code 0x100, errno 11 sh: fork: Resource temporarily unavailable % perlscript just spawns shells using backticks to run some curl commands. There are a lot of posts from different times with similar problems. I already tried rebaseall (and peflagsall). Also, I fiddled with theheap_chunk_in_mb registry entry. No success so far. I reinstalled cygwin from scratch -- same problem. The error comes from perl and make scripts, mostly. Any ideas? -- 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