Hello
I built valgrind 3.10.1 for arm platform (on amd64 host system) and got 
a problem. Memcheck fails finding problems even in /bin/true

# valgrind /bin/true
==1654== Memcheck, a memory error detector
==1654== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==1654== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
==1654== Command: /bin/true
==1654==
==1654== Invalid read of size 4
==1654==    at 0x40071B0: _dl_get_ready_to_run (in 
/lib/ld-uClibc-0.9.32.1.so)
==1654==  Address 0xbdd749d4 is on thread 1's stack
==1654==  20 bytes below stack pointer
==1654==
==1654== Invalid read of size 4
==1654==    at 0x489B248: __uClibc_main (in /lib/libuClibc-0.9.32.1.so)
==1654==  Address 0xbdd74b44 is on thread 1's stack
==1654==  20 bytes below stack pointer
==1654==
==1654== Invalid read of size 4
==1654==    at 0x489B02C: __uClibc_fini (in /lib/libuClibc-0.9.32.1.so)
==1654==  Address 0xbdd74aec is on thread 1's stack
==1654==  20 bytes below stack pointer
==1654==
==1654== Invalid read of size 4
==1654==    at 0x4002324: ??? (in /lib/ld-uClibc-0.9.32.1.so)
==1654==  Address 0xbdd74ab4 is on thread 1's stack
==1654==  20 bytes below stack pointer
==1654==
/bin/true: can't resolve symbol '__libc_freeres'
==1654==
==1654== HEAP SUMMARY:
==1654==     in use at exit: 0 bytes in 0 blocks
==1654==   total heap usage: 0 allocs, 0 frees, 0 bytes allocated
==1654==
==1654== All heap blocks were freed -- no leaks are possible
==1654==
==1654== For counts of detected and suppressed errors, rerun with: -v
==1654== ERROR SUMMARY: 48 errors from 4 contexts (suppressed: 0 from 0)

I also have
# valgrind -v -v -v -d -d -d --trace-redir=yes /bin/true
log but it's really big to attach it here.

And i really can't understand where is the problem because I tried to 
build trunk valgring (which fails with the same errors), tried 3.10.0 
with patches from buildroot with the same result.

And now I don't know where to dig.

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to