Bonjour
I’m coming back for a small question about memory leak: as we’re developping and using a platform based on ROOT (thanks for the great work you’re doing by the way) we’re monitoring our own memory leaks in our CI/CD approach using your suppression file. Moving from 6.26/06 to 6.28/04 we’ve still a very large increase of mem leaks.
It seems that even a simple piece code is now producing “mem leaks” which prevent us to get a clear way to track down our own mem leaks :P.
To reproduce this I’m providing a very simple C++ code (CreateTree.C attached to this note) that create a tree, fill it, and write it down in a file.
Compiling this with a simple line (provided in a makefile as well)
g++ -g -o createTree CreateTree.C `root-config --cflags --libs`
I’m getting 54 mem leaks (results provided in createTree_log) when running
valgrind --leak-check=full --show-possibly-lost=no --suppressions=${ROOTSYS}/etc/valgrind-root.supp ./createTree
My question is then : is there something I’m doing wrong ? If not should I create a new suppression file to omit these ? I’ve try with the 6.32/02 the same behaviour can be seen (the log provided has been done with this version).
All remarks / ideas are welcome
Thanks in advance
cheers
jb
CreateTreeTest.tar.gz (5.0 KB)
_ROOT Version: 6.32.02
_Platform: Fedora32
_Compiler: 10.0.1