public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Ken Brown <kbrown@cornell.edu>
To: cygwin@cygwin.com
Subject: Re: "Couldn't allocate heap" - tried rebasing
Date: Fri, 11 Nov 2011 18:29:00 -0000	[thread overview]
Message-ID: <4EBD696F.5030708@cornell.edu> (raw)
In-Reply-To: <4EBD461E.6080408@arlut.utexas.edu>

On 11/11/2011 10:58 AM, Jesse Ziser wrote:
> Hello,
>
> Since attempting to upgrade from Cygwin 1.5 to 1.7, I'm having the
> problem that attempting to run various programs results in a slew of
> errors like the following:
>
> 1 [main] bash 4276 c:\cygwin\bin\bash.EXE: *** fatal error - couldn't allo
> cate heap, Win32 error 487, base 0x740000, top 0x970000, reserve_size
> 2289664, a
> llocsize 2293760, page_const 4096
> Stack trace:
> Frame Function Args
> 0028E4EC 6102796B (0028E4EC, 00000000, 00000000, 0028E53C)
> 0028E7DC 6102796B (6117EC60, 00008000, 00000000, 61180977)
> 0028F80C 61004F1B (611B66CC, 00740000, 00970000, 0022F000)
> 0028F83C 6106E8C3 (7FFEFFFF, 000000FF, 00000008, 7713FE92)
> 0028F92C 610C133B (00000050, 02000000, 6116A724, 6116A720)
> 0028F95C 610064C0 (00000000, 00000002, 00000000, 753D3480)
> 0028FA1C 6106FC15 (61000000, 00000001, 0028FD24, 00000001)
> 0028FA3C 77159930 (6106F960, 61000000, 00000001, 0028FD24)
> 0028FB30 7715D8A9 (0028FD24, 7EFDD000, 7EFDE000, 7722206C)
> 0028FCB0 77172120 (0028FD24, 77120000, 70B9B815, 00000000)
> 0028FD00 77170BDA (0028FD24, 77120000, 00000000, 00000000)
> 0028FD10 77159E59 (0028FD24, 77120000, 00000000, 0001002F)
> End of stack trace
> 0 [main] bash 4768 fork: child -1 - died waiting for longjmp before initia
> lization, retry 0, exit code 0x100, errno 11
> bash: fork: retry: Resource temporarily unavailable
>
> I've tried all the standard solutions I could find suggested on the net,
> including the following:
>
> rebaseall
> peflagsall
> rebaseall -b 0x77000000
> rebaseall -b 0x76000000
> rebaseall -b 0x78000000
> doing a reinstall all using setup.exe
> wiping my cygwin directory and reinstalling
> rebaseall -b 0x60000000
>
> The last one was based on a blog post that suggested running
> SysInternals' ListDLLs.exe to see what DLLs from the BLODA might be
> sticking themselves into Cygwin processes. I found Sophos antivirus in
> all my Cygwin processes at address 6FA00000, and that's why I chose
> address 60000000 in my last rebaseall attempt.

Your cygcheck output shows that you're not using the latest version of 
rebase.  I suggest you try it (after reading 
/usr/share/doc/rebase/README), without the -b option.  See also

   http://cygwin.com/ml/cygwin/2011-11/msg00215.html

for further advice about using rebase.  Two other suggestions: First, 
you could try a Cygwin snapshot (http://www.cygwin.com/snapshots/); 
there have been some improvements in Cygwin's ability to deal with fork 
failures.  Second, does uninstalling Sophos antivirus solve the problem?

Ken


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

  reply	other threads:[~2011-11-11 18:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-11 16:00 Jesse Ziser
2011-11-11 18:29 ` Ken Brown [this message]
2011-11-15 17:34   ` Jesse Ziser
2011-11-22 23:43     ` Jesse Ziser
2011-11-23  1:08       ` marco atzeri
2011-11-23  3:26       ` Jon Clugston
2011-11-23  5:10         ` Larry Hall (Cygwin)
2011-11-23 15:37           ` Jesse Ziser
2011-11-23  4:24       ` Mark Geisert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EBD696F.5030708@cornell.edu \
    --to=kbrown@cornell.edu \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).