Memory leaks when using ParaView Catalyst
=================================================================
==17446==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 4180894 byte(s) in 2337 object(s) allocated from:
#0 0x4dfba8 in __interceptor_malloc /usr/people/shared/tools/centos/6/llvm/build_files/6.0.0/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:88
#1 0x7fa495cc0cad in PyMem_RawMalloc /home/foo/Downloads/Python-3.7.0/build/../Objects/obmalloc.c:503:12
#2 0x7fa495cc0cad in _PyObject_Malloc /home/foo/Downloads/Python-3.7.0/build/../Objects/obmalloc.c:1560
Direct leak of 160 byte(s) in 2 object(s) allocated from:
#0 0x5175d8 in operator new(unsigned long) /usr/people/shared/tools/centos/6/llvm/build_files/6.0.0/llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc:92
#1 0x7fa4bd3bcc2d in catalyst_conduit_node_create (/usr/people/shared/tools/centos/7/catalyst/HPCX/2.0.0/lib64/libcatalyst.so.3+0xedc2d)
#2 0x6080000655d7 (<unknown module>)
Direct leak of 64 byte(s) in 1 object(s) allocated from:
#0 0x4dfba8 in __interceptor_malloc /usr/people/shared/tools/centos/6/llvm/build_files/6.0.0/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:88
#1 0x7fa4b25470cb (<unknown module>)
Direct leak of 64 byte(s) in 2 object(s) allocated from:
#0 0x4dfba8 in __interceptor_malloc /usr/people/shared/tools/centos/6/llvm/build_files/6.0.0/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:88
#1 0x7fa495dd1294 in PyThread_allocate_lock /home/foo/Downloads/Python-3.7.0/build/../Python/thread_pthread.h:257:21
Direct leak of 12 byte(s) in 1 object(s) allocated from:
#0 0x442048 in strdup /usr/people/shared/tools/centos/6/llvm/build_files/6.0.0/llvm/projects/compiler-rt/lib/asan/asan_interceptors.cc:407
#1 0x7fa4a08f89de in vtkloguru::init(int&, char**, vtkloguru::Options const&) (/usr/people/shared/tools/centos/7/paraview/HPCX/paraview/5.11.0-mesa/lib64/catalyst/libcatalyst-paraview.so+0x87a69de)
Direct leak of 8 byte(s) in 1 object(s) allocated from:
#0 0x442048 in strdup /usr/people/shared/tools/centos/6/llvm/build_files/6.0.0/llvm/projects/compiler-rt/lib/asan/asan_interceptors.cc:407
#1 0x7fa4a08f93a6 in vtkloguru::set_thread_name(char const*) (/usr/people/shared/tools/centos/7/paraview/HPCX/paraview/5.11.0-mesa/lib64/catalyst/libcatalyst-paraview.so+0x87a73a6)
Direct leak of 1 byte(s) in 1 object(s) allocated from:
#0 0x442558 in __strdup /usr/people/shared/tools/centos/6/llvm/build_files/6.0.0/llvm/projects/compiler-rt/lib/asan/asan_interceptors.cc:423
#1 0x7fa4b094a7f0 (<unknown module>)
Indirect leak of 1361576 byte(s) in 1124 object(s) allocated from:
#0 0x4dfba8 in __interceptor_malloc /usr/people/shared/tools/centos/6/llvm/build_files/6.0.0/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:88
#1 0x7fa495cc0cad in PyMem_RawMalloc /home/foo/Downloads/Python-3.7.0/build/../Objects/obmalloc.c:503:12
#2 0x7fa495cc0cad in _PyObject_Malloc /home/foo/Downloads/Python-3.7.0/build/../Objects/obmalloc.c:1560
Indirect leak of 12508 byte(s) in 2 object(s) allocated from:
#0 0x4e0010 in realloc /usr/people/shared/tools/centos/6/llvm/build_files/6.0.0/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:107
#1 0x7fa495cde4f8 in resize_compact /home/foo/Downloads/Python-3.7.0/build/../Objects/unicodeobject.c:929:31
Indirect leak of 544 byte(s) in 1 object(s) allocated from:
#0 0x4dfba8 in __interceptor_malloc /usr/people/shared/tools/centos/6/llvm/build_files/6.0.0/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:88
#1 0x7fa495cc0edc in PyMem_RawMalloc /home/foo/Downloads/Python-3.7.0/build/../Objects/obmalloc.c:503:12
#2 0x7fa495cc0edc in _PyObject_Malloc /home/foo/Downloads/Python-3.7.0/build/../Objects/obmalloc.c:1560
#3 0x7fa495cc0edc in pymalloc_realloc /home/foo/Downloads/Python-3.7.0/build/../Objects/obmalloc.c:1882
#4 0x7fa495cc0edc in _PyObject_Realloc /home/foo/Downloads/Python-3.7.0/build/../Objects/obmalloc.c:1901
Indirect leak of 128 byte(s) in 2 object(s) allocated from:
#0 0x5175d8 in operator new(unsigned long) /usr/people/shared/tools/centos/6/llvm/build_files/6.0.0/llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc:92
#1 0x7fa4bd3412ec in catalyst_conduit::Node::Node() (/usr/people/shared/tools/centos/7/catalyst/HPCX/2.0.0/lib64/libcatalyst.so.3+0x722ec)
#2 0x6080000655d7 (<unknown module>)
Indirect leak of 15 byte(s) in 1 object(s) allocated from:
#0 0x442558 in __strdup /usr/people/shared/tools/centos/6/llvm/build_files/6.0.0/llvm/projects/compiler-rt/lib/asan/asan_interceptors.cc:423
#1 0x7fa4b254713e (<unknown module>)
SUMMARY: AddressSanitizer: 5555974 byte(s) leaked in 3475 allocation(s).
cmake /usr/people/shared/tools/centos/7/paraview/installer/src/paraview/Examples -DCMAKE_BUILD_TYPE=ASAN -DOPENGL_xmesa_INCLUDE_DIR:PATH=IGNORE -DOPENGL_gl_LIBRARY:FILEPATH=IGNORE -DOSMESA_INCLUDE_DIR:PATH=$MESA_INC -DOSMESA_LIBRARY:FILEPATH=$MESA_LIB/libOSMesa.so -DCMAKE_INSTALL_PREFIX="/work/foo/cases/053_Catalyst_Standalone/001_Polyhedra/install/"
cd Catalyst2/CxxPolyhedra
make install
cmake /usr/people/shared/tools/centos/7/paraview/installer/src/paraview/Examples -DCMAKE_BUILD_TYPE=ASAN -DOPENGL_xmesa_INCLUDE_DIR:PATH=IGNORE -DOPENGL_gl_LIBRARY:FILEPATH=IGNORE -DOSMESA_INCLUDE_DIR:PATH=$MESA_INC -DOSMESA_LIBRARY:FILEPATH=$MESA_LIB/libOSMesa.so -DCMAKE_INSTALL_PREFIX="/work/foo/cases/053_Catalyst_Standalone/001_Polyhedra/install/" -DCMAKE_CXX_FLAGS_ASAN="-g -O3 -DNDEBUG -DASAN_ENABLED -fsanitize=address -fno-omit-frame-pointer"
./build/bin/CxxPolyhedraV2 catalyst_pipeline.py
catalyst_pipeline.py