delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/28/14:04:41

Date: Thu, 28 Oct 1999 19:35:06 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Peter Danielsson <e96pd AT efd DOT lth DOT se>
cc: djgpp AT Delorie DOT com
Subject: Re: Crashes on free()
In-Reply-To: <38183A9B.31232341@efd.lth.se>
Message-ID: <Pine.SUN.3.91.991028193332.9453Q-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Thu, 28 Oct 1999, Peter Danielsson wrote:

> Why in h-ll does my program crash? It crashes on free() and it is not
> even in my functions (I just malloc and does not free at all).

One of the library functions can call free, even if your code doesn't, 
and then it will crash if your code overwrites some buffers allocated by 
malloc.  Post here the SYMIFYed crash traceback, and we will be able to 
give you more efficient help.

- Raw text -


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