Actions
Bug #18252
closedMemory leaks in object_list_begin and object_list_end
% Done:
0%
Source:
Development
Tags:
Backport:
jewel
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Clang Analyzer flags memory leaks in librados::IoCtx::object_list_begin and
librados::IoCtx::object_list_end and valgrind agrees.
==27742== 128 bytes in 1 blocks are definitely lost in loss record 45 of 79 ==27742== at 0x98641FC: operator new(unsigned long) (vg_replace_malloc.c:334) ==27742== by 0x30280D: librados::ObjectCursor::ObjectCursor() (librados.cc:5914) ==27742== by 0x302BD5: librados::IoCtx::object_list_begin() (librados.cc:5943) ==27742== by 0x2EACA9: LibRadosListPP_EnumerateObjectsPP_Test::TestBody() (list.cc:805) ==27742== by 0x3852C3: HandleSehExceptionsInMethodIfSupported<testing::Test, void> (gtest.cc:2402) ==27742== by 0x3852C3: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2438) ==27742== by 0x37C289: testing::Test::Run() (gtest.cc:2475) ==27742== by 0x37C3D7: testing::TestInfo::Run() (gtest.cc:2656) ==27742== by 0x37C4B4: testing::TestCase::Run() (gtest.cc:2774) ==27742== by 0x37C796: testing::internal::UnitTestImpl::RunAllTests() (gtest.cc:4649) ==27742== by 0x385773: HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> (gtest.cc:2402) ==27742== by 0x385773: bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (gtest.cc:2438) ==27742== by 0x37CAB3: testing::UnitTest::Run() (gtest.cc:4257) ==27742== by 0x2D1DA8: RUN_ALL_TESTS (gtest.h:2233) ==27742== by 0x2D1DA8: main (unit.cc:51) ==27742==ยท ==27742== 128 bytes in 1 blocks are definitely lost in loss record 46 of 79 ==27742== at 0x98641FC: operator new(unsigned long) (vg_replace_malloc.c:334) ==27742== by 0x30280D: librados::ObjectCursor::ObjectCursor() (librados.cc:5914) ==27742== by 0x302C55: librados::IoCtx::object_list_end() (librados.cc:5952) ==27742== by 0x2EACC2: LibRadosListPP_EnumerateObjectsPP_Test::TestBody() (list.cc:806) ==27742== by 0x3852C3: HandleSehExceptionsInMethodIfSupported<testing::Test, void> (gtest.cc:2402) ==27742== by 0x3852C3: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2438) ==27742== by 0x37C289: testing::Test::Run() (gtest.cc:2475) ==27742== by 0x37C3D7: testing::TestInfo::Run() (gtest.cc:2656) ==27742== by 0x37C4B4: testing::TestCase::Run() (gtest.cc:2774) ==27742== by 0x37C796: testing::internal::UnitTestImpl::RunAllTests() (gtest.cc:4649) ==27742== by 0x385773: HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> (gtest.cc:2402) ==27742== by 0x385773: bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (gtest.cc:2438) ==27742== by 0x37CAB3: testing::UnitTest::Run() (gtest.cc:4257) ==27742== by 0x2D1DA8: RUN_ALL_TESTS (gtest.h:2233) ==27742== by 0x2D1DA8: main (unit.cc:51)
Files
Updated by Brad Hubbard over 7 years ago
Updated by Brad Hubbard over 7 years ago
- File report-ea7e12.html report-ea7e12.html added
Updated by Sage Weil over 7 years ago
- Status changed from In Progress to Pending Backport
- Backport set to jewel
Updated by Nathan Cutler over 7 years ago
- Copied to Backport #18274: jewel: Memory leaks in object_list_begin and object_list_end added
Updated by Nathan Cutler about 7 years ago
- Status changed from Pending Backport to Resolved
Actions