Project

General

Profile

Bug #731

msgr assert from monclient

Added by Sage Weil over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
Start date:
01/20/2011
Due date:
% Done:

0%

Spent time:
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

2011-01-20 12:13:16.282456 7f4ae7e9d710 -- 10.3.14.140:6800/14004 queue_reap 0x7f4ae0000b20
2011-01-20 12:13:16.282493 7f4af17b1710 -- 10.3.14.140:6800/14004 reaper
2011-01-20 12:13:16.282518 7f4af17b1710 -- 10.3.14.140:6800/14004 reaper reaping pipe 0x7f4ae0000b20 10.3.14.154:6789/0
2011-01-20 12:13:16.282544 7f4af17b1710 -- 10.3.14.140:6800/14004 >> 10.3.14.154:6789/0 pipe(0x7f4ae0000b20 sd=13 pgs=266 cs=1 l=1).discard_queue
2011-01-20 12:13:16.282575 7f4af17b1710 -- 10.3.14.140:6800/14004 >> 10.3.14.154:6789/0 pipe(0x7f4ae0000b20 sd=13 pgs=266 cs=1 l=1). dequeued pipe 
2011-01-20 12:13:16.282604 7f4af17b1710 -- 10.3.14.140:6800/14004 >> 10.3.14.154:6789/0 pipe(0x7f4ae0000b20 sd=13 pgs=266 cs=1 l=1).unregister_pipe - not registered
2011-01-20 12:13:16.282635 7f4ae7e9d710 -- 10.3.14.140:6800/14004 >> 10.3.14.154:6789/0 pipe(0x7f4ae0000b20 sd=13 pgs=266 cs=1 l=1).reader done
2011-01-20 12:13:16.282682 7f4af17b1710 -- 10.3.14.140:6800/14004 reaper reaped pipe 0x7f4ae0000b20 10.3.14.154:6789/0
2011-01-20 12:13:16.282713 7f4af17b1710 -- 10.3.14.140:6800/14004 reaper deleted pipe 0x7f4ae0000b20
2011-01-20 12:13:16.282737 7f4af17b1710 -- 10.3.14.140:6800/14004 reaper done
msg/SimpleMessenger.cc: In function 'void SimpleMessenger::submit_message(Message*, const entity_addr_t&, int, bool)':
msg/SimpleMessenger.cc:2558: FAILED assert(m->nref.read() == 1)
 ceph version 0.24.1 (commit:ad8951aeebcdaec78711c76cd82cc967cd555eeb)
 1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x34) [0x8345ee]
 2: (SimpleMessenger::submit_message(Message*, entity_addr_t const&, int, bool)+0x5e) [0x665382]
 3: (SimpleMessenger::send_message(Message*, entity_inst_t const&)+0x178) [0x665c3e]
 4: (MonClient::_send_mon_message(Message*, bool)+0x1c5) [0x837113]
 5: (MonClient::handle_auth(MAuthReply*)+0x44c) [0x83866c]
 6: (MonClient::ms_dispatch(Message*)+0xf3) [0x839a65]
 7: (Messenger::ms_deliver_dispatch(Message*)+0x54) [0x675946]
 8: (SimpleMessenger::dispatch_entry()+0x571) [0x666685]
 9: (SimpleMessenger::DispatchThread::entry()+0x29) [0x661055]
 10: (Thread::_entry_func(void*)+0x20) [0x6735de]
 11: (()+0x68ba) [0x7f4af318c8ba]
 12: (clone()+0x6d) [0x7f4af208202d]
 NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.
*** Caught signal (Aborted) ***

see sepia13:/core.cosd.20110120.1.sepia13.14005

Associated revisions

Revision 027335af (diff)
Added by Sage Weil over 8 years ago

monclient: fix locking

Hold lock in handle_* methods; assert lock held in all _* methods.

Fixes: #731
Signed-off-by: Sage Weil <>

History

#1 Updated by Sage Weil over 8 years ago

  • Status changed from New to Resolved
  • Assignee set to Sage Weil

Also available in: Atom PDF