Red Hat Bugzilla – Bug 162542
Valgrind missing helgrind tool
Last modified: 2007-11-30 17:11:09 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4
Description of problem:
Trying to debug some threaded programs, tried using the helgrind tool, part of valgrind.
It's not there.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
[root@snowball ~]# valgrind --tool=helgrind /bin/ls
Actual Results: Can't open tool "helgrind": /usr/lib/valgrind/vgskin_helgrind.so: cannot open shared object file: No such file or directory
valgrind: couldn't load tool
Expected Results: The tool to be present!
How about reading the release notes of the package?
Stable release 2.4.0 (March 2005) -- CHANGES RELATIVE TO 2.2.0
2.4.0 brings many significant changes and bug fixes. The most
significant user-visible change is that we no longer supply our own
pthread implementation. Instead, Valgrind is finally capable of
running the native thread library, either LinuxThreads or NPTL.
This means our libpthread has gone, along with the bugs associated
with it. Valgrind now supports the kernel's threading syscalls, and
lets you use your standard system libpthread. As a result:
* There are many fewer system dependencies and strange library-related
bugs. There is a small performance improvement, and a large
* On the downside, Valgrind can no longer report misuses of the POSIX
PThreads API. It also means that Helgrind currently does not work.
We hope to fix these problems in a future release.
My mistake was to read the online documentation:
It's only when you go to the "top" of the documentation:
that you notice that it is for version 2.2.0 and was last updated 31 August 2004.