delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/13/21:44:51

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Sat, 13 Mar 2004 21:44:37 -0500
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Problems running Jabberd v1.4.3 under cygwin v1.5.7 (or latest snapshot), and heap allocation error caused by fork()
Message-ID: <20040314024437.GA3396@redhat.com>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <c2quo3$qsq$1 AT sea DOT gmane DOT org> <6 DOT 0 DOT 1 DOT 1 DOT 0 DOT 20040311192701 DOT 03a45640 AT 127 DOT 0 DOT 0 DOT 1> <c2rl9l$336$1 AT sea DOT gmane DOT org> <20040312142116 DOT GB17661 AT redhat DOT com> <c301r9$3ah$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0
In-Reply-To: <c301r9$3ah$1@sea.gmane.org>
User-Agent: Mutt/1.4.1i
Reply-To: cygwin AT cygwin DOT com

On Sat, Mar 13, 2004 at 05:26:40PM -0500, Frank Seesink wrote:
>I see your name on the list quite a bit, and you seem to be one of the 
>key guys "in the know."  Can you possibly explain to me what the error 
>usually indicates?  I mean, beyond the rebaseall, what exactly are we 
>talking about?  A forked process trying to get loaded into an 
>overlapping spot in memory, something like that?  I'm really trying to 
>_understand_ this, as I'd like to get to the bottom of it.

Cygwin is trying to allocate an internal heap, separate from the heap
used by a program's malloc, and is unable to do so, probably because
there is already memory being used where it wants to expand.  The heap
has to exist in the same place in parent and child so that data
structures can be shared so if it can't allocate the heap then the
program has to fail.

I don't know what is causing your problem.  I've previously asked that
someone step forward to help with debugging this problem when someone
else reported it with emacs but no one ever did.  Unfortunately, I don't
have the inclination to spend a lot of time debugging (or instructing
about debugging) this myself since I have other fires to fight and
paintings to paint.

The heap manipulation routines are in the file cygheap.cc.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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