Actions
Bug #7666
closedlibrados: lock cycle on shutdown
% Done:
0%
Source:
Q/A
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
------------------------------------ existing dependency SimpleMessenger::lock (11) -> SimpleMessenger::DispatchQeueu::lock (10) at: ceph version 0.77-769-ga4cbb19 (a4cbb192ab9e1b2a997e3a831e58648a30e16e59) 1: (Pipe::Pipe(SimpleMessenger*, int, Connection*)+0x99) [0x7f0881bef909] 2: (SimpleMessenger::connect_rank(entity_addr_t const&, int, Connection*, Message*)+0x1ed) [0x7f0881c095dd] 3: (SimpleMessenger::get_connection(entity_inst_t const&)+0x34f) [0x7f0881c09adf] 4: (MonClient::_reopen_session(int, std::string)+0x141) [0x7f0881b092d1] 5: (MonClient::authenticate(double)+0x152) [0x7f0881b0c0f2] 6: (librados::RadosClient::connect()+0xb04) [0x7f08819f0504] 7: (connect_cluster_pp(librados::Rados&)+0x5b2) [0x4797d2] 8: (create_one_pool_pp(std::string const&, librados::Rados&)+0x3e) [0x479efe] 9: (RadosTestPP::SetUpTestCase()+0x59) [0x47a4e9] 10: (testing::TestCase::Run()+0x8a) [0x46e12a] 11: (testing::internal::UnitTestImpl::RunAllTests()+0x217) [0x46e3c7] 12: (main()+0x73) [0x4222c3] 13: (__libc_start_main()+0xed) [0x7f0880a8576d] 14: ceph_test_rados_api_tier() [0x422d19] 2014-03-09 14:00:22.372909 7f087d551700 0 new dependency SimpleMessenger::DispatchQeueu::lock (10) -> SimpleMessenger::lock (11) creates a cycle at ceph version 0.77-769-ga4cbb19 (a4cbb192ab9e1b2a997e3a831e58648a30e16e59) 1: (SimpleMessenger::reaper_entry()+0x140) [0x7f0881c07d50] 2: (SimpleMessenger::ReaperThread::entry()+0xd) [0x7f0881c0d80d] 3: (()+0x7e9a) [0x7f088163de9a] 4: (clone()+0x6d) [0x7f0880b583fd] 2014-03-09 14:00:22.372925 7f087d551700 0 btw, i am holding these locks: 2014-03-09 14:00:22.372927 7f087d551700 0 SimpleMessenger::DispatchQeueu::lock (10) 2014-03-09 14:00:22.372928 7f087d551700 0 2014-03-09 14:00:22.374151 7f087d551700 -1 common/lockdep.cc: In function 'int lockdep_will_lock(const char*, int)' thread 7f087d551700 time 2014-03-09 14:00:22.372930 common/lockdep.cc: 213: FAILED assert(0) ceph version 0.77-769-ga4cbb19 (a4cbb192ab9e1b2a997e3a831e58648a30e16e59) 1: (lockdep_will_lock(char const*, int)+0xc4a) [0x7f0881ad30ca] 2: (Mutex::Lock(bool)+0x104) [0x7f0881a75184] 3: (SimpleMessenger::reaper_entry()+0x140) [0x7f0881c07d50] 4: (SimpleMessenger::ReaperThread::entry()+0xd) [0x7f0881c0d80d] 5: (()+0x7e9a) [0x7f088163de9a] 6: (clone()+0x6d) [0x7f0880b583fd] NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this. --- begin dump of recent events ---ubuntu@teuthology:/var/lib/teuthworker/archive/teuthology-2014-03-09_03:00:01-rados-firefly-testing-basic-plana/123853
Actions