Upon downloading valgrind 2.2.0 sources and compiling (after editing out
some ppdev ioctl defines that don't exist on my driver). I get the
following when trying to run. In fact version below is 2.3.0.CVS which
gives the same error (but I didn't need to edit this version to
compile).
Can anyone help?
valgrind --tool=memcheck ls -l
==31060== Memcheck, a memory error detector for x86-linux.
==31060== Copyright (C) 2002-2004, and GNU GPL'd, by Julian Seward et
al.
==31060== Using valgrind-2.3.0.CVS, a program supervision framework for
x86-linux.
==31060== Copyright (C) 2000-2004, and GNU GPL'd, by Julian Seward et
al.
==31060== For more details, rerun with: -v
==31060==
==31060== Conditional jump or move depends on uninitialised value(s)
==31060== at 0x1B8E6011: _dl_start (do-rel.h:46)
==31060== by 0x1B8E5DB5: (within /lib/ld-2.2.2.so)
==31060==
==31060== Conditional jump or move depends on uninitialised value(s)
==31060== at 0x1B8E60B8: _dl_start (do-rel.h:63)
==31060== by 0x1B8E5DB5: (within /lib/ld-2.2.2.so)
==31060==
==31060== Invalid read of size 4
==31060== at 0x1B8E6318: _dl_start_final (rtld.c:263)
==31060== by 0x1B8E6089: _dl_start (rtld.c:199)
==31060== by 0x1B8E5DB5: (within /lib/ld-2.2.2.so)
==31060== Address 0x52BFDD1C is just below %esp. Possibly a bug in
GCC/G++
==31060== v 2.96 or 3.0.X. To suppress, use:
--workaround-gcc296-bugs=yes
==31060==
valgrind: vg_libpthread.c:2333 (read): Assertion `read_ptr != ((void
*)0) && read_ptr != read' failed.
==31060== Please report this bug at: valgrind.kde.org
==31060==
==31060== ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 2 from 1)
==31060== malloc/free: in use at exit: 598 bytes in 4 blocks.
==31060== malloc/free: 4 allocs, 0 frees, 598 bytes allocated.
==31060== For a detailed leak analysis, rerun with: --leak-check=yes
==31060== For counts of detected errors, rerun with: -v
Bill Somerville
|