delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/09/09/15:54:01

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
Date: Sun, 9 Sep 2001 21:53:52 +0200
From: Corinna Vinschen <vinschen AT redhat DOT com>
To: cygwin-developers AT cygwin DOT com
Subject: Re: current dll problem on 95 - developers only issue?
Message-ID: <20010909215352.J937@cygbert.vinschen.de>
Reply-To: cygdev <cygwin-developers AT cygwin DOT com>
Mail-Followup-To: cygwin-developers AT cygwin DOT com
References: <1000017853 DOT 2429 DOT 11 DOT camel AT lifelesswks> <1000026411 DOT 3978 DOT 14 DOT camel AT lifelesswks> <20010909151456 DOT A10464 AT redhat DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <20010909151456.A10464@redhat.com>; from cgf@redhat.com on Sun, Sep 09, 2001 at 03:14:56PM -0400

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 AT cygwin DOT com
Red Hat, Inc.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019