[En-Nut-Discussion] Problem with malloc/realloc

Markus Dost markus.dost at dr-clauss.de
Thu Apr 26 13:51:02 CEST 2012


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 at dr-clauss.de

-- 
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 at dr-clauss.de

CEOs:
  Dr.-Ing. Ulrich Clauß
  Dipl.-Ing. Dagmar Clauß
Amtsgericht Chemnitz HRB 12 958
VAT: DE 812062471




More information about the En-Nut-Discussion mailing list