Project

General

Profile

Bug #18360

Valgrind reports errors for ceph_test_rados_api_tier

Added by Brad Hubbard 10 months ago. Updated 10 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
librados
Target version:
-
Start date:
12/29/2016
Due date:
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Release:
Needs Doc:
No

Description

8 bytes in 1 blocks are definitely lost in loss record 91 of 1,657                                                                                 
   at 0x98E81FC: operator new(unsigned long) (vg_replace_malloc.c:334)
   by 0x37C174: librados::Rados::aio_create_completion() (librados.cc:2655)
   by 0x2E0CD2: start_flush_read() (tier.cc:2026)
   by 0x2E0DC4: flush_read_race_cb(void*, void*) (tier.cc:2039)
   by 0x3B2577: librados::C_AioComplete::finish(int) (AioCompletionImpl.h:185)
   by 0x396348: Context::complete(int) (Context.h:70)
   by 0x49B69F: Finisher::finisher_thread_entry() (Finisher.cc:69)
   by 0x9AFB6C9: start_thread (pthread_create.c:333)
   by 0xC356F6E: clone (clone.S:105)

1 errors in context 1 of 138:
Thread 17 fn_anonymous:
Invalid read of size 8
   at 0x460FA0: Mutex::Lock(bool) (Mutex.cc:97)
   by 0x380163: release (AioCompletionImpl.h:156)
   by 0x380163: librados::AioCompletion::release() (librados.cc:1063)
   by 0x2E0DCC: flush_read_race_cb(void*, void*) (tier.cc:2042)
   by 0x3B2577: librados::C_AioComplete::finish(int) (AioCompletionImpl.h:185)
   by 0x396348: Context::complete(int) (Context.h:70)
   by 0x49B69F: Finisher::finisher_thread_entry() (Finisher.cc:69)
   by 0x9AFB6C9: start_thread (pthread_create.c:333)
   by 0xC356F6E: clone (clone.S:105)
 Address 0x1b5fa1ee58630c68 is not stack'd, malloc'd or (recently) free'd

1 errors in context 2 of 138:
Invalid read of size 1
   at 0x460F6D: Mutex::Lock(bool) (Mutex.cc:95)
   by 0x380163: release (AioCompletionImpl.h:156)
   by 0x380163: librados::AioCompletion::release() (librados.cc:1063)
   by 0x2E0DCC: flush_read_race_cb(void*, void*) (tier.cc:2042)
   by 0x3B2577: librados::C_AioComplete::finish(int) (AioCompletionImpl.h:185)
   by 0x396348: Context::complete(int) (Context.h:70)
   by 0x49B69F: Finisher::finisher_thread_entry() (Finisher.cc:69)
   by 0x9AFB6C9: start_thread (pthread_create.c:333)
   by 0xC356F6E: clone (clone.S:105)
 Address 0x172e2665 is 14 bytes after a block of size 23 alloc'd
   at 0x98E81FC: operator new(unsigned long) (vg_replace_malloc.c:334)
   by 0x4609CC: void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char*>(char*, char*, std::forward_iterator_tag) [clone .isra.24] (basic_string.tcc:219)
   by 0x460A5B: _M_construct_aux<char*> (basic_string.h:196)
   by 0x460A5B: _M_construct<char*> (basic_string.h:215)
   by 0x460A5B: basic_string (basic_string.h:400)
   by 0x460A5B: Mutex::Mutex(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool, bool, CephContext*) (Mutex.cc:29)
   by 0x398C63: librados::AioCompletionImpl::AioCompletionImpl() (AioCompletionImpl.h:60)
   by 0x37C16A: librados::Rados::aio_create_completion() (librados.cc:2654)
   by 0x2E0CD2: start_flush_read() (tier.cc:2026)
   by 0x2EA074: LibRadosTwoPoolsPP_TryFlushReadRace_Test::TestBody() (tier.cc:2082)
   by 0x3F6293: HandleSehExceptionsInMethodIfSupported<testing::Test, void> (gtest.cc:2402)
   by 0x3F6293: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2438)
   by 0x3ED0F9: testing::Test::Run() (gtest.cc:2475)
   by 0x3ED247: testing::TestInfo::Run() (gtest.cc:2656)
   by 0x3ED324: testing::TestCase::Run() (gtest.cc:2774)
   by 0x3ED606: testing::internal::UnitTestImpl::RunAllTests() (gtest.cc:4649)
   by 0x3F6743: HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> (gtest.cc:2402)
   by 0x3F6743: bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (gtest.cc:2438)
   by 0x3ED923: testing::UnitTest::Run() (gtest.cc:4257)
   by 0x2DC5B8: RUN_ALL_TESTS (gtest.h:2233)
   by 0x2DC5B8: main (unit.cc:51)

History

#2 Updated by Kefu Chai 10 months ago

  • Status changed from In Progress to Resolved

Also available in: Atom PDF