Project

General

Profile

Bug #1616

crash in is_supported_auth

Added by Josh Durgin almost 9 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
cephx
Target version:
% Done:

0%

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

Description

From teuthology:~/log/osd.7.log.gz:

./common/Mutex.h: In function 'void Mutex::Lock(bool)', in thread '0x7f242941c700'
./common/Mutex.h: 110: FAILED assert(r == 0)
 ceph version 0.36-291-g42c8ae7 (commit:42c8ae77d65ab0fb1fea245b3ec7a9bd18b444e8)
 1: (is_supported_auth(int, CephContext*)+0x949) [0x664b29]
 2: (AuthAuthorizeHandlerRegistry::get_handler(int)+0x28) [0x6df418]
 3: (OSD::ms_verify_authorizer(Connection*, int, int, ceph::buffer::list&, ceph::buffer::list&, bool&)+0x3e) [0x55067e]
 4: (SimpleMessenger::verify_authorizer(Connection*, int, int, ceph::buffer::list&, ceph::buffer::list&, bool&)+0x71) [0x616981]
 5: (SimpleMessenger::Pipe::accept()+0x1f2b) [0x63563b]
 6: (SimpleMessenger::Pipe::reader()+0x17c1) [0x6393a1]
 7: (SimpleMessenger::Pipe::Reader::entry()+0x15) [0x4a43b5]
 8: (Thread::_entry_func(void*)+0x12) [0x613ef2]
 9: (()+0x7971) [0x7f243c1c6971]
 10: (clone()+0x6d) [0x7f243aa5692d]

A similar crash occured before in the monitor, in #1367.

History

#1 Updated by Josh Durgin almost 9 years ago

This happened again in run 493.

#2 Updated by Sage Weil almost 9 years ago

  • Category set to cephx

hopefully this is resolved by b6d9ed9412cb046747bb0d0713c286613757bfcf

i confess i don't see why exactly this is triggering in this case, but wiping out these global static variables is a good idea anyway.

#3 Updated by Sage Weil almost 9 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF