delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/28/09:55:24

Message-ID: <38179256.C48C17F0@primus.com.au>
From: leroy <leroy AT primus DOT com DOT au>
X-Mailer: Mozilla 4.6 [en]C-CCK-MCD snapN45b1 (Win98; I)
X-Accept-Language: en,ja
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Crashes on free()
References: <38183AB5 DOT BDE66A18 AT efd DOT lth DOT se>
Lines: 18
Date: Thu, 28 Oct 1999 10:01:27 +1000
NNTP-Posting-Host: 203.134.0.92
X-Complaints-To: abuse AT telstra DOT net
X-Trace: nsw.nnrp.telstra.net 941112374 203.134.0.92 (Thu, 28 Oct 1999 22:06:14 EST)
NNTP-Posting-Date: Thu, 28 Oct 1999 22:06:14 EST
Organization: Customer of Telstra Big Pond Direct
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I believe the problem is that you've corrupted some of mallocs internal
info, by using wild pointers.  Its a good idea to check all pointers.

Cheers,

leroy.

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). Sometimes
> it is a traceback from open() and sometimes play_fli() (in allegro). In
> play_fli() it can crash on open() but also on free(temp_bitmap). Is
> there a way to remove the free() commands in open()? My program is
> really large if that has anything to do with the crashes.
>
> /Peter

- Raw text -


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