(0041104)
|
Rolf Eike Beer
|
2016-05-26 06:48
|
|
This is not exactly a memory leak, as these things get properly cleaned up when CMake terminates. But during the runtime of CMake something keeps accumulating, probably somewhere here:
==29799== 2,000,592 bytes in 22,734 blocks are still reachable in loss record 568 of 569
==29799== at 0x4C2A68F: operator new(unsigned long) (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==29799== by 0x647049: cmDefinitions::Set(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, char const*) (in /usr/bin/cmake)
==29799== by 0x501680: cmMakefile::AddDefinition(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, char const*) (in /usr/bin/cmake)
==29799== by 0x5B086E: cmFunctionHelperCommand::InvokeInitialPass(std::vector<cmListFileArgument, std::allocator<cmListFileArgument> > const&, cmExecutionStatus&) (in /usr/bin/cmake)
==29799== by 0x50CFF7: cmMakefile::ExecuteCommand(cmListFileFunction const&, cmExecutionStatus&) (in /usr/bin/cmake)
==29799== by 0x600687: cmWhileFunctionBlocker::IsFunctionBlocked(cmListFileFunction const&, cmMakefile&, cmExecutionStatus&) (in /usr/bin/cmake)
==29799== by 0x503060: cmMakefile::IsFunctionBlocked(cmListFileFunction const&, cmExecutionStatus&) (in /usr/bin/cmake)
==29799== by 0x50CC25: cmMakefile::ExecuteCommand(cmListFileFunction const&, cmExecutionStatus&) (in /usr/bin/cmake)
==29799== by 0x50D487: cmMakefile::ReadListFile(cmListFile const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (in /usr/bin/cmake)
==29799== by 0x50F437: cmMakefile::Configure() (in /usr/bin/cmake)
==29799== by 0x6CD5EA: cmGlobalGenerator::Configure() (in /usr/bin/cmake)
==29799== by 0x6DC011: cmGlobalUnixMakefileGenerator3::Configure() (in /usr/bin/cmake)
==29799==
==29799== 7,602,176 bytes in 1 blocks are still reachable in loss record 569 of 569
==29799== at 0x4C2A68F: operator new(unsigned long) (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==29799== by 0x546201: void std::vector<cmState::SnapshotDataType, std::allocator<cmState::SnapshotDataType> >::_M_emplace_back_aux<cmState::SnapshotDataType const&>(cmState::SnapshotDataType const&) (in /usr/bin/cmake)
==29799== by 0x54667C: cmLinkedTree<cmState::SnapshotDataType>::Push(cmLinkedTree<cmState::SnapshotDataType>::iterator, cmState::SnapshotDataType) (in /usr/bin/cmake)
==29799== by 0x54177D: cmState::CreateFunctionCallSnapshot(cmState::Snapshot, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (in /usr/bin/cmake)
==29799== by 0x511A54: cmMakefile::PushFunctionScope(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cmPolicies::PolicyMap const&) (in /usr/bin/cmake)
==29799== by 0x5B0206: cmFunctionHelperCommand::InvokeInitialPass(std::vector<cmListFileArgument, std::allocator<cmListFileArgument> > const&, cmExecutionStatus&) (in /usr/bin/cmake)
==29799== by 0x50CFF7: cmMakefile::ExecuteCommand(cmListFileFunction const&, cmExecutionStatus&) (in /usr/bin/cmake)
==29799== by 0x600687: cmWhileFunctionBlocker::IsFunctionBlocked(cmListFileFunction const&, cmMakefile&, cmExecutionStatus&) (in /usr/bin/cmake)
==29799== by 0x503060: cmMakefile::IsFunctionBlocked(cmListFileFunction const&, cmExecutionStatus&) (in /usr/bin/cmake)
==29799== by 0x50CC25: cmMakefile::ExecuteCommand(cmListFileFunction const&, cmExecutionStatus&) (in /usr/bin/cmake)
==29799== by 0x50D487: cmMakefile::ReadListFile(cmListFile const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (in /usr/bin/cmake)
==29799== by 0x50F437: cmMakefile::Configure() (in /usr/bin/cmake) |
|