This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: current dll problem on 95 - developers only issue?
On Sun, Sep 09, 2001 at 03:14:56PM -0400, Christopher Faylor wrote:
> On Sun, Sep 09, 2001 at 07:06:50PM +1000, Robert Collins wrote:
> >On Sun, 2001-09-09 at 16:44, Robert Collins wrote:
> >> Chris, if you've got a better place for me to send this - say so :]
> >>
> >> $ vim
> >> C:\CYGWIN\BIN\VIM.EXE: *** 1. unable to allocate heap 0x45E0000,
> >> heap_chunk_size 268435456, pid 79449, Win32 error 8.
> >>
> >> The heap chunk size is exactly 0x10000000 which is strange. I've never
> >> done the registry fiddles to set the heap size.
> >>
> >> Anyway I'm off to dig up that registry entry and see if this is that
> >> same issue.. Oh, I'm in win95 if that could be related to the the recent
> >> heap work?
> >
> >Well its definately not my machine ... it doesn't affect 1.3.2. I'm
> >starting a binary search on this now...
>
> This was the result of my storing some of the heap values in the cygheap.
>
> I'd tested my changes on Windows 95, but not with vim, unfortunately.
>
> The problem was that my recent changes caused exec'ed processes to try
> to allocate heap memory in exactly the same spot as their parent. This
> seemed to work just peachy on Windows NT, of course. And, it worked for
> several non-vim programs on Windows 95.
>
> However, a newly execed program should obviously be able to allocate the
> heap whereever it wants. I've made a few changes to allow that.
Unfortunately I can't build cygwin anymore:
cygheap.cc: In function `void * crealloc(void *, long unsigned int)':
cygheap.cc:295: `brk' undeclared (first use this function)
cygheap.cc:295: (Each undeclared identifier is reported only once
cygheap.cc:295: for each function it appears in.)
cygheap.cc:295: `brkbase' undeclared (first use this function)
cygheap.cc:295: `brktop' undeclared (first use this function)
Where are all these symbols used in that `inheap()' macro?
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.