delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/18/01:42:32

Date: Fri, 18 Aug 2000 08:41:32 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: djgpp AT delorie DOT com
Subject: Re: DLX+Allegro+PDMLWP = "dangerous" mixture???
In-Reply-To: <06889872.53b4ce9e@usw-ex0109-068.remarq.com>
Message-ID: <Pine.SUN.3.91.1000818084010.29393I-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Thu, 17 Aug 2000, Bernhard Stiftner wrote:

> The interesting thing is that "free" does not necessarily
> crash - I can call it hundreds of times in a test loop
> without having problems, but some functions which
> call "free" fail SOMETIMES (like LIBINI's "ini_free") and
> some even ALWAYS (like Allegro's "draw_trans_sprite").

This is usually a sign of memory corruption by overrunning the end of 
malloc'ed buffers.  See section 9.2 of the FAQ for more details.

- Raw text -


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