RTEMS4.10 _Heap_Block_allocate

Kate Feng feng at bnl.gov
Wed Sep 14 17:54:07 UTC 2011

On 08/03/2011 11:15 AM, Sebastian Huber wrote:
> 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 
I got a chance to debug the S/W and found out that it was a memory leak 
in the application, not the O.S..
I am glad that the bug is caught at RTEMS4.10.


More information about the users mailing list