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]

1.7.7-1: troubleshooting "couldn't allocate heap, Win32 error 487"


Hello,

I'm attempting to troubleshoot a problem that occurs when I boot
Windows 7 normally, but does not occur when I boot into Safe Mode.

The problem is this: when I run cygwin.bat, I receive the following
within the console (excerpted here, but full output is attached in
bash.out):

-----
      2 [main] bash 1264 C:\cygwin\bin\bash.exe: *** fatal error -
couldn't allocate heap, Win32 error 487, base 0xA40000, top 0xA90000,
reserve_size 323584, allocsize 327680, page_const 4096
Stack trace:
Frame     Function  Args
0028E4F0  6102749B  (0028E4F0, 00000000, 00000000, 0013FF73)
0028E7E0  6102749B  (61177B80, 00008000, 00000000, 61179977)
0028F810  61004AFB  (611AF64C, 00A40000, 00A90000, 0004F000)
0028F840  6106BEB3  (7FFEFFFF, 0000000F, 00000004, 77A3FE32)
0028F930  610BDF9B  (000000D8, 02000000, 61163664, 61163660)
0028F960  61006090  (00000000, 0028FD24, 7302A25C, 73010000)
0028FA20  6106D0E9  (61000000, 00000001, 0028FD24, 00000001)
0028FA40  77A597A0  (6106CE10, 61000000, 00000001, 0028FD24)
0028FB34  77A5D749  (0028FD24, 7EFDD000, 7EFDE000, 77B2206C)
0028FCB0  77A66A3E  (0028FD24, 77A20000, 779FBA93, 00000000)
0028FD00  77A65947  (0028FD24, 77A20000, 00000000, 00000000)
0028FD10  77A59CC9  (0028FD24, 77A20000, 00000000, 0001002F)
End of stack trace
      1 [main] bash 124 fork: child -1 - died waiting for longjmp
before initialization, retry 0, exit code 0x100, errno 11
      2 [main] bash 816 C:\cygwin\bin\bash.exe: *** fatal error -
couldn't allocate heap, Win32 error 487, base 0xA40000, top 0xA90000,
reserve_size 323584, allocsize 327680, page_const 4096
Stack trace:
...
<redacted>
...
0028FD10  77A59CC9  (0028FD24, 77A20000, 00000000, 0001002F)
End of stack trace
54158188 [main] bash 372 fork: child -1 - died waiting for longjmp
before initialization, retry 0, exit code 0x100, errno 11
bash: fork: Resource temporarily unavailable
bash-3.2$
-----

Running mintty.exe produces:

-----
Failed to fork child process: Resource temporarily unavailable.
DLL rebasing may be required. See 'rebaseall --help'.
-----

This same type of issue has been encountered before on the list, and
has been resolved by turning off services or killing processes that
are in the BLODA. I've killed off all the processes that I can, have
compared the list of services that are running in safe mode (with
Cygwin working) to the list of services outside of safe mode (without
Cygwin working) and have killed off the difference, but to no avail.

Rebaseall (no arguments, in Safe Mode) does nothing.

I've tried strace, but nothing in the output (attached as bash.strace)
seems to point to the culprit.

I've attached output from "cygcheck -r -s -v" as instructed on
http://www.cygwin.com/problems.html

Any advice on how to further diagnose/troubleshoot the issue would be
appreciated.

Casey

Attachment: cygcheck.out.bad
Description: Binary data

Attachment: bash.out
Description: Binary data

Attachment: bash.strace
Description: Binary data

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