Hi All,
i written a simple malloc c program and cross compiled into arm, then i run in arm bsp it shows segmentation fault. Then i compiled that program as statically, then it's successfully run. But this is testing purpose i did.
I have an big source file, in that source have malloc, also i'm not able to compile as statically. So in dynamically linked file how can i use..?
i cross checked with shared libraries(libc.so.6 is there). Everything is there.
Can you help me to fix this issue.?
Regards,
Aravinth
Hello,
I hope the following helps.
A quick tutorial on implementing and debugging malloc, free, calloc, and realloc
http://stackoverflow.com/questions/3479330/how-is-malloc-implemented-internally
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------