From mint-bounce@lists.fishpool.fi  Wed Mar 11 17:53:18 2009
X-Virus-Scanned: amavisd-new at demon.co.uk
Subject: Re: [MiNT] malloc bug
From: Alan Hourihane <alanh@fairlite.co.uk>
To: Mark Duckworth <mduckworth@atari-source.org>
Cc: mint <mint@fishpool.com>
In-Reply-To: <499C9349.8000705@atari-source.org>
References: <499C9349.8000705@atari-source.org>
Content-Type: text/plain
Date: Wed, 11 Mar 2009 21:47:58 +0000
Message-Id: <1236808078.16526.44.camel@jetpack.demon.co.uk>
Mime-Version: 1.0
X-Mailer: Evolution 2.22.3.1 
Content-Transfer-Encoding: 7bit
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-to: mint-bounce@lists.fishpool.fi
X-original-sender: alanh@fairlite.co.uk
Precedence: bulk
List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
List-Id: <mint.lists.fishpool.fi>
X-List-ID: <mint.lists.fishpool.fi>
List-subscribe: <mailto:mint-request@lists.fishpool.fi?Subject=subscribe>
List-owner: <mailto:tjhukkan@fishpool.fi>
List-post: <mailto:mint@lists.fishpool.fi>

On Wed, 2009-02-18 at 18:01 -0500, Mark Duckworth wrote:
> Hey guys,
> 
> /bin/sh ../../libtool --mode=link gcc  -O2 -fomit-frame-pointer 
> -m68000   -o dive  dive.o ../../tests/libtests.la ../../libgmp.la
> gcc -O2 -fomit-frame-pointer -m68000 -o dive dive.o  
> ../../tests/.libs/libtests.a 
> /usr/src/redhat/BUILD/gmp-4.2.4/.libs/libgmp.a ../../.libs/libgmp.a 
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../tests    -O2 
> -fomit-frame-pointer -m68000 -c dive_ui.c
> make: ../mintlib/malloc.c:187: __free: Assertion `s == r' failed.
> 

I just had something similar happen to me on aranym....

sed: ../mintlib/malloc.c:212: __free: Assertion `s == (struct mem_chunk *) _heap_base' failed.

Funny thing is, this has never happened to me on my Falcon.

Alan.


