This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
bash: forkee heap_init errors
- To: gnu-win32 at cygnus dot com
- Subject: bash: forkee heap_init errors
- From: Jeff Oh <jeffoh at zadall dot com>
- Date: Tue, 22 Apr 1997 16:21:06 -0700 (PDT)
Hi folks!
I've just started playing with the bash shell, but can't seem to get
beyond first base. As I couldn't see a description of this problem
in the mailing list archives or faq, I'm stumped.
I'm running NT 4.0 service pack 2 and my bash shells are randomly
core dumping every 5-100 commands or so. When I try to configure
bash so I could run it through the debugger, I get the following
output (repeated twice) :
-----
c:\cygnus\H-i386-cygwin32\bin\sh.exe 1022) forkee heap_init: unable to allocate
heap, win32 error 487
cygwin: terminating
fork_helper: child died before initialization with win32 error 1
-----
When I look in my trusty win32 documents, error 487 is returned when
an invalid handle is passed to the WNetGetLastError() function! Error
1 is ERROR_INCORRECT_FUNCTION.
There *is* plenty of free memory in the system. I've read warnings
about malloc() in the faq, but since I can't compile the version
of bash that's dying, it can't be my malloc() function that's the
problem. Both sh.exe and bash.exe are in my path, and that path
has been mounted with mount.
Any information that you can provide would be greatly appreciated.
I will summarize, if necessary.
Thanks,
Jeff 8-)
--
Jeff Oh, Zadall Systems Group. jeffoh@zadall.com 8-)
"Programming today is a race between software engineers striving to build
bigger and better idiot-proof programs, and the Universe trying to produce
bigger and better idiots. So far, the Universe is winning." -- Rich Cook
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".