[En-Nut-Discussion] heap conflict: allocating a node in threadstacks

Harald Kipp harald.kipp at egnite.de
Fri Sep 8 21:13:19 CEST 2006


The heap manager is not able to determine between thread
stacks and other kind of heap usage.

Did you check the .map (.mp for ICCAVR). Strange things may
happen, if the linker mixes compiler runtime and Nut/OS
runtime. All heap allocation and release must be done by
Nut/OS. For example, there is no strdup() in Nut/OS.

At 16:52 08.09.2006 +0200, you wrote:

>I have the strong impression I'm missing some fundamental concept (offcourse
>it's not a bug in NutOS), but why do I see in my debugger that nodes are
>placed regardless of the threadstacks?




More information about the En-Nut-Discussion mailing list