RTEMS malloc crash.

Till Straumann strauman at slac.stanford.edu
Tue Feb 3 16:36:12 UTC 2009


Nobody can help you with the little information you provide.

Please attach console log, debugger output etc.
(stack trace, register contents, disassembled code)

T.




Nick Thomas wrote:
> Hi,
>
> What would cause a call to malloc to crash in RTEMS?
>
> I presume that I am out of heap memory because my code calls malloc a few
> times before it crashes.
> The amount of memory it is trying to allocate is not great, about 20 bytes
> or so.
>
> I am using PPC405.
> The debugger shows that I am down in _Heap_Block_allocate, and the crash is:
> Vector: 0x0200 (Machine Check).
>
> Any help appreciated.
>
>
> Regards
>
> Nick
>
> -----------------------------
> Nick Thomas
> Email: nick.thomas at pixsan.com 
>
>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.com
> http://rtems.rtems.org/mailman/listinfo/rtems-users
>   




More information about the users mailing list