RTEMS4.10 _Heap_Block_allocate

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Aug 3 15:15:32 UTC 2011


On 08/03/2011 12:29 AM, Joel Sherrill wrote:
> On 08/02/2011 03:34 PM, Kate Feng wrote:
>> Hello Sebastian,
>>
>> On 08/01/2011 02:04 AM, Sebastian Huber wrote:
>>> Hello Kate,
>>>
>>> it may help to call _Heap_Walk() in the exception handler.
>> Thanks for your suggestion. I might get some chances to run more
>> tests and debug further in the coming September.
>>
> It may also help to turn on calling _Heap_Walk on every
> malloc/free. This sounds like it could also be a case of
> overwriting the end of a buffer.

You can also enable the heap protection.  See heap.h and #define HEAP_PROTECTION.

-- 
Sebastian Huber, embedded brains GmbH

Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone   : +49 89 18 90 80 79-6
Fax     : +49 89 18 90 80 79-9
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the users mailing list