Ok, I've found my mistake. The pointer to an allocated memory block
shouldn't be moved, before the block has been set free. Shame on me ...
Am 26.04.12 13:51, schrieb Markus Dost:
> Hi Harald,
>
> thank you for your response.
> The crash happens inside the function "NutHeapRootAlloc()" on line 225
> when it is searching for the best fit. He does the loop several times
> until he reaches a node with hn_size = 0.
>
> Best regards,
> Markus
>
> Am 26.04.12 09:04, schrieb Harald Kipp:
>> Do they crash inside the function or when using the resulting pointer?
>> A crash may also be caused by previously overwritten memory areas,
>> which may have corrupted the heap.
>
--
Dipl.-Ing. Markus Dost
Development
+49-37754-507-31
Email:
markus.dost@...
--
Dr. Clauss Bild- und Datentechnik GmbH
Turnhallenweg 5a
D-08297 Zwoenitz
Germany
Phone: +49-37754-507-0
Fax: +49-37754-507-28
www.dr-clauss.de
mail@...
CEOs:
Dr.-Ing. Ulrich Clauß
Dipl.-Ing. Dagmar Clauß
Amtsgericht Chemnitz HRB 12 958
VAT: DE 812062471
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion