On 02/06/14 15:05, Vignesh wrote:

> However, this still dazzles me:
>
> I still get this warning while running valgrind:
> --8925--   Considering /system/lib/libc.so ..
> --8925--   .. CRC mismatch (computed aedb52cb wanted eadc3e5a)
> --8925--    object doesn't have a symbol table
>
> When I compute crc for /system/lib/libc.so externally, I get aedb52cb
> and the system under test doesn't contain libc anywhere else..  Where
> else is the executable picking libc from?  Output of strace relevant to
> libc given below

It's not the CRC of libc.so you want, it's the CRC of the debug file.

So your libc.so apparently has a .gnu_debuglink section in it which says 
that there should be a debug image with a CRC of eadc3e5a.

The slightly odd thing is that your strace suggests it isn't finding a 
debug image, so I'm not sure why it is calcing the CRC of the main file 
instead.

None the less, if you have built with a separate debug file then you 
need to install it so valgrind can find it.

Tom

-- 
Tom Hughes (t...@compton.nu)
http://compton.nu/

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to