Valgrind, the anti-Alzheimer pill for your memory problems
1,969 views · Published 12 March 2018 · 54:33 · Indexed 24 September 2026
Channel: FOSDEM · 2018 · Science & Technology
by Philippe Waroquiers At: FOSDEM 2017 Valgrind and its different tools are providing a rich set of functionality totrack memory problems such as dangling pointers, memory leaks, raceconditions, etc. In this talk, we will describe some old and new features that help tounderstand what happens in your application. Among others, we will give a demoand/or discuss: * how to use valgrind with your application specific memory pool * how to (interactively) ask Valgrind to describe a piece of memory * some heuristics used by Valgrind to reduce the number of 'possibly lost' leaks with C++ code * ... We will discuss more in detail the concept of execution trees, which will beavailable in the next Valgrind release. An execution tree associates stacktraces of your program with some data. Execution trees allow Memcheck andHelgrind to provide a memory profile of your application. We will show howsuch an execution tree memory profile can be visualised using tools such asMassif visualiser or kcachegrind. Room: UD2.119 (Moved from AW1.124) Scheduled start: 2017-02-04 11:30:00