Top "Valgrind" questions

Valgrind is a dynamic analysis tool for Linux, OS X, Android, and Solaris systems.

How to run valgrind with basic c example?

Installation: bzip2 -d valgrind-3.10.1.tar.bz2 tar -xf valgrind-3.10.1.tar then: ./configure make make install or simplier sudo apt-get install …

c++ c memory-leaks malloc valgrind
Analyze valgrind output: "invalid free()"

I have this strange error found by valgrind on a (stupid) authentication module which makes some on heap allocations. ==8009== Invalid …

c free valgrind memcheck
Error summary in Valgrind output?

I have seen some of the post regarding valgrind but not single post helped me in understanding interpretation of valgrind …

debugging memory memory-leaks valgrind kcachegrind
Mismatch delete

I have program which implements database of peoples and his companies. I have created dynamic array of pointer to class …

c++ dynamic valgrind mismatch
How do I tell valgrind to memcheck forked processes?

I have a process x that I want to check for leaks with valgrind. The problem is that x is …

c++ c linux fork valgrind
How do you tell Valgrind to completely suppress a particular .so file?

I'm trying to use Valgrind on a program that I'm working on, but Valgrind generates a bunch of errors for …

shared-libraries valgrind suppress-warnings
Interpreting callgrind data

I need a dynamic call graph for my app. I run it with callgrind tool (valgrind suite) and got callgrind.…

valgrind graphviz callgrind
Valgrind reporting a segment overflow

When running my program with valgrind / callgrind I get the following message a lot: ==21734== brk segment overflow in thread #1: can't …

c++ overflow valgrind callgrind
Segmentation faults occur when I run a parallel program with Open MPI

on my previous post I needed to distribute data of pgm files among 10 computers. With help from Jonathan Dursi and …

segmentation-fault valgrind mpi pgm