From: John R. <jr...@Bi...> - 2014-05-27 13:30:02
|
> --16527-- Considering /system/lib/libc.so .. > --16527-- .. CRC mismatch (computed aedb52cb wanted eadc3e5a) > --16527-- object doesn't have a symbol table The checksums mismatch, so memcheck ignores the symbols [if there are any.] Therefore 'malloc' and 'free' cannot be found. Most often this is a clue that the software on the target machine is not installed properly. Run "strace -f -e trace=file valgrind ..." and see exactly which files memcheck wants. Look at all files that are reported by strace whose names contain the substring "libc", and determine what kind of symbol tables they contain: SHT_SYMTAB, DT_SYMTAB (with DT_HASH or DT_GNU_HASH). Figure out why the CRC mismatches. Check version numbers, date-last-modified ("ls -l"), etc. Compare output of "readelf --all <filename>" for all candidates. Install the correct file(s) so that the message "CRC mismatch" no longer appears. |