Heap Consistency Checking on Embedded System
Posted
by l.thee.a
on Stack Overflow
See other posts from Stack Overflow
or by l.thee.a
Published on 2010-05-20T09:27:25Z
Indexed on
2010/05/21
1:30 UTC
Read the original article
Hit count: 344
I get a crash like this:
#0 0x2c58def0 in raise () from /lib/libpthread.so.0
#1 0x2d9b8958 in abort () from /lib/libc.so.0
#2 0x2d9b7e34 in __malloc_consolidate () from /lib/libc.so.0
#3 0x2d9b6dc8 in malloc () from /lib/libc.so.0
I guess it is a heap corruption issue. uclibc does not have mcheck/mprobe. Valgrind does not seem to MIPS support and my app (which is multi-threaded) depends on hw specific drivers. Any suggestions to check the consistency of the heap and to detect corruption?
© Stack Overflow or respective owner