www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/09/06/11:54:18

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: Thu, 6 Sep 2001 17:54:08 +0200
From: Corinna Vinschen <vinschen AT redhat DOT com>
To: cygwin-developers AT cygwin DOT com
Subject: Re: I know CVS is hosed
Message-ID: <20010906175408.L537@cygbert.vinschen.de>
Reply-To: cygdev <cygwin-developers AT cygwin DOT com>
Mail-Followup-To: cygwin-developers AT cygwin DOT com
References: <20010906113843 DOT A30174 AT redhat DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <20010906113843.A30174@redhat.com>; from cgf@redhat.com on Thu, Sep 06, 2001 at 11:38:43AM -0400

On Thu, Sep 06, 2001 at 11:38:43AM -0400, Christopher Faylor wrote:
> While attempting to cut down on the size of the 1.3.3 DLL, I uncovered a few
> problems with cygheap.  I couldn't track them down before I went to bed.
> 
> The symptom is that applications die in cfree.  The problem manifests quickly
> in a process which execs a process which execs a process.
> 
> I haven't seen the problem that Egor reported with free but it probably is not
> related to the cygheap problem.  It probably is somehow related to the new
> code in sigproc which allocates the zombie array dynamically.

No, as far as I could track that down so far it's actually related
to moving buckets from being a static global array to being a member
of struct init_cygheap.

I checked everything else.  These sort of crashes which not only 
occur in free() but also sometimes in other functions can exactly
switched on or off by putting buckets into cygheap or back to be
a static global array.

There's one problem left:  I don't understand _why_ that happens.

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