Memory Corruption (glibc errors) problems in Linux C
I have written an application for PXA270 ARM platform in Linux C. Its a multithreaded application.
At some point in execution it throws an error:
"*** glibc detected *** double free or corruption (out): 0x00120408 ***"
"*** glibc detected *** double free or corruption (!prev): 0x0011ab38 ***"
I think these errors are related to memory leaks or corruption. I wanted to debug these errors using valgrind. But valgrind is not portable to ARM platform. I cannot run my application on x86 linux pc to find out the leaks using valgrind.
How should I resolve these errors? Is there any tool available on ARM platform?
I can see memory address printed in glibc error. How should I use it to debug?