Project

General

Profile

Actions

Bug #20667

closed

segv in cephx_verify_authorizing during monc init

Added by Sage Weil almost 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Immediate
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

  -114> 2017-07-17 18:42:08.896052 7f1159782700  1 accepter.entry start
  -113> 2017-07-17 18:42:08.896173 7f116cfcdc80  1 accepter.start
  -112> 2017-07-17 18:42:08.896218 7f115417d700  1 accepter.entry start
  -111> 2017-07-17 18:42:08.896248 7f116cfcdc80  1 accepter.start
  -110> 2017-07-17 18:42:08.896262 7f116cfa7700  1 -- 0.0.0.0:6816/97757 >> - pipe(0x562cf974b400 sd=26 :6816 s=0 pgs=0 cs=0 l=0 c=0x562cf95e93c0).accept sd=26 -
  -109> 2017-07-17 18:42:08.896287 7f115297a700  1 accepter.entry start
  -108> 2017-07-17 18:42:08.896314 7f116cfcdc80 10 monclient: init
  -107> 2017-07-17 18:42:08.896322 7f116cfcdc80  5 adding auth protocol: cephx
...
     0> 2017-07-17 18:42:08.914160 7f116cfa7700 -1 *** Caught signal (Segmentation fault) **
 in thread 7f116cfa7700 thread_name:ms_pipe_read

 ceph version 12.1.0-1071-gd9c1467 (d9c1467492756d344415dba37829153f45de5368) luminous (rc)
 1: (()+0xa25ba4) [0x562cee6a3ba4]
 2: (()+0x113e0) [0x7f116b4bb3e0]
 3: (cephx_verify_authorizer(CephContext*, KeyStore*, ceph::buffer::list::iterator&, CephXServiceTicketInfo&, ceph::buffer::list&)+0x496) [0x562cee872066]
 4: (CephxAuthorizeHandler::verify_authorizer(CephContext*, KeyStore*, ceph::buffer::list&, ceph::buffer::list&, EntityName&, unsigned long&, AuthCapsInfo&, CryptoKey&, unsigned long*)+0x31a) [0x562cee86409a]
 5: (OSD::ms_verify_authorizer(Connection*, int, int, ceph::buffer::list&, ceph::buffer::list&, bool&, CryptoKey&)+0xf9) [0x562cee0ed6b9]
 6: (SimpleMessenger::verify_authorizer(Connection*, int, int, ceph::buffer::list&, ceph::buffer::list&, bool&, CryptoKey&)+0x6c) [0x562cee76ca6c]
 7: (Pipe::accept()+0x1ada) [0x562cee915bca]
 8: (Pipe::reader()+0x1e98) [0x562cee91b398]
 9: (Pipe::Reader::entry()+0xd) [0x562cee92402d]
 10: (()+0x770a) [0x7f116b4b170a]
 11: (clone()+0x6d) [0x7f116a52882d]
 NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.

note that monc is just starting up when the incoming connection comes in.

/a/sage-2017-07-17_17:34:45-rados-wip-sage-testing-distro-basic-smithi/1408659

core doesn't have a good backtrace:

Thread 1 (Thread 0x7f116cfa7700 (LWP 97831)):
#0  0x00007f116b4bb2b9 in __flockfile (stream=0x17ddd) at ../sysdeps/pthread/flockfile.c:28
#1  0x0000562cee6a3c2e in reraise_fatal (signum=11) at /build/ceph-12.1.0-1071-gd9c1467/src/global/signal_handler.cc:74
#2  handle_fatal_signal (signum=11) at /build/ceph-12.1.0-1071-gd9c1467/src/global/signal_handler.cc:138
#3  0x00007f116b4bb3e0 in __libc_sigaction (sig=97757, act=0x17e27, oact=0xb) at ../sysdeps/unix/sysv/linux/x86_64/sigaction.c:54
#4  0x0000000000001000 in ?? ()
#5  0x0000000000000000 in ?? ()

Actions

Also available in: Atom PDF