Skip to content

Instantly share code, notes, and snippets.

@bstaletic
Created August 1, 2018 14:51
Show Gist options
  • Save bstaletic/95fa98fe754f47fb25d33800208042c3 to your computer and use it in GitHub Desktop.
Save bstaletic/95fa98fe754f47fb25d33800208042c3 to your computer and use it in GitHub Desktop.
vlagrind analysis
==4673== 284 bytes in 5 blocks are possibly lost in loss record 3,454 of 3,914
==4673== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==4673== by 0x643C612: PyUnicode_New (unicodeobject.c:1293)
==4673== by 0x6463C73: _PyUnicodeWriter_PrepareInternal (unicodeobject.c:13454)
==4673== by 0x6465FFF: PyUnicode_DecodeUTF8Stateful (unicodeobject.c:4819)
==4673== by 0x640BD03: PyDict_SetItemString (dictobject.c:3285)
==4673== by 0x64C80D3: PyImport_Cleanup (import.c:426)
==4673== by 0x64D765E: Py_FinalizeEx (pylifecycle.c:1181)
==4673== by 0x403894: pybind11::finalize_interpreter() (in /home/bstaletic/Temp/ycmd/build/ycm/tests/ycm_core_tests)
==4673== by 0x3783C6: main (in /home/bstaletic/Temp/ycmd/build/ycm/tests/ycm_core_tests)
==4673== Conditional jump or move depends on uninitialised value(s)
==4673== at 0xAE599E0: __wcsnlen_sse4_1 (strlen.S:147)
==4673== by 0xAE46EC1: wcsrtombs (wcsrtombs.c:104)
==4673== by 0xADCCB20: wcstombs (wcstombs.c:34)
==4673== by 0x64F81E0: wcstombs (stdlib.h:154)
==4673== by 0x64F81E0: encode_current_locale (fileutils.c:554)
==4673== by 0x64F8CDE: encode_locale_ex (fileutils.c:642)
==4673== by 0x64F8CDE: encode_locale (fileutils.c:652)
==4673== by 0x64F8CDE: _Py_EncodeLocaleRaw (fileutils.c:687)
==4673== by 0x64FA7EE: _Py_wstat (getpath.c:143)
==4673== by 0x64FA7EE: isxfile (getpath.c:201)
==4673== by 0x64FA7EE: calculate_program_full_path (getpath.c:591)
==4673== by 0x64FA7EE: calculate_path_impl (getpath.c:895)
==4673== by 0x64FA7EE: _PyPathConfig_Calculate_impl (getpath.c:959)
==4673== by 0x64D2EF6: _PyPathConfig_Calculate (pathconfig.c:76)
==4673== by 0x64D2EF6: _PyCoreConfig_CalculatePathConfig (pathconfig.c:291)
==4673== by 0x64D2EF6: _PyCoreConfig_InitPathConfig (pathconfig.c:366)
==4673== by 0x64FD584: _PyCoreConfig_Read (main.c:2263)
==4673== by 0x64D6F0C: _Py_InitializeCore (pylifecycle.c:840)
==4673== by 0x64D8347: _Py_InitializeFromConfig (pylifecycle.c:992)
==4673== by 0x64D84E2: Py_InitializeEx.part.17 (pylifecycle.c:1023)
==4673== by 0x3FC3F0: pybind11::initialize_interpreter(bool) (in /home/bstaletic/Temp/ycmd/build/ycm/tests/ycm_core_tests)
==4673== Uninitialised value was created by a stack allocation
==4673== at 0x64F8050: encode_current_locale (fileutils.c:523)
==4673== 40 bytes in 1 blocks are possibly lost in loss record 954 of 3,914
==4673== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==4673== by 0x6502C83: _PyObject_GC_Alloc (gcmodule.c:1872)
==4673== by 0x6502C83: _PyObject_GC_Malloc (gcmodule.c:1895)
==4673== by 0x6502F99: _PyObject_GC_NewVar (gcmodule.c:1924)
==4673== by 0x6426A1E: PyTuple_New (tupleobject.c:117)
==4673== by 0x642E301: PyType_Ready (typeobject.c:5157)
==4673== by 0x6419C2F: _Py_ReadyTypes (object.c:1699)
==4673== by 0x64D7146: _Py_InitializeCore_impl (pylifecycle.c:727)
==4673== by 0x64D7146: _Py_InitializeCore (pylifecycle.c:851)
==4673== by 0x64D8347: _Py_InitializeFromConfig (pylifecycle.c:992)
==4673== by 0x64D84E2: Py_InitializeEx.part.17 (pylifecycle.c:1023)
==4673== by 0x3FC3F0: pybind11::initialize_interpreter(bool) (in /home/bstaletic/Temp/ycmd/build/ycm/tests/ycm_core_tests)
==4673== by 0x3783A5: main (in /home/bstaletic/Temp/ycmd/build/ycm/tests/ycm_core_tests)
==4673== 48 bytes in 1 blocks are possibly lost in loss record 1,257 of 3,914
==4673== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==4673== by 0x6502C83: _PyObject_GC_Alloc (gcmodule.c:1872)
==4673== by 0x6502C83: _PyObject_GC_Malloc (gcmodule.c:1895)
==4673== by 0x6502F99: _PyObject_GC_NewVar (gcmodule.c:1924)
==4673== by 0x6426A1E: PyTuple_New (tupleobject.c:117)
==4673== by 0x64272E0: PyTuple_Pack (tupleobject.c:218)
==4673== by 0x642E62F: PyType_Ready (typeobject.c:5159)
==4673== by 0x6419C43: _Py_ReadyTypes (object.c:1702)
==4673== by 0x64D7146: _Py_InitializeCore_impl (pylifecycle.c:727)
==4673== by 0x64D7146: _Py_InitializeCore (pylifecycle.c:851)
==4673== by 0x64D8347: _Py_InitializeFromConfig (pylifecycle.c:992)
==4673== by 0x64D84E2: Py_InitializeEx.part.17 (pylifecycle.c:1023)
==4673== by 0x3FC3F0: pybind11::initialize_interpreter(bool) (in /home/bstaletic/Temp/ycmd/build/ycm/tests/ycm_core_tests)
==4673== by 0x3783A5: main (in /home/bstaletic/Temp/ycmd/build/ycm/tests/ycm_core_tests)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment