Skip to content

Instantly share code, notes, and snippets.

@turtlesoupy
Created March 7, 2021 00:11
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save turtlesoupy/a2310528f4e0f33babf9f9eb6ee8a3ba to your computer and use it in GitHub Desktop.
Save turtlesoupy/a2310528f4e0f33babf9f9eb6ee8a3ba to your computer and use it in GitHub Desktop.
=================================================================
==75136==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 77392 byte(s) in 323 object(s) allocated from:
#0 0x7f499cd10f44 in strdup (/usr/lib/llvm-10/lib/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.so+0xa5f44)
#1 0x7f47cb88b8ef in pybind11::cpp_function::initialize_generic(pybind11::detail::function_record*, char const*, std::type_info const* const*, unsigned long) (/home/tdimson/anaconda3/envs/voxeloo_cuda112/lib/python3.8/site-packages/open3d/cpu/pybind.cpython-38-x86_64-linux-gnu.so+0x8638ef)
Direct leak of 76032 byte(s) in 432 object(s) allocated from:
#0 0x7f499cd24b6d in malloc (/usr/lib/llvm-10/lib/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.so+0xb9b6d)
#1 0x556570979377 in PyObject_Malloc /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Objects/obmalloc.c:685:12
#2 0x556570979377 in PyCode_NewWithPosOnlyArgs /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Objects/codeobject.c:202
Direct leak of 21504 byte(s) in 430 object(s) allocated from:
#0 0x7f499cd24b6d in malloc (/usr/lib/llvm-10/lib/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.so+0xb9b6d)
#1 0x55657090e199 in PyObject_Malloc /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Objects/obmalloc.c:685:12
#2 0x55657090e199 in _PyObject_GC_Alloc /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Modules/gcmodule.c:1964:26
#3 0x55657090e199 in _PyObject_GC_Malloc /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Modules/gcmodule.c:1987:12
#4 0x55657090e199 in _PyObject_GC_NewVar /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Modules/gcmodule.c:2016:26
Direct leak of 17915 byte(s) in 410 object(s) allocated from:
#0 0x7f499cd24b6d in malloc (/usr/lib/llvm-10/lib/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.so+0xb9b6d)
#1 0x5565709695af in PyObject_Malloc /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Objects/obmalloc.c:685:12
#2 0x5565709695af in _PyBytes_FromSize /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Objects/bytesobject.c:86
#3 0x5565709695af in PyBytes_FromStringAndSize /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Objects/bytesobject.c:120
#4 0x5565709695af in _PyUnicode_AsASCIIString /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Objects/unicodeobject.c:7108
#5 0x5565709695af in PyUnicode_AsASCIIString /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Objects/unicodeobject.c:7116
Direct leak of 1911 byte(s) in 33 object(s) allocated from:
#0 0x7f499cd24b6d in malloc (/usr/lib/llvm-10/lib/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.so+0xb9b6d)
#1 0x556570929194 in PyObject_Malloc /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Objects/obmalloc.c:685:12
#2 0x556570929194 in PyUnicode_New /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Objects/unicodeobject.c:1365:24
#3 0x556570929194 in _PyUnicodeWriter_PrepareInternal /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Objects/unicodeobject.c:13554:26
#4 0x556570929194 in unicode_decode_utf8 /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Objects/unicodeobject.c:4911:9
#5 0x556570929194 in PyUnicode_DecodeUTF8Stateful /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Objects/unicodeobject.c:5027:12
#6 0x556570929194 in PyUnicode_FromString /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Objects/unicodeobject.c:2177
Direct leak of 1056 byte(s) in 22 object(s) allocated from:
#0 0x7f499cd24b6d in malloc (/usr/lib/llvm-10/lib/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.so+0xb9b6d)
#1 0x556570a07415 in PyCapsule_New /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Objects/capsule.c:53
Direct leak of 810 byte(s) in 18 object(s) allocated from:
#0 0x7f499cd24b6d in malloc (/usr/lib/llvm-10/lib/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.so+0xb9b6d)
#1 0x5565709f995a in PyBytes_FromString /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Objects/bytesobject.c:164
Direct leak of 352 byte(s) in 4 object(s) allocated from:
#0 0x7f499cd24b6d in malloc (/usr/lib/llvm-10/lib/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.so+0xb9b6d)
#1 0x556570924726 in PyType_GenericAlloc /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Objects/typeobject.c:1017:27
Direct leak of 320 byte(s) in 10 object(s) allocated from:
#0 0x7f499cd3106d in operator new(unsigned long) (/usr/lib/llvm-10/lib/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.so+0xc606d)
#1 0x7f4880c321ac in qpycore_new_user_type_handler(_sipWrapperType*) (/home/tdimson/anaconda3/envs/voxeloo_cuda112/lib/python3.8/site-packages/PyQt5/QtCore.so+0x1f11ac)
#2 0x606000002ddf (<unknown module>)
Direct leak of 320 byte(s) in 8 object(s) allocated from:
#0 0x7f499cd24b6d in malloc (/usr/lib/llvm-10/lib/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.so+0xb9b6d)
#1 0x556570916d29 in PyObject_Malloc /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Objects/obmalloc.c:685:12
#2 0x556570916d29 in _PyObject_New /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Objects/object.c:282
Direct leak of 224 byte(s) in 1 object(s) allocated from:
#0 0x7f499cd24b6d in malloc (/usr/lib/llvm-10/lib/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.so+0xb9b6d)
#1 0x556570920d3a in PyObject_Malloc /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Objects/obmalloc.c:685:12
#2 0x556570920d3a in _PyObject_GC_Alloc /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Modules/gcmodule.c:1964:26
#3 0x556570920d3a in _PyObject_GC_Malloc /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Modules/gcmodule.c:1987:12
#4 0x556570920d3a in _PyObject_GC_New /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Modules/gcmodule.c:1999
Direct leak of 128 byte(s) in 8 object(s) allocated from:
#0 0x7f499cd3106d in operator new(unsigned long) (/usr/lib/llvm-10/lib/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.so+0xc606d)
#1 0x7f47cbb3fa2d in decltype((new open3d::visualization::gui::Margins(*(fp))) , (void* (*)(void const*){})) pybind11::detail::type_caster_base<open3d::visualization::gui::Margins>::make_copy_constructor<open3d::visualization::gui::Margins, void>(open3d::visualization::gui::Margins const*)::'lambda'(void const*)::_FUN(void const*) (/home/tdimson/anaconda3/envs/voxeloo_cuda112/lib/python3.8/site-packages/open3d/cpu/pybind.cpython-38-x86_64-linux-gnu.so+0xb17a2d)
Direct leak of 104 byte(s) in 1 object(s) allocated from:
#0 0x7f499cd24b6d in malloc (/usr/lib/llvm-10/lib/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.so+0xb9b6d)
#1 0x7f497be4fa29 in b_init_cffi_1_0_external_module (/home/tdimson/anaconda3/envs/voxeloo_cuda112/lib/python3.8/site-packages/_cffi_backend.cpython-38-x86_64-linux-gnu.so+0xda29)
#2 0x556570914e6a in cfunction_vectorcall_O /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Objects/methodobject.c:482:24
Direct leak of 104 byte(s) in 1 object(s) allocated from:
#0 0x7f499cd3106d in operator new(unsigned long) (/usr/lib/llvm-10/lib/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.so+0xc606d)
#1 0x7f47cba0d3c8 in PyInit_pybind (/home/tdimson/anaconda3/envs/voxeloo_cuda112/lib/python3.8/site-packages/open3d/cpu/pybind.cpython-38-x86_64-linux-gnu.so+0x9e53c8)
Direct leak of 96 byte(s) in 3 object(s) allocated from:
#0 0x7f499cd3106d in operator new(unsigned long) (/usr/lib/llvm-10/lib/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.so+0xc606d)
#1 0x7f4880c321ac in qpycore_new_user_type_handler(_sipWrapperType*) (/home/tdimson/anaconda3/envs/voxeloo_cuda112/lib/python3.8/site-packages/PyQt5/QtCore.so+0x1f11ac)
#2 0x7f487702af97 in _fini (/home/tdimson/anaconda3/envs/voxeloo_cuda112/lib/python3.8/site-packages/PyQt5/QtWidgets.so+0x50ef97)
Direct leak of 48 byte(s) in 1 object(s) allocated from:
#0 0x7f499cd24e89 in realloc (/usr/lib/llvm-10/lib/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.so+0xb9e89)
#1 0x55657091bc08 in _PyObject_GC_Resize /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Modules/gcmodule.c:2032
Direct leak of 40 byte(s) in 1 object(s) allocated from:
#0 0x7f499cd24b6d in malloc (/usr/lib/llvm-10/lib/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.so+0xb9b6d)
#1 0x556570a1af71 in thread_PyThread_start_new_thread /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Modules/_threadmodule.c:1049
Direct leak of 32 byte(s) in 1 object(s) allocated from:
#0 0x7f499cd3106d in operator new(unsigned long) (/usr/lib/llvm-10/lib/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.so+0xc606d)
#1 0x7f4880c321ac in qpycore_new_user_type_handler(_sipWrapperType*) (/home/tdimson/anaconda3/envs/voxeloo_cuda112/lib/python3.8/site-packages/PyQt5/QtCore.so+0x1f11ac)
#2 0x606000b6c2ff (<unknown module>)
Direct leak of 32 byte(s) in 1 object(s) allocated from:
#0 0x7f499cd3106d in operator new(unsigned long) (/usr/lib/llvm-10/lib/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.so+0xc606d)
#1 0x7f4880c321ac in qpycore_new_user_type_handler(_sipWrapperType*) (/home/tdimson/anaconda3/envs/voxeloo_cuda112/lib/python3.8/site-packages/PyQt5/QtCore.so+0x1f11ac)
#2 0x60600000ee3f (<unknown module>)
Direct leak of 1 byte(s) in 1 object(s) allocated from:
#0 0x7f499cd3106d in operator new(unsigned long) (/usr/lib/llvm-10/lib/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.so+0xc606d)
#1 0x7f47cbaf8eef in pybind11::class_<std::vector<int, std::allocator<int> >, std::unique_ptr<std::vector<int, std::allocator<int> >, std::default_delete<std::vector<int, std::allocator<int> > > > > pybind11::bind_vector<std::vector<int, std::allocator<int> >, std::unique_ptr<std::vector<int, std::allocator<int> >, std::default_delete<std::vector<int, std::allocator<int> > > >, pybind11::buffer_protocol>(pybind11::handle, std::string const&, pybind11::buffer_protocol&&) (/home/tdimson/anaconda3/envs/voxeloo_cuda112/lib/python3.8/site-packages/open3d/cpu/pybind.cpython-38-x86_64-linux-gnu.so+0xad0eef)
Direct leak of 1 byte(s) in 1 object(s) allocated from:
#0 0x7f499cd3106d in operator new(unsigned long) (/usr/lib/llvm-10/lib/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.so+0xc606d)
#1 0x7f47cbafb9cf in pybind11::class_<std::vector<double, std::allocator<double> >, std::unique_ptr<std::vector<double, std::allocator<double> >, std::default_delete<std::vector<double, std::allocator<double> > > > > pybind11::bind_vector<std::vector<double, std::allocator<double> >, std::unique_ptr<std::vector<double, std::allocator<double> >, std::default_delete<std::vector<double, std::allocator<double> > > >, pybind11::buffer_protocol>(pybind11::handle, std::string const&, pybind11::buffer_protocol&&) (/home/tdimson/anaconda3/envs/voxeloo_cuda112/lib/python3.8/site-packages/open3d/cpu/pybind.cpython-38-x86_64-linux-gnu.so+0xad39cf)
Indirect leak of 48768 byte(s) in 428 object(s) allocated from:
#0 0x7f499cd24b6d in malloc (/usr/lib/llvm-10/lib/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.so+0xb9b6d)
#1 0x55657090e199 in PyObject_Malloc /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Objects/obmalloc.c:685:12
#2 0x55657090e199 in _PyObject_GC_Alloc /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Modules/gcmodule.c:1964:26
#3 0x55657090e199 in _PyObject_GC_Malloc /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Modules/gcmodule.c:1987:12
#4 0x55657090e199 in _PyObject_GC_NewVar /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Modules/gcmodule.c:2016:26
Indirect leak of 5368 byte(s) in 61 object(s) allocated from:
#0 0x7f499cd24b6d in malloc (/usr/lib/llvm-10/lib/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.so+0xb9b6d)
#1 0x7f4998448643 in array_alloc (/home/tdimson/anaconda3/envs/voxeloo_cuda112/lib/python3.8/site-packages/numpy/core/_multiarray_umath.cpython-38-x86_64-linux-gnu.so+0x2f643)
Indirect leak of 2576 byte(s) in 14 object(s) allocated from:
#0 0x7f499cd24b6d in malloc (/usr/lib/llvm-10/lib/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.so+0xb9b6d)
#1 0x7f487bdc43cb in QMetaObjectBuilder::toMetaObject() const (/home/tdimson/anaconda3/envs/voxeloo_cuda112/lib/python3.8/site-packages/PyQt5/../../../libQt5Core.so.5+0x1bd3cb)
#2 0x7f487bed22c7 in _fini (/home/tdimson/anaconda3/envs/voxeloo_cuda112/lib/python3.8/site-packages/PyQt5/../../../libQt5Core.so.5+0x2cb2c7)
Indirect leak of 2224 byte(s) in 2 object(s) allocated from:
#0 0x7f499cd24b6d in malloc (/usr/lib/llvm-10/lib/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.so+0xb9b6d)
#1 0x5565709259ab in new_keys_object /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Objects/dictobject.c:558
#2 0x5565709259ab in dictresize /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Objects/dictobject.c:1202
Indirect leak of 672 byte(s) in 4 object(s) allocated from:
#0 0x7f499cd24b6d in malloc (/usr/lib/llvm-10/lib/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.so+0xb9b6d)
#1 0x556570925241 in new_keys_object /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Objects/dictobject.c:558
#2 0x556570925241 in insert_to_emptydict /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Objects/dictobject.c:1120
Indirect leak of 576 byte(s) in 9 object(s) allocated from:
#0 0x7f499cd24b6d in malloc (/usr/lib/llvm-10/lib/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.so+0xb9b6d)
#1 0x556570920d3a in PyObject_Malloc /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Objects/obmalloc.c:685:12
#2 0x556570920d3a in _PyObject_GC_Alloc /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Modules/gcmodule.c:1964:26
#3 0x556570920d3a in _PyObject_GC_Malloc /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Modules/gcmodule.c:1987:12
#4 0x556570920d3a in _PyObject_GC_New /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Modules/gcmodule.c:1999
Indirect leak of 352 byte(s) in 1 object(s) allocated from:
#0 0x7f499cd24b6d in malloc (/usr/lib/llvm-10/lib/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.so+0xb9b6d)
#1 0x7f487bdc43cb in QMetaObjectBuilder::toMetaObject() const (/home/tdimson/anaconda3/envs/voxeloo_cuda112/lib/python3.8/site-packages/PyQt5/../../../libQt5Core.so.5+0x1bd3cb)
Indirect leak of 336 byte(s) in 2 object(s) allocated from:
#0 0x7f499cd24b6d in malloc (/usr/lib/llvm-10/lib/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.so+0xb9b6d)
#1 0x5565709aa075 in PyObject_Malloc /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Objects/obmalloc.c:685:12
#2 0x5565709aa075 in clone_combined_dict /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Objects/dictobject.c:654
#3 0x5565709aa075 in PyDict_Copy /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Objects/dictobject.c:2686
Indirect leak of 256 byte(s) in 3 object(s) allocated from:
#0 0x7f499cd24e89 in realloc (/usr/lib/llvm-10/lib/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.so+0xb9e89)
#1 0x55657091bc08 in _PyObject_GC_Resize /home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Modules/gcmodule.c:2032
Indirect leak of 64 byte(s) in 2 object(s) allocated from:
#0 0x7f499cd24b6d in malloc (/usr/lib/llvm-10/lib/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.so+0xb9b6d)
#1 0x7f487bce8cae in QListData::detach_grow(int*, int) (/home/tdimson/anaconda3/envs/voxeloo_cuda112/lib/python3.8/site-packages/PyQt5/../../../libQt5Core.so.5+0xe1cae)
Indirect leak of 40 byte(s) in 1 object(s) allocated from:
#0 0x7f499cd3106d in operator new(unsigned long) (/usr/lib/llvm-10/lib/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.so+0xc606d)
#1 0x7f4880c31d45 in trawl_hierarchy(_typeobject*, qpycore_metaobject*, QMetaObjectBuilder&, QList<_qpycore_pyqtSignal const*>&, QMap<unsigned int, QPair<_object*, _object*> >&) (/home/tdimson/anaconda3/envs/voxeloo_cuda112/lib/python3.8/site-packages/PyQt5/QtCore.so+0x1f0d45)
SUMMARY: AddressSanitizer: 259654 byte(s) leaked in 2237 allocation(s).
(voxeloo_cuda112) ➜ voxeloo git:(main)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment