pupa-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Out of range pointer error


From: Marco Gerards
Subject: Out of range pointer error
Date: Thu, 19 Feb 2004 00:06:05 +0100
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Hi,

There is possibly a bug in the mm.c code (I think...).  For the PPC
port I initialize one region (address: 0x300000, size: 0x100000).  I
get the `out of range pointer 0x300000' error after a while.

The problem is, AFAIK, caused by pupa_malloc, it allocated memory on
the location 0x300000, but the header is located on that place as
well ((*r)->addr in get_header_from_pointer is set to 0x300010).

So I think the header needs to be marked as allocated, right?  Anyway,
I will have a look at it, unless someone else can fix this in a few
minutes.

Thanks,
Marco





reply via email to

[Prev in Thread] Current Thread [Next in Thread]