This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

"Couldn't allocate heap" - tried rebasing


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.

I've attached a cygcheck report.

I know this issue has been discussed before, but emailing the list is my last resort before giving up and going back to Cygwin 1.5.

Thanks for reading!

Attachment: cygcheck.out
Description: Text document

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]