Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

7.262. valgrind

Updated valgrind packages that fix several bugs and add an enhancement are now available for Red Hat Enterprise Linux 6.
The valgrind packages provide a programming utility for debugging memory, detecting memory leaks, and profiling.


The valgrind packages have been upgraded to upstream version 3.8.1, which provides a number of bug fixes over the previous version. (BZ#823005)

Bug Fixes

When running a large program under valgrind, the "Valgrind: FATAL: VG_N_SEGNAMES is too low." error messages could be returned. With this update, the compile time constants have been increased (VG_N_SEGMENTS to 50000, VG_N_SEGNAMES to 25000) and these errors no longer occur.
Previously, the valgrind gdbserver did not properly report exit or a fatal-signal process termination to the gdb debugger. Consequently, the "Remote connection closed" error messages were returned. This bug has been fixed in the code and the process termination is now properly reported in gdb.
On IBM S/390 architecture, valgrind could report a "Conditional jump or move depends on uninitialized value(s)" warning message for the tsearch() function in glibc. This update includes a standard suppression for these warning messages, which are no longer reported.


The embedded gdbserver has been added to allow integration of valgrind with the gdb debugger.
Users of valgrind are advised to upgrade to these updated packages, which fix these bugs and add this enhancement.