Top "Memcheck" questions

Memcheck is the dynamic memory error detector tool present in Valgrind framework.

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
What does possible lost means in valgrind

I have a lot of possible lost entry from valgrind. What does that mean ? As I am using sqlite and …

valgrind memcheck
Valgrind 8 bytes inside a block of 16 free'd

I'm writing code for a lab in class, which is an exercise in OOD design using a circular linked list. …

c++ memory-leaks linked-list memcheck
Recommended way to track down array out-of-bound access/write in C program

Consider writing implementation for some not-so-obvious algorithm in C. For example let it be recursive quicksort, that I have found …

c gdb cppcheck splint memcheck
Invalid read of size 8, Invalid write of size 8 (Valgrind)

I've been playing around with the following code for several hours this evening and I am just scratching my head …

c++ c++11 memcheck