Top "Valgrind" questions

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

pthread_exit vs. return

I have a joinable pthread runner function defined as below: void *sumOfProducts(void *param) { ... pthread_exit(0); } This thread is supposed …

c linux pthreads valgrind
Windows Callgrind results browser, alternative to KCacheGrind

Is there any tool, other than KCacheGrind, being able to view callgrind results? Preferably for Windows platform?

windows valgrind profiling callgrind
Lightweight memory leak debugging on linux

I looked for existing answers first and saw that Valgrind is everyone’s favorite tool for memory leak debugging on …

c++ c linux valgrind
*** stack smashing detected *** Aborted (core dumped)

I'm trying to debug a program that gives the error: Abort (core dumped). Valgrind detects a stack smashing and gives …

c valgrind stack-overflow coredump stack-smash
Valgrind: Memory still reachable with trivial program using <iostream>

Take the following trivial program: #include <iostream> int main() { return 0; } If I run this using valgrind, I'm told …

c++ valgrind
how to update make 3.81 linux

I am new to Linux (new as in installed it yesterday), I need it for my programming course in the …

linux makefile valgrind updates linux-mint
Valgrind and Java

I want to use Valgrind 3.7.0 to find memory leaks in my Java native code. I'm using jdk1.6.0._29. To do that, …

java memory-leaks java-native-interface valgrind sse2
Is it possible to make valgrind ignore certain libraries?

Or preferably all of them instead of just my code? My program uses Gtk, Loudmouth and few other things, and …

valgrind suppress-warnings
why pthread causes a memory leak

Whenever I create a pthread, valgrind outputs a memory leak, For example the below code: #include <stdio.h> #…

c memory-leaks pthreads posix valgrind
Segmentation fault in malloc_consolidate (malloc.c) that valgrind doesn't detect

My program goes in segmentation faults, and I cannot find the cause. The worst part is, the function in question …

c++ string segmentation-fault valgrind libstdc++