root icon indicating copy to clipboard operation
root copied to clipboard

Memory leak in TFile::WriteObjectAny, depending on data type

Open shahor02 opened this issue 4 years ago • 1 comments

Hello,

I observe a constant (16MB) memory increase when writing to TFile or TMemFile with WriteObjectAny a std::vector of chars (also have seen this with TArrayC). Strangely, this does not happen when writing vector<float>. This is with ROOT 6.20/08. Attached demoMem.C.gz reproduces the problem:

root -b -q demoMem.C+
Memory at start of memory-based file test : write vector<unsigned char>(100000000)
RSS: 429.33(delta = 429.33) VMEM: 481.59(delta = 481.59) MB
Iter: 0 Memory after writing vector<unsigned char>(100000000) : RSS: 445.76(delta = 16.43) VMEM: 577.27(delta = 95.68) MB
Iter: 1 Memory after writing vector<unsigned char>(100000000) : RSS: 461.64(delta = 15.88) VMEM: 672.46(delta = 95.18) MB
Iter: 2 Memory after writing vector<unsigned char>(100000000) : RSS: 477.64(delta = 16.00) VMEM: 767.83(delta = 95.37) MB
Iter: 3 Memory after writing vector<unsigned char>(100000000) : RSS: 493.64(delta = 16.00) VMEM: 863.20(delta = 95.37) MB
Iter: 4 Memory after writing vector<unsigned char>(100000000) : RSS: 509.65(delta = 16.00) VMEM: 958.57(delta = 95.37) MB
Iter: 5 Memory after writing vector<unsigned char>(100000000) : RSS: 525.65(delta = 16.00) VMEM: 1053.94(delta = 95.37) MB
Iter: 6 Memory after writing vector<unsigned char>(100000000) : RSS: 541.66(delta = 16.00) VMEM: 1149.31(delta = 95.37) MB
Iter: 7 Memory after writing vector<unsigned char>(100000000) : RSS: 557.66(delta = 16.00) VMEM: 1244.68(delta = 95.37) MB
Iter: 8 Memory after writing vector<unsigned char>(100000000) : RSS: 573.66(delta = 16.00) VMEM: 1340.05(delta = 95.37) MB
Iter: 9 Memory after writing vector<unsigned char>(100000000) : RSS: 589.67(delta = 16.00) VMEM: 1435.43(delta = 95.37) MB
Memory at start of memory-based file test : write vector<float>(25000000)
RSS: 684.80(delta = 95.13) VMEM: 1530.80(delta = 95.37) MB
Iter: 0 Memory after writing vector<float>(25000000) : RSS: 685.59(delta = 0.79) VMEM: 1532.98(delta = 2.19) MB
Iter: 1 Memory after writing vector<float>(25000000) : RSS: 685.59(delta = 0.00) VMEM: 1532.98(delta = 0.00) MB
Iter: 2 Memory after writing vector<float>(25000000) : RSS: 685.59(delta = 0.00) VMEM: 1532.98(delta = 0.00) MB
Iter: 3 Memory after writing vector<float>(25000000) : RSS: 685.59(delta = 0.00) VMEM: 1532.98(delta = 0.00) MB
Iter: 4 Memory after writing vector<float>(25000000) : RSS: 685.59(delta = 0.00) VMEM: 1532.98(delta = 0.00) MB
Iter: 5 Memory after writing vector<float>(25000000) : RSS: 685.59(delta = 0.00) VMEM: 1532.98(delta = 0.00) MB
Iter: 6 Memory after writing vector<float>(25000000) : RSS: 685.59(delta = 0.00) VMEM: 1532.98(delta = 0.00) MB
Iter: 7 Memory after writing vector<float>(25000000) : RSS: 685.59(delta = 0.00) VMEM: 1532.98(delta = 0.00) MB
Iter: 8 Memory after writing vector<float>(25000000) : RSS: 685.59(delta = 0.00) VMEM: 1532.98(delta = 0.00) MB
Iter: 9 Memory after writing vector<float>(25000000) : RSS: 685.59(delta = 0.00) VMEM: 1532.98(delta = 0.00) MB

shahor02 avatar Feb 18 '21 00:02 shahor02

Log when running with valgrind:

Conditional jump or move depends on uninitialised value(s)
  in TUrl::TUrl(char const*, bool) in /opt/root_src/core/base/src/TUrl.cxx:76
  1: TStorage::UpdateIsOnHeap(unsigned int const volatile&, unsigned int volatile&) in /opt/root_src/core/base/inc/TStorage.h:124
  2: TObject::TObject() in /opt/root_src/core/base/inc/TObject.h:260
  3: TUrl::TUrl(char const*, bool) in /opt/root_src/core/base/src/TUrl.cxx:76
  4: TSystem::FindHelper(char const*, void*) in /opt/root_src/core/base/src/TSystem.cxx:746
  5: TUnixSystem::OpenDirectory(char const*) in /opt/root_src/core/unix/src/TUnixSystem.cxx:1362
  6: TCling::LoadLibraryMap(char const*) in /opt/root_src/core/metacling/src/TCling.cxx:5737
  7: TCling::Initialize() in /opt/root_src/core/metacling/src/TCling.cxx:1660
  8: TROOT::InitInterpreter() in /opt/root_src/core/base/src/TROOT.cxx:2116
  9: ROOT::Internal::GetROOT2() in /opt/root_src/core/base/src/TROOT.cxx:389
  10: ROOT::GetROOT() in /opt/root_src/core/base/src/TROOT.cxx:471
  11: TApplication::TApplication(char const*, int*, char**, void*, int) in /opt/root_src/core/base/src/TApplication.cxx:153
  12: TRint::TRint(char const*, int*, char**, void*, int, bool, bool) in /opt/root_src/core/rint/src/TRint.cxx:174
  13: main in /opt/root_src/main/src/rmain.cxx:81
Uninitialised value was created by a stack allocation  1: TSystem::FindHelper(char const*, void*) in /opt/root_src/core/base/src/TSystem.cxx:734

Conditional jump or move depends on uninitialised value(s)
  in TUrl::TUrl(char const*, bool) in /opt/root_src/core/base/src/TUrl.cxx:76
  1: TStorage::UpdateIsOnHeap(unsigned int const volatile&, unsigned int volatile&) in /opt/root_src/core/base/inc/TStorage.h:124
  2: TObject::TObject() in /opt/root_src/core/base/inc/TObject.h:260
  3: TUrl::TUrl(char const*, bool) in /opt/root_src/core/base/src/TUrl.cxx:76
  4: TApplication::GetOptions(int*, char**) in /opt/root_src/core/base/src/TApplication.cxx:479
  5: TApplication::TApplication(char const*, int*, char**, void*, int) in /opt/root_src/core/base/src/TApplication.cxx:177
  6: TRint::TRint(char const*, int*, char**, void*, int, bool, bool) in /opt/root_src/core/rint/src/TRint.cxx:174
  7: main in /opt/root_src/main/src/rmain.cxx:81
Uninitialised value was created by a stack allocation  1: TApplication::GetOptions(int*, char**) in /opt/root_src/core/base/src/TApplication.cxx:346

Conditional jump or move depends on uninitialised value(s)
  in TDirectory::TDirectory() in /opt/root_src/core/base/src/TDirectory.cxx:53
  1: TStorage::UpdateIsOnHeap(unsigned int const volatile&, unsigned int volatile&) in /opt/root_src/core/base/inc/TStorage.h:124
  2: TObject::TObject() in /opt/root_src/core/base/inc/TObject.h:260
  3: TNamed::TNamed() in /opt/root_src/core/base/inc/TNamed.h:36
  4: TDirectory::TDirectory() in /opt/root_src/core/base/src/TDirectory.cxx:53
  5: TDirectoryFile::TDirectoryFile() in /opt/root_src/io/io/src/TDirectoryFile.cxx:61
  6: TFile::TFile(char const*, char const*, char const*, int) in /opt/root_src/io/io/src/TFile.cxx:331
  7: TMemFile::TMemFile(char const*, TMemFile::ZeroCopyView_t const&) in /opt/root_src/io/io/src/TMemFile.cxx:114
  8: TCling::LoadPCM(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) in /opt/root_src/core/metacling/src/TCling.cxx:1852
  9: TCling::RegisterModule(char const*, char const**, char const**, char const*, char const*, void (*)(), std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> > > const&, char const**, bool, bool) in /opt/root_src/core/metacling/src/TCling.cxx:2309
  10: TROOT::RegisterModule(char const*, char const**, char const**, char const*, char const*, void (*)(), std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> > > const&, char const**, bool) in /opt/root_src/core/base/src/TROOT.cxx:2566
  11: (anonymous namespace)::TriggerDictionaryInitialization_libNet_Impl() in /home/userf/build/build-root-Desktop-Debug/net/net/G__Net.cxx:3623
  12: (anonymous namespace)::DictInit::DictInit() in /home/userf/build/build-root-Desktop-Debug/net/net/G__Net.cxx:3631
  13: __static_initialization_and_destruction_0(int, int) in /home/userf/build/build-root-Desktop-Debug/net/net/G__Net.cxx:3633
  14: _GLOBAL__sub_I_G__Net.cxx in /home/userf/build/build-root-Desktop-Debug/net/net/G__Net.cxx:3637
  15: call_init.part.0 in ./elf/./elf/dl-init.c:70
  16: call_init in ./elf/./elf/dl-init.c:33
  17: _dl_init in ./elf/./elf/dl-init.c:117
  18: _dl_catch_exception in ./elf/./elf/dl-error-skeleton.c:182
  19: dl_open_worker in ./elf/./elf/dl-open.c:808
  20: dl_open_worker in ./elf/./elf/dl-open.c:771
  21: _dl_catch_exception in ./elf/./elf/dl-error-skeleton.c:208
  22: _dl_open in ./elf/./elf/dl-open.c:883
  23: dlopen_doit in ./dlfcn/./dlfcn/dlopen.c:56
  24: _dl_catch_exception in ./elf/./elf/dl-error-skeleton.c:208
  25: _dl_catch_error in ./elf/./elf/dl-error-skeleton.c:227
  26: _dlerror_run in ./dlfcn/./dlfcn/dlerror.c:138
  27: dlopen_implementation in ./dlfcn/./dlfcn/dlopen.c:71
  28: dlopen@@GLIBC_2.34 in ./dlfcn/./dlfcn/dlopen.c:81
Uninitialised value was created by a stack allocation  1: TCling::LoadPCM(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) in /opt/root_src/core/metacling/src/TCling.cxx:1821

Conditional jump or move depends on uninitialised value(s)
  in TUrl::TUrl(char const*, bool) in /opt/root_src/core/base/src/TUrl.cxx:76
  1: TStorage::UpdateIsOnHeap(unsigned int const volatile&, unsigned int volatile&) in /opt/root_src/core/base/inc/TStorage.h:124
  2: TObject::TObject() in /opt/root_src/core/base/inc/TObject.h:260
  3: TUrl::TUrl(char const*, bool) in /opt/root_src/core/base/src/TUrl.cxx:76
  4: TFile::TFile(char const*, char const*, char const*, int) in /opt/root_src/io/io/src/TFile.cxx:331
  5: TMemFile::TMemFile(char const*, TMemFile::ZeroCopyView_t const&) in /opt/root_src/io/io/src/TMemFile.cxx:114
  6: TCling::LoadPCM(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) in /opt/root_src/core/metacling/src/TCling.cxx:1852
  7: TCling::RegisterModule(char const*, char const**, char const**, char const*, char const*, void (*)(), std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> > > const&, char const**, bool, bool) in /opt/root_src/core/metacling/src/TCling.cxx:2309
  8: TROOT::RegisterModule(char const*, char const**, char const**, char const*, char const*, void (*)(), std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> > > const&, char const**, bool) in /opt/root_src/core/base/src/TROOT.cxx:2566
  9: (anonymous namespace)::TriggerDictionaryInitialization_libNet_Impl() in /home/userf/build/build-root-Desktop-Debug/net/net/G__Net.cxx:3623
  10: (anonymous namespace)::DictInit::DictInit() in /home/userf/build/build-root-Desktop-Debug/net/net/G__Net.cxx:3631
  11: __static_initialization_and_destruction_0(int, int) in /home/userf/build/build-root-Desktop-Debug/net/net/G__Net.cxx:3633
  12: _GLOBAL__sub_I_G__Net.cxx in /home/userf/build/build-root-Desktop-Debug/net/net/G__Net.cxx:3637
  13: call_init.part.0 in ./elf/./elf/dl-init.c:70
  14: call_init in ./elf/./elf/dl-init.c:33
  15: _dl_init in ./elf/./elf/dl-init.c:117
  16: _dl_catch_exception in ./elf/./elf/dl-error-skeleton.c:182
  17: dl_open_worker in ./elf/./elf/dl-open.c:808
  18: dl_open_worker in ./elf/./elf/dl-open.c:771
  19: _dl_catch_exception in ./elf/./elf/dl-error-skeleton.c:208
  20: _dl_open in ./elf/./elf/dl-open.c:883
  21: dlopen_doit in ./dlfcn/./dlfcn/dlopen.c:56
  22: _dl_catch_exception in ./elf/./elf/dl-error-skeleton.c:208
  23: _dl_catch_error in ./elf/./elf/dl-error-skeleton.c:227
  24: _dlerror_run in ./dlfcn/./dlfcn/dlerror.c:138
  25: dlopen_implementation in ./dlfcn/./dlfcn/dlopen.c:71
  26: dlopen@@GLIBC_2.34 in ./dlfcn/./dlfcn/dlopen.c:81
  27: cling::utils::platform::DLOpen(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  28: cling::DynamicLibraryManager::loadLibrary(llvm::StringRef, bool, bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
Uninitialised value was created by a stack allocation  1: TCling::LoadPCM(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) in /opt/root_src/core/metacling/src/TCling.cxx:1821

Invalid read of size 4
  in ROOT::Internal::DeleteChangesMemoryImpl() in /opt/root_src/core/base/src/TObject.cxx:120
  1: ROOT::Internal::DeleteChangesMemoryImpl() in /opt/root_src/core/base/src/TObject.cxx:120
  2: ROOT::Internal::DeleteChangesMemory() in /opt/root_src/core/base/src/TObject.cxx:129
  3: HasBeenDeleted in /opt/root_src/core/base/inc/TObject.h:405
  4: TList::FindLink(TObject const*, int&) const in /opt/root_src/core/cont/src/TList.cxx:646
  5: TList::Remove(TObject*) in /opt/root_src/core/cont/src/TList.cxx:829
  6: THashList::RecursiveRemove(TObject*) in /opt/root_src/core/cont/src/THashList.cxx:335
  7: TROOT::RecursiveRemove(TObject*) in /opt/root_src/core/base/src/TROOT.cxx:2463
  8: ROOT::CallRecursiveRemoveIfNeeded(TObject&) in /opt/root_src/core/base/inc/TROOT.h:400
  9: TObject::~TObject() in /opt/root_src/core/base/src/TObject.cxx:163
  10: ROOT::Internal::TCheckHashRecursiveRemoveConsistency::~TCheckHashRecursiveRemoveConsistency() in /opt/root_src/core/meta/src/TCheckHashRecursiveRemoveConsistency.h:68
  11: ROOT::Internal::TCheckHashRecursiveRemoveConsistency::Check(TClass&) in /opt/root_src/core/meta/src/TCheckHashRecursiveRemoveConsistency.h:243
  12: TClass::SetRuntimeProperties() in /opt/root_src/core/meta/src/TClass.cxx:6205
  13: TClass::HasConsistentHashMember() in /opt/root_src/core/meta/inc/TClass.h:502
  14: ROOT::Internal::HasConsistentHashMember(TClass&) in /opt/root_src/core/meta/src/TClass.cxx:7373
  15: TPair::CheckTObjectHashConsistency() const in /opt/root_src/core/cont/inc/TMap.h:124
  16: TObject::CheckedHash() in /opt/root_src/core/base/inc/TObject.h:341
  17: THashTable::GetCheckedHashValue(TObject*) const in /opt/root_src/core/cont/inc/THashTable.h:95
  18: THashTable::Add(TObject*) in /opt/root_src/core/cont/src/THashTable.cxx:96
  19: TMap::Add(TObject*, TObject*) in /opt/root_src/core/cont/src/TMap.cxx:66
  20: TUrl::ParseOptions() const in /opt/root_src/core/base/src/TUrl.cxx:645
  21: TUrl::HasOption(char const*) const in /opt/root_src/core/base/src/TUrl.cxx:686
  22: TFile::TFile(char const*, char const*, char const*, int) in /opt/root_src/io/io/src/TFile.cxx:378
  23: TMemFile::TMemFile(char const*, TMemFile::ZeroCopyView_t const&) in /opt/root_src/io/io/src/TMemFile.cxx:114
  24: TCling::LoadPCM(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) in /opt/root_src/core/metacling/src/TCling.cxx:1852
  25: TCling::RegisterModule(char const*, char const**, char const**, char const*, char const*, void (*)(), std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> > > const&, char const**, bool, bool) in /opt/root_src/core/metacling/src/TCling.cxx:2309
  26: TROOT::RegisterModule(char const*, char const**, char const**, char const*, char const*, void (*)(), std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> > > const&, char const**, bool) in /opt/root_src/core/base/src/TROOT.cxx:2566
Address 0x1053183c is 12 bytes inside a block of size 16 free'd  1: operator delete(void*) in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so
  2: TStorage::ObjectDealloc(void*) in /opt/root_src/core/base/src/TStorage.cxx:324
  3: TObject::operator delete(void*) in /opt/root_src/core/base/src/TObject.cxx:1084
  4: TObject::~TObject() in /opt/root_src/core/base/src/TObject.cxx:168
  5: ROOT::Internal::DeleteChangesMemoryImpl() in /opt/root_src/core/base/src/TObject.cxx:113
  6: ROOT::Internal::DeleteChangesMemory() in /opt/root_src/core/base/src/TObject.cxx:129
  7: HasBeenDeleted in /opt/root_src/core/base/inc/TObject.h:405
  8: TList::FindLink(TObject const*, int&) const in /opt/root_src/core/cont/src/TList.cxx:646
  9: TList::Remove(TObject*) in /opt/root_src/core/cont/src/TList.cxx:829
  10: THashList::RecursiveRemove(TObject*) in /opt/root_src/core/cont/src/THashList.cxx:335
  11: TROOT::RecursiveRemove(TObject*) in /opt/root_src/core/base/src/TROOT.cxx:2463
  12: ROOT::CallRecursiveRemoveIfNeeded(TObject&) in /opt/root_src/core/base/inc/TROOT.h:400
  13: TObject::~TObject() in /opt/root_src/core/base/src/TObject.cxx:163
  14: ROOT::Internal::TCheckHashRecursiveRemoveConsistency::~TCheckHashRecursiveRemoveConsistency() in /opt/root_src/core/meta/src/TCheckHashRecursiveRemoveConsistency.h:68
  15: ROOT::Internal::TCheckHashRecursiveRemoveConsistency::Check(TClass&) in /opt/root_src/core/meta/src/TCheckHashRecursiveRemoveConsistency.h:243
  16: TClass::SetRuntimeProperties() in /opt/root_src/core/meta/src/TClass.cxx:6205
  17: TClass::HasConsistentHashMember() in /opt/root_src/core/meta/inc/TClass.h:502
  18: ROOT::Internal::HasConsistentHashMember(TClass&) in /opt/root_src/core/meta/src/TClass.cxx:7373
  19: TPair::CheckTObjectHashConsistency() const in /opt/root_src/core/cont/inc/TMap.h:124
  20: TObject::CheckedHash() in /opt/root_src/core/base/inc/TObject.h:341
  21: THashTable::GetCheckedHashValue(TObject*) const in /opt/root_src/core/cont/inc/THashTable.h:95
  22: THashTable::Add(TObject*) in /opt/root_src/core/cont/src/THashTable.cxx:96
  23: TMap::Add(TObject*, TObject*) in /opt/root_src/core/cont/src/TMap.cxx:66
  24: TUrl::ParseOptions() const in /opt/root_src/core/base/src/TUrl.cxx:645
  25: TUrl::HasOption(char const*) const in /opt/root_src/core/base/src/TUrl.cxx:686
  26: TFile::TFile(char const*, char const*, char const*, int) in /opt/root_src/io/io/src/TFile.cxx:378
Block was alloc'd at  1: operator new(unsigned long) in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so
  2: TStorage::ObjectAlloc(unsigned long) in /opt/root_src/core/base/src/TStorage.cxx:292
  3: TObject::operator new(unsigned long) in /opt/root_src/core/base/inc/TObject.h:181
  4: ROOT::Internal::DeleteChangesMemoryImpl() in /opt/root_src/core/base/src/TObject.cxx:81
  5: ROOT::Internal::DeleteChangesMemory() in /opt/root_src/core/base/src/TObject.cxx:129
  6: HasBeenDeleted in /opt/root_src/core/base/inc/TObject.h:405
  7: TList::FindLink(TObject const*, int&) const in /opt/root_src/core/cont/src/TList.cxx:646
  8: TList::Remove(TObject*) in /opt/root_src/core/cont/src/TList.cxx:829
  9: THashList::RecursiveRemove(TObject*) in /opt/root_src/core/cont/src/THashList.cxx:335
  10: TROOT::RecursiveRemove(TObject*) in /opt/root_src/core/base/src/TROOT.cxx:2463
  11: ROOT::CallRecursiveRemoveIfNeeded(TObject&) in /opt/root_src/core/base/inc/TROOT.h:400
  12: TObject::~TObject() in /opt/root_src/core/base/src/TObject.cxx:163
  13: ROOT::Internal::TCheckHashRecursiveRemoveConsistency::~TCheckHashRecursiveRemoveConsistency() in /opt/root_src/core/meta/src/TCheckHashRecursiveRemoveConsistency.h:68
  14: ROOT::Internal::TCheckHashRecursiveRemoveConsistency::Check(TClass&) in /opt/root_src/core/meta/src/TCheckHashRecursiveRemoveConsistency.h:243
  15: TClass::SetRuntimeProperties() in /opt/root_src/core/meta/src/TClass.cxx:6205
  16: TClass::HasConsistentHashMember() in /opt/root_src/core/meta/inc/TClass.h:502
  17: ROOT::Internal::HasConsistentHashMember(TClass&) in /opt/root_src/core/meta/src/TClass.cxx:7373
  18: TPair::CheckTObjectHashConsistency() const in /opt/root_src/core/cont/inc/TMap.h:124
  19: TObject::CheckedHash() in /opt/root_src/core/base/inc/TObject.h:341
  20: THashTable::GetCheckedHashValue(TObject*) const in /opt/root_src/core/cont/inc/THashTable.h:95
  21: THashTable::Add(TObject*) in /opt/root_src/core/cont/src/THashTable.cxx:96
  22: TMap::Add(TObject*, TObject*) in /opt/root_src/core/cont/src/TMap.cxx:66
  23: TUrl::ParseOptions() const in /opt/root_src/core/base/src/TUrl.cxx:645
  24: TUrl::HasOption(char const*) const in /opt/root_src/core/base/src/TUrl.cxx:686
  25: TFile::TFile(char const*, char const*, char const*, int) in /opt/root_src/io/io/src/TFile.cxx:378
  26: TMemFile::TMemFile(char const*, TMemFile::ZeroCopyView_t const&) in /opt/root_src/io/io/src/TMemFile.cxx:114

Conditional jump or move depends on uninitialised value(s)
  in TClass::SetRuntimeProperties() in /opt/root_src/core/meta/src/TClass.cxx:6205
  1: TStorage::UpdateIsOnHeap(unsigned int const volatile&, unsigned int volatile&) in /opt/root_src/core/base/inc/TStorage.h:124
  2: TObject::TObject() in /opt/root_src/core/base/inc/TObject.h:260
  3: ROOT::Internal::TCheckHashRecursiveRemoveConsistency::TCheckHashRecursiveRemoveConsistency() in /opt/root_src/core/meta/src/TCheckHashRecursiveRemoveConsistency.h:53
  4: ROOT::Internal::TCheckHashRecursiveRemoveConsistency::Check(TClass&) in /opt/root_src/core/meta/src/TCheckHashRecursiveRemoveConsistency.h:241
  5: TClass::SetRuntimeProperties() in /opt/root_src/core/meta/src/TClass.cxx:6205
  6: TClass::HasConsistentHashMember() in /opt/root_src/core/meta/inc/TClass.h:502
  7: ROOT::Internal::HasConsistentHashMember(TClass&) in /opt/root_src/core/meta/src/TClass.cxx:7373
  8: TKey::CheckTObjectHashConsistency() const in /opt/root_src/io/io/inc/TKey.h:116
  9: TObject::CheckedHash() in /opt/root_src/core/base/inc/TObject.h:341
  10: THashTable::GetCheckedHashValue(TObject*) const in /opt/root_src/core/cont/inc/THashTable.h:95
  11: THashTable::Add(TObject*) in /opt/root_src/core/cont/src/THashTable.cxx:96
  12: THashList::AddLast(TObject*) in /opt/root_src/core/cont/src/THashList.cxx:100
  13: TList::Add(TObject*) in /opt/root_src/core/cont/inc/TList.h:81
  14: TDirectoryFile::ReadKeys(bool) in /opt/root_src/io/io/src/TDirectoryFile.cxx:1448
  15: TFile::Init(bool) in /opt/root_src/io/io/src/TFile.cxx:823
  16: TMemFile::TMemFile(char const*, TMemFile::ZeroCopyView_t const&) in /opt/root_src/io/io/src/TMemFile.cxx:127
  17: TCling::LoadPCM(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) in /opt/root_src/core/metacling/src/TCling.cxx:1852
  18: TCling::RegisterModule(char const*, char const**, char const**, char const*, char const*, void (*)(), std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> > > const&, char const**, bool, bool) in /opt/root_src/core/metacling/src/TCling.cxx:2309
  19: TROOT::RegisterModule(char const*, char const**, char const**, char const*, char const*, void (*)(), std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> > > const&, char const**, bool) in /opt/root_src/core/base/src/TROOT.cxx:2566
  20: (anonymous namespace)::TriggerDictionaryInitialization_libNet_Impl() in /home/userf/build/build-root-Desktop-Debug/net/net/G__Net.cxx:3623
  21: (anonymous namespace)::DictInit::DictInit() in /home/userf/build/build-root-Desktop-Debug/net/net/G__Net.cxx:3631
  22: __static_initialization_and_destruction_0(int, int) in /home/userf/build/build-root-Desktop-Debug/net/net/G__Net.cxx:3633
  23: _GLOBAL__sub_I_G__Net.cxx in /home/userf/build/build-root-Desktop-Debug/net/net/G__Net.cxx:3637
  24: call_init.part.0 in ./elf/./elf/dl-init.c:70
  25: call_init in ./elf/./elf/dl-init.c:33
  26: _dl_init in ./elf/./elf/dl-init.c:117
Uninitialised value was created by a stack allocation  1: /home/userf/build/build-root-Desktop-Debug/lib/libCore.so

Conditional jump or move depends on uninitialised value(s)
  in THashList::Delete(char const*) in /opt/root_src/core/cont/src/THashList.cxx:217
  1: TStorage::UpdateIsOnHeap(unsigned int const volatile&, unsigned int volatile&) in /opt/root_src/core/base/inc/TStorage.h:124
  2: TObject::TObject() in /opt/root_src/core/base/inc/TObject.h:260
  3: TCollection::TCollection() in /opt/root_src/core/cont/inc/TCollection.h:152
  4: TSeqCollection::TSeqCollection() in /opt/root_src/core/cont/inc/TSeqCollection.h:33
  5: TList::TList() in /opt/root_src/core/cont/inc/TList.h:72
  6: THashList::Delete(char const*) in /opt/root_src/core/cont/src/THashList.cxx:217
  7: TDirectoryFile::Close(char const*) in /opt/root_src/io/io/src/TDirectoryFile.cxx:592
  8: TFile::Close(char const*) in /opt/root_src/io/io/src/TFile.cxx:970
  9: TMemFile::~TMemFile() in /opt/root_src/io/io/src/TMemFile.cxx:240
  10: TCling::LoadPCM(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) in /opt/root_src/core/metacling/src/TCling.cxx:1865
  11: TCling::RegisterModule(char const*, char const**, char const**, char const*, char const*, void (*)(), std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> > > const&, char const**, bool, bool) in /opt/root_src/core/metacling/src/TCling.cxx:2309
  12: TROOT::RegisterModule(char const*, char const**, char const**, char const*, char const*, void (*)(), std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> > > const&, char const**, bool) in /opt/root_src/core/base/src/TROOT.cxx:2566
  13: (anonymous namespace)::TriggerDictionaryInitialization_libNet_Impl() in /home/userf/build/build-root-Desktop-Debug/net/net/G__Net.cxx:3623
  14: (anonymous namespace)::DictInit::DictInit() in /home/userf/build/build-root-Desktop-Debug/net/net/G__Net.cxx:3631
  15: __static_initialization_and_destruction_0(int, int) in /home/userf/build/build-root-Desktop-Debug/net/net/G__Net.cxx:3633
  16: _GLOBAL__sub_I_G__Net.cxx in /home/userf/build/build-root-Desktop-Debug/net/net/G__Net.cxx:3637
  17: call_init.part.0 in ./elf/./elf/dl-init.c:70
  18: call_init in ./elf/./elf/dl-init.c:33
  19: _dl_init in ./elf/./elf/dl-init.c:117
  20: _dl_catch_exception in ./elf/./elf/dl-error-skeleton.c:182
  21: dl_open_worker in ./elf/./elf/dl-open.c:808
  22: dl_open_worker in ./elf/./elf/dl-open.c:771
  23: _dl_catch_exception in ./elf/./elf/dl-error-skeleton.c:208
  24: _dl_open in ./elf/./elf/dl-open.c:883
  25: dlopen_doit in ./dlfcn/./dlfcn/dlopen.c:56
  26: _dl_catch_exception in ./elf/./elf/dl-error-skeleton.c:208
  27: _dl_catch_error in ./elf/./elf/dl-error-skeleton.c:227
Uninitialised value was created by a stack allocation  1: THashList::Delete(char const*) in /opt/root_src/core/cont/src/THashList.cxx:208

Conditional jump or move depends on uninitialised value(s)
  in TBuffer::TBuffer(TBuffer::EMode, int) in /opt/root_src/core/base/src/TBuffer.cxx:73
  1: TStorage::UpdateIsOnHeap(unsigned int const volatile&, unsigned int volatile&) in /opt/root_src/core/base/inc/TStorage.h:124
  2: TObject::TObject() in /opt/root_src/core/base/inc/TObject.h:260
  3: TBuffer::TBuffer(TBuffer::EMode, int) in /opt/root_src/core/base/src/TBuffer.cxx:73
  4: TBufferIO::TBufferIO(TBuffer::EMode, int) in /opt/root_src/io/io/src/TBufferIO.cxx:51
  5: TBufferFile::TBufferFile(TBuffer::EMode, int) in /opt/root_src/io/io/src/TBufferFile.cxx:90
  6: TKey::ReadObjectAny(TClass const*) in /opt/root_src/io/io/src/TKey.cxx:1025
  7: TDirectoryFile::GetObjectChecked(char const*, TClass const*) in /opt/root_src/io/io/src/TDirectoryFile.cxx:1111
  8: void TDirectory::GetObject<TObjArray>(char const*, TObjArray*&) in /opt/root_src/core/base/inc/TDirectory.h:214
  9: TCling::LoadPCMImpl(TFile&) in /opt/root_src/core/metacling/src/TCling.cxx:1722
  10: TCling::LoadPCM(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) in /opt/root_src/core/metacling/src/TCling.cxx:1882
  11: TCling::RegisterModule(char const*, char const**, char const**, char const*, char const*, void (*)(), std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> > > const&, char const**, bool, bool) in /opt/root_src/core/metacling/src/TCling.cxx:2309
  12: TROOT::RegisterModule(char const*, char const**, char const**, char const*, char const*, void (*)(), std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> > > const&, char const**, bool) in /opt/root_src/core/base/src/TROOT.cxx:2566
  13: (anonymous namespace)::TriggerDictionaryInitialization_demoMem_C_ACLiC_dict_Impl() in /tmp//tmp/demoMem_C_ACLiC_dict.cxx:89
  14: (anonymous namespace)::DictInit::DictInit() in /tmp//tmp/demoMem_C_ACLiC_dict.cxx:97
  15: __static_initialization_and_destruction_0(int, int) in /tmp//tmp/demoMem_C_ACLiC_dict.cxx:99
  16: _GLOBAL__sub_I_demoMem_C_ACLiC_dict.cxx in /tmp//tmp/demoMem_C_ACLiC_dict.cxx:103
  17: call_init.part.0 in ./elf/./elf/dl-init.c:70
  18: call_init in ./elf/./elf/dl-init.c:33
  19: _dl_init in ./elf/./elf/dl-init.c:117
  20: _dl_catch_exception in ./elf/./elf/dl-error-skeleton.c:182
  21: dl_open_worker in ./elf/./elf/dl-open.c:808
  22: dl_open_worker in ./elf/./elf/dl-open.c:771
  23: _dl_catch_exception in ./elf/./elf/dl-error-skeleton.c:208
  24: _dl_open in ./elf/./elf/dl-open.c:883
  25: dlopen_doit in ./dlfcn/./dlfcn/dlopen.c:56
  26: _dl_catch_exception in ./elf/./elf/dl-error-skeleton.c:208
  27: _dl_catch_error in ./elf/./elf/dl-error-skeleton.c:227
Uninitialised value was created by a stack allocation  1: TKey::ReadObjectAny(TClass const*) in /opt/root_src/io/io/src/TKey.cxx:1024

Conditional jump or move depends on uninitialised value(s)
  in TUrl::TUrl(char const*, bool) in /opt/root_src/core/base/src/TUrl.cxx:76
  1: TStorage::UpdateIsOnHeap(unsigned int const volatile&, unsigned int volatile&) in /opt/root_src/core/base/inc/TStorage.h:124
  2: TObject::TObject() in /opt/root_src/core/base/inc/TObject.h:260
  3: TUrl::TUrl(char const*, bool) in /opt/root_src/core/base/src/TUrl.cxx:76
  4: TArchiveFile::ParseUrl(char const*, TString&, TString&, TString&) in /opt/root_src/io/io/src/TArchiveFile.cxx:152
  5: TArchiveFile::Open(char const*, TFile*) in /opt/root_src/io/io/src/TArchiveFile.cxx:131
  6: TFile::TFile(char const*, char const*, char const*, int) in /opt/root_src/io/io/src/TFile.cxx:397
  7: TMemFile::TMemFile(char const*, char*, long long, char const*, char const*, int, long long) in /opt/root_src/io/io/src/TMemFile.cxx:173
  8: TMemFile::TMemFile(char const*, char const*, char const*, int, long long) in /opt/root_src/io/io/src/TMemFile.cxx:163
  9: std::_MakeUniq<TMemFile>::__single_object std::make_unique<TMemFile, char const (&) [9], char const (&) [9]>(char const (&) [9], char const (&) [9]) in /usr/include/c++/11/bits/unique_ptr.h:962
  10: void run<std::vector<unsigned char, std::allocator<unsigned char> > >(std::vector<unsigned char, std::allocator<unsigned char> > const&, bool, int) in /tmp/demoMem.C:46
  11: demoMem(bool, unsigned long, int) in /tmp/demoMem.C:63
  12: cling::IncrementalExecutor::executeWrapper(llvm::StringRef, cling::Value*) const in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  13: cling::Interpreter::RunFunction(clang::FunctionDecl const*, cling::Value*) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  14: cling::Interpreter::EvaluateInternal(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cling::CompilationOptions, cling::Value*, cling::Transaction**, unsigned long) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  15: cling::Interpreter::process(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cling::Value*, cling::Transaction**, bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  16: cling::MetaProcessor::process(llvm::StringRef, cling::Interpreter::CompilationResult&, cling::Value*, bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  17: HandleInterpreterException(cling::MetaProcessor*, char const*, cling::Interpreter::CompilationResult&, cling::Value*) in /opt/root_src/core/metacling/src/TCling.cxx:2438
  18: TCling::ProcessLine(char const*, TInterpreter::EErrorCode*) in /opt/root_src/core/metacling/src/TCling.cxx:2555
  19: TCling::ProcessLineSynch(char const*, TInterpreter::EErrorCode*) in /opt/root_src/core/metacling/src/TCling.cxx:3545
  20: TApplication::ExecuteFile(char const*, int*, bool) in /opt/root_src/core/base/src/TApplication.cxx:1865
  21: TApplication::ProcessFile(char const*, int*, bool) in /opt/root_src/core/base/src/TApplication.cxx:1737
  22: TApplication::ProcessLine(char const*, bool, int*) in /opt/root_src/core/base/src/TApplication.cxx:1710
  23: TRint::ProcessLineNr(char const*, char const*, int*) in /opt/root_src/core/rint/src/TRint.cxx:820
  24: TRint::Run(bool) in /opt/root_src/core/rint/src/TRint.cxx:461
  25: main in /opt/root_src/main/src/rmain.cxx:84
Uninitialised value was created by a stack allocation  1: TArchiveFile::ParseUrl(char const*, TString&, TString&, TString&) in /opt/root_src/io/io/src/TArchiveFile.cxx:151

Conditional jump or move depends on uninitialised value(s)
  in TKey::TKey(TObject const*, char const*, int, TDirectory*) in /opt/root_src/io/io/src/TKey.cxx:227
  1: TStorage::UpdateIsOnHeap(unsigned int const volatile&, unsigned int volatile&) in /opt/root_src/core/base/inc/TStorage.h:124
  2: TObject::TObject() in /opt/root_src/core/base/inc/TObject.h:260
  3: TNamed::TNamed(char const*, char const*) in /opt/root_src/core/base/inc/TNamed.h:37
  4: TKey::TKey(TObject const*, char const*, int, TDirectory*) in /opt/root_src/io/io/src/TKey.cxx:227
  5: TFile::WriteStreamerInfo() in /opt/root_src/io/io/src/TFile.cxx:3837
  6: TFile::Close(char const*) in /opt/root_src/io/io/src/TFile.cxx:952
  7: void run<std::vector<unsigned char, std::allocator<unsigned char> > >(std::vector<unsigned char, std::allocator<unsigned char> > const&, bool, int) in /tmp/demoMem.C:48
  8: demoMem(bool, unsigned long, int) in /tmp/demoMem.C:63
  9: cling::IncrementalExecutor::executeWrapper(llvm::StringRef, cling::Value*) const in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  10: cling::Interpreter::RunFunction(clang::FunctionDecl const*, cling::Value*) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  11: cling::Interpreter::EvaluateInternal(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cling::CompilationOptions, cling::Value*, cling::Transaction**, unsigned long) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  12: cling::Interpreter::process(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cling::Value*, cling::Transaction**, bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  13: cling::MetaProcessor::process(llvm::StringRef, cling::Interpreter::CompilationResult&, cling::Value*, bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  14: HandleInterpreterException(cling::MetaProcessor*, char const*, cling::Interpreter::CompilationResult&, cling::Value*) in /opt/root_src/core/metacling/src/TCling.cxx:2438
  15: TCling::ProcessLine(char const*, TInterpreter::EErrorCode*) in /opt/root_src/core/metacling/src/TCling.cxx:2555
  16: TCling::ProcessLineSynch(char const*, TInterpreter::EErrorCode*) in /opt/root_src/core/metacling/src/TCling.cxx:3545
  17: TApplication::ExecuteFile(char const*, int*, bool) in /opt/root_src/core/base/src/TApplication.cxx:1865
  18: TApplication::ProcessFile(char const*, int*, bool) in /opt/root_src/core/base/src/TApplication.cxx:1737
  19: TApplication::ProcessLine(char const*, bool, int*) in /opt/root_src/core/base/src/TApplication.cxx:1710
  20: TRint::ProcessLineNr(char const*, char const*, int*) in /opt/root_src/core/rint/src/TRint.cxx:820
  21: TRint::Run(bool) in /opt/root_src/core/rint/src/TRint.cxx:461
  22: main in /opt/root_src/main/src/rmain.cxx:84
Uninitialised value was created by a stack allocation  1: TFile::WriteStreamerInfo() in /opt/root_src/io/io/src/TFile.cxx:3775

96 bytes in 1 blocks are possibly lost in loss record 4,046 of 6,774
  in TCling::TCling(char const*, char const*, char const* const*, void*) in /opt/root_src/core/metacling/src/TCling.cxx:1543
  1: operator new(unsigned long) in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so
  2: clang::ASTReader::ASTReader(clang::Preprocessor&, clang::InMemoryModuleCache&, clang::ASTContext*, clang::PCHContainerReader const&, llvm::ArrayRef<std::shared_ptr<clang::ModuleFileExtension> >, llvm::StringRef, clang::DisableValidationForModuleKind, bool, bool, bool, bool, bool, std::unique_ptr<llvm::Timer, std::default_delete<llvm::Timer> >) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  3: clang::CompilerInstance::createASTReader() [clone .part.0] in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  4: cling::Interpreter::Interpreter(int, char const* const*, char const*, std::vector<std::shared_ptr<clang::ModuleFileExtension>, std::allocator<std::shared_ptr<clang::ModuleFileExtension> > > const&, void*, bool, cling::Interpreter const*) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  5: cling::Interpreter::Interpreter(int, char const* const*, char const*, std::vector<std::shared_ptr<clang::ModuleFileExtension>, std::allocator<std::shared_ptr<clang::ModuleFileExtension> > > const&, void*, bool) in /opt/root_src/interpreter/cling/include/cling/Interpreter/Interpreter.h:368
  6: std::_MakeUniq<cling::Interpreter>::__single_object std::make_unique<cling::Interpreter, unsigned long, char const**, TString&, std::vector<std::shared_ptr<clang::ModuleFileExtension>, std::allocator<std::shared_ptr<clang::ModuleFileExtension> > >&, void*&>(unsigned long&&, char const**&&, TString&, std::vector<std::shared_ptr<clang::ModuleFileExtension>, std::allocator<std::shared_ptr<clang::ModuleFileExtension> > >&, void*&) in /usr/include/c++/11/bits/unique_ptr.h:962
  7: TCling::TCling(char const*, char const*, char const* const*, void*) in /opt/root_src/core/metacling/src/TCling.cxx:1543
  8: CreateInterpreter in /opt/root_src/core/metacling/src/TCling.cxx:611
  9: TROOT::InitInterpreter() in /opt/root_src/core/base/src/TROOT.cxx:2087
  10: ROOT::Internal::GetROOT2() in /opt/root_src/core/base/src/TROOT.cxx:389
  11: ROOT::GetROOT() in /opt/root_src/core/base/src/TROOT.cxx:471
  12: TApplication::TApplication(char const*, int*, char**, void*, int) in /opt/root_src/core/base/src/TApplication.cxx:153
  13: TRint::TRint(char const*, int*, char**, void*, int, bool, bool) in /opt/root_src/core/rint/src/TRint.cxx:174
  14: main in /opt/root_src/main/src/rmain.cxx:81

96 bytes in 1 blocks are possibly lost in loss record 4,047 of 6,774
  in TCling::TCling(char const*, char const*, char const* const*, void*) in /opt/root_src/core/metacling/src/TCling.cxx:1543
  1: operator new(unsigned long) in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so
  2: clang::ASTReader::ASTReader(clang::Preprocessor&, clang::InMemoryModuleCache&, clang::ASTContext*, clang::PCHContainerReader const&, llvm::ArrayRef<std::shared_ptr<clang::ModuleFileExtension> >, llvm::StringRef, clang::DisableValidationForModuleKind, bool, bool, bool, bool, bool, std::unique_ptr<llvm::Timer, std::default_delete<llvm::Timer> >) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  3: clang::CompilerInstance::createASTReader() [clone .part.0] in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  4: cling::Interpreter::Interpreter(int, char const* const*, char const*, std::vector<std::shared_ptr<clang::ModuleFileExtension>, std::allocator<std::shared_ptr<clang::ModuleFileExtension> > > const&, void*, bool, cling::Interpreter const*) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  5: cling::Interpreter::Interpreter(int, char const* const*, char const*, std::vector<std::shared_ptr<clang::ModuleFileExtension>, std::allocator<std::shared_ptr<clang::ModuleFileExtension> > > const&, void*, bool) in /opt/root_src/interpreter/cling/include/cling/Interpreter/Interpreter.h:368
  6: std::_MakeUniq<cling::Interpreter>::__single_object std::make_unique<cling::Interpreter, unsigned long, char const**, TString&, std::vector<std::shared_ptr<clang::ModuleFileExtension>, std::allocator<std::shared_ptr<clang::ModuleFileExtension> > >&, void*&>(unsigned long&&, char const**&&, TString&, std::vector<std::shared_ptr<clang::ModuleFileExtension>, std::allocator<std::shared_ptr<clang::ModuleFileExtension> > >&, void*&) in /usr/include/c++/11/bits/unique_ptr.h:962
  7: TCling::TCling(char const*, char const*, char const* const*, void*) in /opt/root_src/core/metacling/src/TCling.cxx:1543
  8: CreateInterpreter in /opt/root_src/core/metacling/src/TCling.cxx:611
  9: TROOT::InitInterpreter() in /opt/root_src/core/base/src/TROOT.cxx:2087
  10: ROOT::Internal::GetROOT2() in /opt/root_src/core/base/src/TROOT.cxx:389
  11: ROOT::GetROOT() in /opt/root_src/core/base/src/TROOT.cxx:471
  12: TApplication::TApplication(char const*, int*, char**, void*, int) in /opt/root_src/core/base/src/TApplication.cxx:153
  13: TRint::TRint(char const*, int*, char**, void*, int, bool, bool) in /opt/root_src/core/rint/src/TRint.cxx:174
  14: main in /opt/root_src/main/src/rmain.cxx:81

112 bytes in 1 blocks are definitely lost in loss record 4,249 of 6,774
  in GetClassSharedLibsForModule(char const*, cling::LookupHelper&) in /opt/root_src/core/metacling/src/TCling.cxx:6951
  1: malloc in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so
  2: clang::Parser::AnnotateTemplateIdToken(clang::OpaquePtr<clang::TemplateName>, clang::TemplateNameKind, clang::CXXScopeSpec&, clang::SourceLocation, clang::UnqualifiedId&, bool, bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  3: clang::Parser::ParseOptionalCXXScopeSpecifier(clang::CXXScopeSpec&, clang::OpaquePtr<clang::QualType>, bool, bool, bool*, bool, clang::IdentifierInfo**, bool, bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  4: clang::Parser::TryAnnotateCXXScopeToken(bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  5: cling::LookupHelper::findScope(llvm::StringRef, cling::LookupHelper::DiagSetting, clang::Type const**, bool) const in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  6: GetClassSharedLibsForModule(char const*, cling::LookupHelper&) in /opt/root_src/core/metacling/src/TCling.cxx:6951
  7: TCling::GetClassSharedLibs(char const*) in /opt/root_src/core/metacling/src/TCling.cxx:7057
  8: TCling::ShallowAutoLoadImpl(char const*) in /opt/root_src/core/metacling/src/TCling.cxx:6113
  9: TCling::DeepAutoLoadImpl(char const*, std::unordered_set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, bool) in /opt/root_src/core/metacling/src/TCling.cxx:6166
  10: TCling::AutoLoad(char const*, bool) in /opt/root_src/core/metacling/src/TCling.cxx:6278
  11: TCling::AutoLoad(std::type_info const&, bool) in /opt/root_src/core/metacling/src/TCling.cxx:6097
  12: TClass::GetClass(std::type_info const&, bool, bool, unsigned long, unsigned long) in /opt/root_src/core/meta/src/TClass.cxx:3316
  13: void run<std::vector<unsigned char, std::allocator<unsigned char> > >(std::vector<unsigned char, std::allocator<unsigned char> > const&, bool, int) in /tmp/demoMem.C:26
  14: demoMem(bool, unsigned long, int) in /tmp/demoMem.C:63
  15: cling::IncrementalExecutor::executeWrapper(llvm::StringRef, cling::Value*) const in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  16: cling::Interpreter::RunFunction(clang::FunctionDecl const*, cling::Value*) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  17: cling::Interpreter::EvaluateInternal(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cling::CompilationOptions, cling::Value*, cling::Transaction**, unsigned long) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  18: cling::Interpreter::process(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cling::Value*, cling::Transaction**, bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  19: cling::MetaProcessor::process(llvm::StringRef, cling::Interpreter::CompilationResult&, cling::Value*, bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  20: HandleInterpreterException(cling::MetaProcessor*, char const*, cling::Interpreter::CompilationResult&, cling::Value*) in /opt/root_src/core/metacling/src/TCling.cxx:2438
  21: TCling::ProcessLine(char const*, TInterpreter::EErrorCode*) in /opt/root_src/core/metacling/src/TCling.cxx:2555
  22: TCling::ProcessLineSynch(char const*, TInterpreter::EErrorCode*) in /opt/root_src/core/metacling/src/TCling.cxx:3545
  23: TApplication::ExecuteFile(char const*, int*, bool) in /opt/root_src/core/base/src/TApplication.cxx:1865
  24: TApplication::ProcessFile(char const*, int*, bool) in /opt/root_src/core/base/src/TApplication.cxx:1737
  25: TApplication::ProcessLine(char const*, bool, int*) in /opt/root_src/core/base/src/TApplication.cxx:1710

112 bytes in 1 blocks are definitely lost in loss record 4,250 of 6,774
  in TClingClassInfo::TClingClassInfo(cling::Interpreter*, char const*, bool) in /opt/root_src/core/metacling/src/TClingClassInfo.cxx:87
  1: malloc in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so
  2: clang::Parser::AnnotateTemplateIdToken(clang::OpaquePtr<clang::TemplateName>, clang::TemplateNameKind, clang::CXXScopeSpec&, clang::SourceLocation, clang::UnqualifiedId&, bool, bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  3: clang::Parser::ParseOptionalCXXScopeSpecifier(clang::CXXScopeSpec&, clang::OpaquePtr<clang::QualType>, bool, bool, bool*, bool, clang::IdentifierInfo**, bool, bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  4: clang::Parser::TryAnnotateCXXScopeToken(bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  5: cling::LookupHelper::findScope(llvm::StringRef, cling::LookupHelper::DiagSetting, clang::Type const**, bool) const in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  6: TClingClassInfo::TClingClassInfo(cling::Interpreter*, char const*, bool) in /opt/root_src/core/metacling/src/TClingClassInfo.cxx:87
  7: TCling::ClassInfo_Factory(char const*) const in /opt/root_src/core/metacling/src/TCling.cxx:8175
  8: TCling::DeepAutoLoadImpl(char const*, std::unordered_set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, bool) in /opt/root_src/core/metacling/src/TCling.cxx:6191
  9: TCling::AutoLoad(char const*, bool) in /opt/root_src/core/metacling/src/TCling.cxx:6278
  10: TCling::AutoLoad(std::type_info const&, bool) in /opt/root_src/core/metacling/src/TCling.cxx:6097
  11: TClass::GetClass(std::type_info const&, bool, bool, unsigned long, unsigned long) in /opt/root_src/core/meta/src/TClass.cxx:3316
  12: void run<std::vector<unsigned char, std::allocator<unsigned char> > >(std::vector<unsigned char, std::allocator<unsigned char> > const&, bool, int) in /tmp/demoMem.C:26
  13: demoMem(bool, unsigned long, int) in /tmp/demoMem.C:63
  14: cling::IncrementalExecutor::executeWrapper(llvm::StringRef, cling::Value*) const in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  15: cling::Interpreter::RunFunction(clang::FunctionDecl const*, cling::Value*) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  16: cling::Interpreter::EvaluateInternal(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cling::CompilationOptions, cling::Value*, cling::Transaction**, unsigned long) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  17: cling::Interpreter::process(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cling::Value*, cling::Transaction**, bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  18: cling::MetaProcessor::process(llvm::StringRef, cling::Interpreter::CompilationResult&, cling::Value*, bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  19: HandleInterpreterException(cling::MetaProcessor*, char const*, cling::Interpreter::CompilationResult&, cling::Value*) in /opt/root_src/core/metacling/src/TCling.cxx:2438
  20: TCling::ProcessLine(char const*, TInterpreter::EErrorCode*) in /opt/root_src/core/metacling/src/TCling.cxx:2555
  21: TCling::ProcessLineSynch(char const*, TInterpreter::EErrorCode*) in /opt/root_src/core/metacling/src/TCling.cxx:3545
  22: TApplication::ExecuteFile(char const*, int*, bool) in /opt/root_src/core/base/src/TApplication.cxx:1865
  23: TApplication::ProcessFile(char const*, int*, bool) in /opt/root_src/core/base/src/TApplication.cxx:1737
  24: TApplication::ProcessLine(char const*, bool, int*) in /opt/root_src/core/base/src/TApplication.cxx:1710
  25: TRint::ProcessLineNr(char const*, char const*, int*) in /opt/root_src/core/rint/src/TRint.cxx:820

112 bytes in 1 blocks are definitely lost in loss record 4,251 of 6,774
  in TCling::CheckClassInfo(char const*, bool, bool) in /opt/root_src/core/metacling/src/TCling.cxx:4195
  1: malloc in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so
  2: clang::Parser::AnnotateTemplateIdToken(clang::OpaquePtr<clang::TemplateName>, clang::TemplateNameKind, clang::CXXScopeSpec&, clang::SourceLocation, clang::UnqualifiedId&, bool, bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  3: clang::Parser::ParseOptionalCXXScopeSpecifier(clang::CXXScopeSpec&, clang::OpaquePtr<clang::QualType>, bool, bool, bool*, bool, clang::IdentifierInfo**, bool, bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  4: clang::Parser::TryAnnotateCXXScopeToken(bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  5: cling::LookupHelper::findScope(llvm::StringRef, cling::LookupHelper::DiagSetting, clang::Type const**, bool) const in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  6: TCling::CheckClassInfo(char const*, bool, bool) in /opt/root_src/core/metacling/src/TCling.cxx:4195
  7: TClass::Init(char const*, short, std::type_info const*, TVirtualIsAProxy*, char const*, char const*, int, int, ClassInfo_t*, bool) in /opt/root_src/core/meta/src/TClass.cxx:1516
  8: TClass::TClass(char const*, short, std::type_info const&, TVirtualIsAProxy*, char const*, char const*, int, int, bool) in /opt/root_src/core/meta/src/TClass.cxx:1329
  9: ROOT::CreateClass(char const*, short, std::type_info const&, TVirtualIsAProxy*, char const*, char const*, int, int) in /opt/root_src/core/meta/src/TClass.cxx:5877
  10: ROOT::Internal::TDefaultInitBehavior::CreateClass(char const*, short, std::type_info const&, TVirtualIsAProxy*, char const*, char const*, int, int) const in /home/userf/build/build-root-Desktop-Debug/include/Rtypes.h:181
  11: ROOT::TGenericClassInfo::GetClass() in /opt/root_src/core/meta/src/TGenericClassInfo.cxx:255
  12: ROOT::vectorlEunsignedsPchargR_Dictionary() in /home/userf/build/build-root-Desktop-Debug/core/clingutils/G__vectorDict.cxx:274
  13: TClass::GetClass(std::type_info const&, bool, bool, unsigned long, unsigned long) in /opt/root_src/core/meta/src/TClass.cxx:3294
  14: TClass::GetClass(std::type_info const&, bool, bool, unsigned long, unsigned long) in /opt/root_src/core/meta/src/TClass.cxx:3319
  15: void run<std::vector<unsigned char, std::allocator<unsigned char> > >(std::vector<unsigned char, std::allocator<unsigned char> > const&, bool, int) in /tmp/demoMem.C:26
  16: demoMem(bool, unsigned long, int) in /tmp/demoMem.C:63
  17: cling::IncrementalExecutor::executeWrapper(llvm::StringRef, cling::Value*) const in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  18: cling::Interpreter::RunFunction(clang::FunctionDecl const*, cling::Value*) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  19: cling::Interpreter::EvaluateInternal(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cling::CompilationOptions, cling::Value*, cling::Transaction**, unsigned long) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  20: cling::Interpreter::process(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cling::Value*, cling::Transaction**, bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  21: cling::MetaProcessor::process(llvm::StringRef, cling::Interpreter::CompilationResult&, cling::Value*, bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  22: HandleInterpreterException(cling::MetaProcessor*, char const*, cling::Interpreter::CompilationResult&, cling::Value*) in /opt/root_src/core/metacling/src/TCling.cxx:2438
  23: TCling::ProcessLine(char const*, TInterpreter::EErrorCode*) in /opt/root_src/core/metacling/src/TCling.cxx:2555
  24: TCling::ProcessLineSynch(char const*, TInterpreter::EErrorCode*) in /opt/root_src/core/metacling/src/TCling.cxx:3545
  25: TApplication::ExecuteFile(char const*, int*, bool) in /opt/root_src/core/base/src/TApplication.cxx:1865

112 bytes in 1 blocks are definitely lost in loss record 4,252 of 6,774
  in TClingClassInfo::TClingClassInfo(cling::Interpreter*, char const*, bool) in /opt/root_src/core/metacling/src/TClingClassInfo.cxx:87
  1: malloc in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so
  2: clang::Parser::AnnotateTemplateIdToken(clang::OpaquePtr<clang::TemplateName>, clang::TemplateNameKind, clang::CXXScopeSpec&, clang::SourceLocation, clang::UnqualifiedId&, bool, bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  3: clang::Parser::ParseOptionalCXXScopeSpecifier(clang::CXXScopeSpec&, clang::OpaquePtr<clang::QualType>, bool, bool, bool*, bool, clang::IdentifierInfo**, bool, bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  4: clang::Parser::TryAnnotateCXXScopeToken(bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  5: cling::LookupHelper::findScope(llvm::StringRef, cling::LookupHelper::DiagSetting, clang::Type const**, bool) const in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  6: TClingClassInfo::TClingClassInfo(cling::Interpreter*, char const*, bool) in /opt/root_src/core/metacling/src/TClingClassInfo.cxx:87
  7: TCling::SetClassInfo(TClass*, bool) in /opt/root_src/core/metacling/src/TCling.cxx:4049
  8: TClass::Init(char const*, short, std::type_info const*, TVirtualIsAProxy*, char const*, char const*, int, int, ClassInfo_t*, bool) in /opt/root_src/core/meta/src/TClass.cxx:1517
  9: TClass::TClass(char const*, short, std::type_info const&, TVirtualIsAProxy*, char const*, char const*, int, int, bool) in /opt/root_src/core/meta/src/TClass.cxx:1329
  10: ROOT::CreateClass(char const*, short, std::type_info const&, TVirtualIsAProxy*, char const*, char const*, int, int) in /opt/root_src/core/meta/src/TClass.cxx:5877
  11: ROOT::Internal::TDefaultInitBehavior::CreateClass(char const*, short, std::type_info const&, TVirtualIsAProxy*, char const*, char const*, int, int) const in /home/userf/build/build-root-Desktop-Debug/include/Rtypes.h:181
  12: ROOT::TGenericClassInfo::GetClass() in /opt/root_src/core/meta/src/TGenericClassInfo.cxx:255
  13: ROOT::vectorlEunsignedsPchargR_Dictionary() in /home/userf/build/build-root-Desktop-Debug/core/clingutils/G__vectorDict.cxx:274
  14: TClass::GetClass(std::type_info const&, bool, bool, unsigned long, unsigned long) in /opt/root_src/core/meta/src/TClass.cxx:3294
  15: TClass::GetClass(std::type_info const&, bool, bool, unsigned long, unsigned long) in /opt/root_src/core/meta/src/TClass.cxx:3319
  16: void run<std::vector<unsigned char, std::allocator<unsigned char> > >(std::vector<unsigned char, std::allocator<unsigned char> > const&, bool, int) in /tmp/demoMem.C:26
  17: demoMem(bool, unsigned long, int) in /tmp/demoMem.C:63
  18: cling::IncrementalExecutor::executeWrapper(llvm::StringRef, cling::Value*) const in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  19: cling::Interpreter::RunFunction(clang::FunctionDecl const*, cling::Value*) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  20: cling::Interpreter::EvaluateInternal(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cling::CompilationOptions, cling::Value*, cling::Transaction**, unsigned long) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  21: cling::Interpreter::process(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cling::Value*, cling::Transaction**, bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  22: cling::MetaProcessor::process(llvm::StringRef, cling::Interpreter::CompilationResult&, cling::Value*, bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  23: HandleInterpreterException(cling::MetaProcessor*, char const*, cling::Interpreter::CompilationResult&, cling::Value*) in /opt/root_src/core/metacling/src/TCling.cxx:2438
  24: TCling::ProcessLine(char const*, TInterpreter::EErrorCode*) in /opt/root_src/core/metacling/src/TCling.cxx:2555
  25: TCling::ProcessLineSynch(char const*, TInterpreter::EErrorCode*) in /opt/root_src/core/metacling/src/TCling.cxx:3545

112 bytes in 1 blocks are definitely lost in loss record 4,253 of 6,774
  in TCling::CheckClassInfo(char const*, bool, bool) in /opt/root_src/core/metacling/src/TCling.cxx:4195
  1: malloc in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so
  2: clang::Parser::AnnotateTemplateIdToken(clang::OpaquePtr<clang::TemplateName>, clang::TemplateNameKind, clang::CXXScopeSpec&, clang::SourceLocation, clang::UnqualifiedId&, bool, bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  3: clang::Parser::ParseOptionalCXXScopeSpecifier(clang::CXXScopeSpec&, clang::OpaquePtr<clang::QualType>, bool, bool, bool*, bool, clang::IdentifierInfo**, bool, bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  4: clang::Parser::TryAnnotateCXXScopeToken(bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  5: cling::LookupHelper::findScope(llvm::StringRef, cling::LookupHelper::DiagSetting, clang::Type const**, bool) const in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  6: TCling::CheckClassInfo(char const*, bool, bool) in /opt/root_src/core/metacling/src/TCling.cxx:4195
  7: TClass::Init(char const*, short, std::type_info const*, TVirtualIsAProxy*, char const*, char const*, int, int, ClassInfo_t*, bool) in /opt/root_src/core/meta/src/TClass.cxx:1516
  8: TClass::TClass(char const*, short, std::type_info const&, TVirtualIsAProxy*, char const*, char const*, int, int, bool) in /opt/root_src/core/meta/src/TClass.cxx:1329
  9: ROOT::CreateClass(char const*, short, std::type_info const&, TVirtualIsAProxy*, char const*, char const*, int, int) in /opt/root_src/core/meta/src/TClass.cxx:5877
  10: ROOT::Internal::TDefaultInitBehavior::CreateClass(char const*, short, std::type_info const&, TVirtualIsAProxy*, char const*, char const*, int, int) const in /home/userf/build/build-root-Desktop-Debug/include/Rtypes.h:181
  11: ROOT::TGenericClassInfo::GetClass() in /opt/root_src/core/meta/src/TGenericClassInfo.cxx:255
  12: ROOT::vectorlEfloatgR_Dictionary() in /home/userf/build/build-root-Desktop-Debug/core/clingutils/G__vectorDict.cxx:469
  13: TClass::GetClass(std::type_info const&, bool, bool, unsigned long, unsigned long) in /opt/root_src/core/meta/src/TClass.cxx:3294
  14: void run<std::vector<float, std::allocator<float> > >(std::vector<float, std::allocator<float> > const&, bool, int) in /tmp/demoMem.C:26
  15: demoMem(bool, unsigned long, int) in /tmp/demoMem.C:73
  16: cling::IncrementalExecutor::executeWrapper(llvm::StringRef, cling::Value*) const in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  17: cling::Interpreter::RunFunction(clang::FunctionDecl const*, cling::Value*) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  18: cling::Interpreter::EvaluateInternal(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cling::CompilationOptions, cling::Value*, cling::Transaction**, unsigned long) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  19: cling::Interpreter::process(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cling::Value*, cling::Transaction**, bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  20: cling::MetaProcessor::process(llvm::StringRef, cling::Interpreter::CompilationResult&, cling::Value*, bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  21: HandleInterpreterException(cling::MetaProcessor*, char const*, cling::Interpreter::CompilationResult&, cling::Value*) in /opt/root_src/core/metacling/src/TCling.cxx:2438
  22: TCling::ProcessLine(char const*, TInterpreter::EErrorCode*) in /opt/root_src/core/metacling/src/TCling.cxx:2555
  23: TCling::ProcessLineSynch(char const*, TInterpreter::EErrorCode*) in /opt/root_src/core/metacling/src/TCling.cxx:3545
  24: TApplication::ExecuteFile(char const*, int*, bool) in /opt/root_src/core/base/src/TApplication.cxx:1865
  25: TApplication::ProcessFile(char const*, int*, bool) in /opt/root_src/core/base/src/TApplication.cxx:1737

112 bytes in 1 blocks are definitely lost in loss record 4,254 of 6,774
  in TClingClassInfo::TClingClassInfo(cling::Interpreter*, char const*, bool) in /opt/root_src/core/metacling/src/TClingClassInfo.cxx:87
  1: malloc in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so
  2: clang::Parser::AnnotateTemplateIdToken(clang::OpaquePtr<clang::TemplateName>, clang::TemplateNameKind, clang::CXXScopeSpec&, clang::SourceLocation, clang::UnqualifiedId&, bool, bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  3: clang::Parser::ParseOptionalCXXScopeSpecifier(clang::CXXScopeSpec&, clang::OpaquePtr<clang::QualType>, bool, bool, bool*, bool, clang::IdentifierInfo**, bool, bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  4: clang::Parser::TryAnnotateCXXScopeToken(bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  5: cling::LookupHelper::findScope(llvm::StringRef, cling::LookupHelper::DiagSetting, clang::Type const**, bool) const in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  6: TClingClassInfo::TClingClassInfo(cling::Interpreter*, char const*, bool) in /opt/root_src/core/metacling/src/TClingClassInfo.cxx:87
  7: TCling::SetClassInfo(TClass*, bool) in /opt/root_src/core/metacling/src/TCling.cxx:4049
  8: TClass::Init(char const*, short, std::type_info const*, TVirtualIsAProxy*, char const*, char const*, int, int, ClassInfo_t*, bool) in /opt/root_src/core/meta/src/TClass.cxx:1517
  9: TClass::TClass(char const*, short, std::type_info const&, TVirtualIsAProxy*, char const*, char const*, int, int, bool) in /opt/root_src/core/meta/src/TClass.cxx:1329
  10: ROOT::CreateClass(char const*, short, std::type_info const&, TVirtualIsAProxy*, char const*, char const*, int, int) in /opt/root_src/core/meta/src/TClass.cxx:5877
  11: ROOT::Internal::TDefaultInitBehavior::CreateClass(char const*, short, std::type_info const&, TVirtualIsAProxy*, char const*, char const*, int, int) const in /home/userf/build/build-root-Desktop-Debug/include/Rtypes.h:181
  12: ROOT::TGenericClassInfo::GetClass() in /opt/root_src/core/meta/src/TGenericClassInfo.cxx:255
  13: ROOT::vectorlEfloatgR_Dictionary() in /home/userf/build/build-root-Desktop-Debug/core/clingutils/G__vectorDict.cxx:469
  14: TClass::GetClass(std::type_info const&, bool, bool, unsigned long, unsigned long) in /opt/root_src/core/meta/src/TClass.cxx:3294
  15: void run<std::vector<float, std::allocator<float> > >(std::vector<float, std::allocator<float> > const&, bool, int) in /tmp/demoMem.C:26
  16: demoMem(bool, unsigned long, int) in /tmp/demoMem.C:73
  17: cling::IncrementalExecutor::executeWrapper(llvm::StringRef, cling::Value*) const in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  18: cling::Interpreter::RunFunction(clang::FunctionDecl const*, cling::Value*) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  19: cling::Interpreter::EvaluateInternal(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cling::CompilationOptions, cling::Value*, cling::Transaction**, unsigned long) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  20: cling::Interpreter::process(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cling::Value*, cling::Transaction**, bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  21: cling::MetaProcessor::process(llvm::StringRef, cling::Interpreter::CompilationResult&, cling::Value*, bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  22: HandleInterpreterException(cling::MetaProcessor*, char const*, cling::Interpreter::CompilationResult&, cling::Value*) in /opt/root_src/core/metacling/src/TCling.cxx:2438
  23: TCling::ProcessLine(char const*, TInterpreter::EErrorCode*) in /opt/root_src/core/metacling/src/TCling.cxx:2555
  24: TCling::ProcessLineSynch(char const*, TInterpreter::EErrorCode*) in /opt/root_src/core/metacling/src/TCling.cxx:3545
  25: TApplication::ExecuteFile(char const*, int*, bool) in /opt/root_src/core/base/src/TApplication.cxx:1865

112 bytes in 1 blocks are definitely lost in loss record 4,255 of 6,774
  in TCling::CheckClassInfo(char const*, bool, bool) in /opt/root_src/core/metacling/src/TCling.cxx:4195
  1: malloc in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so
  2: clang::Parser::AnnotateTemplateIdToken(clang::OpaquePtr<clang::TemplateName>, clang::TemplateNameKind, clang::CXXScopeSpec&, clang::SourceLocation, clang::UnqualifiedId&, bool, bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  3: clang::Parser::ParseOptionalCXXScopeSpecifier(clang::CXXScopeSpec&, clang::OpaquePtr<clang::QualType>, bool, bool, bool*, bool, clang::IdentifierInfo**, bool, bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  4: clang::Parser::TryAnnotateCXXScopeToken(bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  5: cling::LookupHelper::findScope(llvm::StringRef, cling::LookupHelper::DiagSetting, clang::Type const**, bool) const in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  6: TCling::CheckClassInfo(char const*, bool, bool) in /opt/root_src/core/metacling/src/TCling.cxx:4195
  7: TClass::Init(char const*, short, std::type_info const*, TVirtualIsAProxy*, char const*, char const*, int, int, ClassInfo_t*, bool) in /opt/root_src/core/meta/src/TClass.cxx:1516
  8: TClass::TClass(char const*, short, std::type_info const&, TVirtualIsAProxy*, char const*, char const*, int, int, bool) in /opt/root_src/core/meta/src/TClass.cxx:1329
  9: ROOT::CreateClass(char const*, short, std::type_info const&, TVirtualIsAProxy*, char const*, char const*, int, int) in /opt/root_src/core/meta/src/TClass.cxx:5877
  10: ROOT::Internal::TDefaultInitBehavior::CreateClass(char const*, short, std::type_info const&, TVirtualIsAProxy*, char const*, char const*, int, int) const in /home/userf/build/build-root-Desktop-Debug/include/Rtypes.h:181
  11: ROOT::TGenericClassInfo::GetClass() in /opt/root_src/core/meta/src/TGenericClassInfo.cxx:255
  12: ROOT::vectorlEboolgR_Dictionary() in /home/userf/build/build-root-Desktop-Debug/core/clingutils/G__vectorDict.cxx:794
  13: TClass::GetClass(std::type_info const&, bool, bool, unsigned long, unsigned long) in /opt/root_src/core/meta/src/TClass.cxx:3294
  14: void run<std::vector<bool, std::allocator<bool> > >(std::vector<bool, std::allocator<bool> > const&, bool, int) in /tmp/demoMem.C:26
  15: demoMem(bool, unsigned long, int) in /tmp/demoMem.C:82
  16: cling::IncrementalExecutor::executeWrapper(llvm::StringRef, cling::Value*) const in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  17: cling::Interpreter::RunFunction(clang::FunctionDecl const*, cling::Value*) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  18: cling::Interpreter::EvaluateInternal(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cling::CompilationOptions, cling::Value*, cling::Transaction**, unsigned long) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  19: cling::Interpreter::process(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cling::Value*, cling::Transaction**, bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  20: cling::MetaProcessor::process(llvm::StringRef, cling::Interpreter::CompilationResult&, cling::Value*, bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  21: HandleInterpreterException(cling::MetaProcessor*, char const*, cling::Interpreter::CompilationResult&, cling::Value*) in /opt/root_src/core/metacling/src/TCling.cxx:2438
  22: TCling::ProcessLine(char const*, TInterpreter::EErrorCode*) in /opt/root_src/core/metacling/src/TCling.cxx:2555
  23: TCling::ProcessLineSynch(char const*, TInterpreter::EErrorCode*) in /opt/root_src/core/metacling/src/TCling.cxx:3545
  24: TApplication::ExecuteFile(char const*, int*, bool) in /opt/root_src/core/base/src/TApplication.cxx:1865
  25: TApplication::ProcessFile(char const*, int*, bool) in /opt/root_src/core/base/src/TApplication.cxx:1737

112 bytes in 1 blocks are definitely lost in loss record 4,256 of 6,774
  in TClingClassInfo::TClingClassInfo(cling::Interpreter*, char const*, bool) in /opt/root_src/core/metacling/src/TClingClassInfo.cxx:87
  1: malloc in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so
  2: clang::Parser::AnnotateTemplateIdToken(clang::OpaquePtr<clang::TemplateName>, clang::TemplateNameKind, clang::CXXScopeSpec&, clang::SourceLocation, clang::UnqualifiedId&, bool, bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  3: clang::Parser::ParseOptionalCXXScopeSpecifier(clang::CXXScopeSpec&, clang::OpaquePtr<clang::QualType>, bool, bool, bool*, bool, clang::IdentifierInfo**, bool, bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  4: clang::Parser::TryAnnotateCXXScopeToken(bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  5: cling::LookupHelper::findScope(llvm::StringRef, cling::LookupHelper::DiagSetting, clang::Type const**, bool) const in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  6: TClingClassInfo::TClingClassInfo(cling::Interpreter*, char const*, bool) in /opt/root_src/core/metacling/src/TClingClassInfo.cxx:87
  7: TCling::SetClassInfo(TClass*, bool) in /opt/root_src/core/metacling/src/TCling.cxx:4049
  8: TClass::Init(char const*, short, std::type_info const*, TVirtualIsAProxy*, char const*, char const*, int, int, ClassInfo_t*, bool) in /opt/root_src/core/meta/src/TClass.cxx:1517
  9: TClass::TClass(char const*, short, std::type_info const&, TVirtualIsAProxy*, char const*, char const*, int, int, bool) in /opt/root_src/core/meta/src/TClass.cxx:1329
  10: ROOT::CreateClass(char const*, short, std::type_info const&, TVirtualIsAProxy*, char const*, char const*, int, int) in /opt/root_src/core/meta/src/TClass.cxx:5877
  11: ROOT::Internal::TDefaultInitBehavior::CreateClass(char const*, short, std::type_info const&, TVirtualIsAProxy*, char const*, char const*, int, int) const in /home/userf/build/build-root-Desktop-Debug/include/Rtypes.h:181
  12: ROOT::TGenericClassInfo::GetClass() in /opt/root_src/core/meta/src/TGenericClassInfo.cxx:255
  13: ROOT::vectorlEboolgR_Dictionary() in /home/userf/build/build-root-Desktop-Debug/core/clingutils/G__vectorDict.cxx:794
  14: TClass::GetClass(std::type_info const&, bool, bool, unsigned long, unsigned long) in /opt/root_src/core/meta/src/TClass.cxx:3294
  15: void run<std::vector<bool, std::allocator<bool> > >(std::vector<bool, std::allocator<bool> > const&, bool, int) in /tmp/demoMem.C:26
  16: demoMem(bool, unsigned long, int) in /tmp/demoMem.C:82
  17: cling::IncrementalExecutor::executeWrapper(llvm::StringRef, cling::Value*) const in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  18: cling::Interpreter::RunFunction(clang::FunctionDecl const*, cling::Value*) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  19: cling::Interpreter::EvaluateInternal(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cling::CompilationOptions, cling::Value*, cling::Transaction**, unsigned long) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  20: cling::Interpreter::process(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cling::Value*, cling::Transaction**, bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  21: cling::MetaProcessor::process(llvm::StringRef, cling::Interpreter::CompilationResult&, cling::Value*, bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  22: HandleInterpreterException(cling::MetaProcessor*, char const*, cling::Interpreter::CompilationResult&, cling::Value*) in /opt/root_src/core/metacling/src/TCling.cxx:2438
  23: TCling::ProcessLine(char const*, TInterpreter::EErrorCode*) in /opt/root_src/core/metacling/src/TCling.cxx:2555
  24: TCling::ProcessLineSynch(char const*, TInterpreter::EErrorCode*) in /opt/root_src/core/metacling/src/TCling.cxx:3545
  25: TApplication::ExecuteFile(char const*, int*, bool) in /opt/root_src/core/base/src/TApplication.cxx:1865

448 bytes in 3 blocks are definitely lost in loss record 4,858 of 6,774
  in GetClassSharedLibsForModule(char const*, cling::LookupHelper&) in /opt/root_src/core/metacling/src/TCling.cxx:6951
  1: malloc in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so
  2: clang::Parser::AnnotateTemplateIdToken(clang::OpaquePtr<clang::TemplateName>, clang::TemplateNameKind, clang::CXXScopeSpec&, clang::SourceLocation, clang::UnqualifiedId&, bool, bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  3: clang::Parser::ParseOptionalCXXScopeSpecifier(clang::CXXScopeSpec&, clang::OpaquePtr<clang::QualType>, bool, bool, bool*, bool, clang::IdentifierInfo**, bool, bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  4: clang::Parser::TryAnnotateCXXScopeToken(bool) in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  5: cling::LookupHelper::findScope(llvm::StringRef, cling::LookupHelper::DiagSetting, clang::Type const**, bool) const in /home/userf/build/build-root-Desktop-Debug/lib/libCling.so
  6: GetClassSharedLibsForModule(char const*, cling::LookupHelper&) in /opt/root_src/core/metacling/src/TCling.cxx:6951
  7: TCling::GetClassSharedLibs(char const*) in /opt/root_src/core/metacling/src/TCling.cxx:7057
  8: TCling::ShallowAutoLoadImpl(char const*) in /opt/root_src/core/metacling/src/TCling.cxx:6113
  9: TCling::DeepAutoLoadImpl(char const*, std::unordered_set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, bool) in /opt/root_src/core/metacling/src/TCling.cxx:6166
  10: TCling::AutoLoad(char const*, bool) in /opt/root_src/core/metacling/src/TCling.cxx:6278
  11: TClass::LoadClassDefault(char const*, bool) in /opt/root_src/core/meta/src/TClass.cxx:5779
  12: TClass::LoadClass(char const*, bool) in /opt/root_src/core/meta/src/TClass.cxx:5756
  13: TROOT::LoadClass(char const*, bool) const in /opt/root_src/core/base/src/TROOT.cxx:2130
  14: TClass::GetClass(ClassInfo_t*, bool, bool) in /opt/root_src/core/meta/src/TClass.cxx:3379
  15: TBaseClass::GetClassPointer(bool) in /opt/root_src/core/meta/src/TBaseClass.cxx:66
  16: TClass::GetBaseClass(TClass const*) in /opt/root_src/core/meta/src/TClass.cxx:2687
  17: TClass::InheritsFrom(TClass const*) const in /opt/root_src/core/meta/src/TClass.cxx:4905
  18: TClass::Property() const in /opt/root_src/core/meta/src/TClass.cxx:6111
  19: TClass::ClassProperty() const in /opt/root_src/core/meta/src/TClass.cxx:2398
  20: TIsAProxy::operator()(void const*) in /opt/root_src/core/meta/src/TIsAProxy.cxx:93
  21: TClass::GetActualClass(void const*) const in /opt/root_src/core/meta/src/TClass.cxx:2612
  22: TKey::TKey(void const*, TClass const*, char const*, int, TDirectory*) in /opt/root_src/io/io/src/TKey.cxx:312
  23: TFile::CreateKey(TDirectory*, void const*, TClass const*, char const*, int) in /opt/root_src/io/io/src/TFile.cxx:1039
  24: TDirectoryFile::WriteObjectAny(void const*, TClass const*, char const*, char const*, int) in /opt/root_src/io/io/src/TDirectoryFile.cxx:2119
  25: TDirectoryFile::WriteObjectAny(void const*, char const*, char const*, char const*, int) in /opt/root_src/io/io/src/TDirectoryFile.cxx:2036

ferdymercury avatar Feb 16 '24 18:02 ferdymercury

I think there's a typo in line 70 of the reproducer, it should be instead: buffF[i] = r!=0 ? 1./r :r; // to make it almost uncompressible

ferdymercury avatar Jun 03 '24 09:06 ferdymercury

Got it:

==3594334== 1,000,001,540 bytes in 10 blocks are possibly lost in loss record 3,876 of 3,876
==3594334==    at 0x484A2F3: operator new[](unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==3594334==    by 0x5FCF5B6: TKey::TKey(void const*, TClass const*, char const*, int, TDirectory*) (TKey.cxx:349)
==3594334==    by 0x5F8FD3D: TFile::CreateKey(TDirectory*, void const*, TClass const*, char const*, int) (TFile.cxx:1051)
==3594334==    by 0x5F7AA64: TDirectoryFile::WriteObjectAny(void const*, TClass const*, char const*, char const*, int) (TDirectoryFile.cxx:2119)
==3594334==    by 0x5F7A4FB: TDirectoryFile::WriteObjectAny(void const*, char const*, char const*, char const*, int) (TDirectoryFile.cxx:2036)
==3594334==    by 0x23779334: void run<std::vector<unsigned char, std::allocator<unsigned char> > >(std::vector<unsigned char, std::allocator<unsigned char> > const&, bool, int) (demoMem.C:47)
==3594334==    by 0x23778622: demoMem(bool, unsigned long, int) (demoMem.C:63)
==3594334==    by 0x72A7B97: cling::IncrementalExecutor::executeWrapper(llvm::StringRef, cling::Value*) const (in /home/user/builds/build-root_src-Desktop-Debug/lib/libCling.so)
==3594334==    by 0x722B2AB: cling::Interpreter::RunFunction(clang::FunctionDecl const*, cling::Value*) (in /home/user/builds/build-root_src-Desktop-Debug/lib/libCling.so)
==3594334==    by 0x722B9F6: cling::Interpreter::EvaluateInternal(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cling::CompilationOptions, cling::Value*, cling::Transaction**, unsigned long) (in /home/user/builds/build-root_src-Desktop-Debug/lib/libCling.so)
==3594334==    by 0x722BC17: cling::Interpreter::process(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cling::Value*, cling::Transaction**, bool) (in /home/user/builds/build-root_src-Desktop-Debug/lib/libCling.so)
==3594334==    by 0x7310FE6: cling::MetaProcessor::process(llvm::StringRef, cling::Interpreter::CompilationResult&, cling::Value*, bool) (in /home/user/builds/build-root_src-Desktop-Debug/lib/libCling.so)
diskBased = false        
trials=10        
         
BuffSize Def Lost Ind Lost Pos Lost Still reach
5000 51818 0 0 33915633
50000 501818 0 0 33915634
500000 2501273 0 2500545 33915635
5000000 728 0 50001090 33915692
50000000 728 0 500001270 33915637
500000000 1000001468 0 4000002960 33915637

ferdymercury avatar Jun 03 '24 10:06 ferdymercury

@shahor02 a PR fixing your issue is here https://github.com/root-project/root/pull/15716

ferdymercury avatar Jun 03 '24 10:06 ferdymercury

Thanks!

shahor02 avatar Jun 03 '24 10:06 shahor02