Project

General

Profile

Bug #56747

crash: std::__cxx11::string MonMap::get_name(unsigned int) const: assert(n < ranks.size())

Added by Telemetry Bot over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

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

43b70682faa7515fa156136176ed311fd2dd5e9a5a4adda213429a89f4aa6f23
4dcce5b0f889a94074b14babf1f9000c64041e679019c6817e32821fe6f85311
62f58718b7534766c4355ad95316c9800dd1523752806f8dba480ec907cf31dc
8d2fd79e0b5e9dd95dd1dd2c247538321069a867b1f6c9064b34f3d95bae0040


Description

http://telemetry.front.sepia.ceph.com:4000/d/jByk5HaMz/crash-spec-x-ray?orgId=1&var-sig_v2=0846d215ecad4c78633623e59d55c2a581f2d19c5725f0239ac45348029e424c

Assert condition: n < ranks.size()
Assert function: std::__cxx11::string MonMap::get_name(unsigned int) const

Sanitized backtrace:

    Monitor::get_versions(std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::list<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::list<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&)
    Monitor::get_all_versions(std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::list<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::list<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&)
    HealthMonitor::check_for_older_version(health_check_map_t*)
    HealthMonitor::check_leader_health()
    HealthMonitor::tick()
    Context::complete(int)
    void finish_contexts<std::list<Context*, std::allocator<Context*> > >(ceph::common::CephContext*, std::list<Context*, std::allocator<Context*> >&, int)
    Paxos::finish_round()
    Paxos::handle_last(boost::intrusive_ptr<MonOpRequest>)
    Paxos::dispatch(boost::intrusive_ptr<MonOpRequest>)
    Monitor::dispatch_op(boost::intrusive_ptr<MonOpRequest>)
    Monitor::_ms_dispatch(Message*)
    Dispatcher::ms_dispatch2(boost::intrusive_ptr<Message> const&)
    DispatchQueue::entry()
    DispatchQueue::DispatchThread::entry()

Crash dump sample:
{
    "assert_condition": "n < ranks.size()",
    "assert_file": "mon/MonMap.h",
    "assert_func": "std::__cxx11::string MonMap::get_name(unsigned int) const",
    "assert_line": 350,
    "assert_msg": "mon/MonMap.h: In function 'std::__cxx11::string MonMap::get_name(unsigned int) const' thread 7f665299d700 time 2022-07-26T03:33:45.187905+0000\nmon/MonMap.h: 350: FAILED ceph_assert(n < ranks.size())",
    "assert_thread_name": "ms_dispatch",
    "backtrace": [
        "/lib64/libpthread.so.0(+0x12ce0) [0x7f665cdface0]",
        "gsignal()",
        "abort()",
        "(ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x1b0) [0x7f665ee68c32]",
        "/usr/lib64/ceph/libceph-common.so.2(+0x283df5) [0x7f665ee68df5]",
        "(Monitor::get_versions(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&)+0x49e) [0x559d4d54a06e]",
        "(Monitor::get_all_versions(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&)+0x2d) [0x559d4d563add]",
        "(HealthMonitor::check_for_older_version(health_check_map_t*)+0x1b0) [0x559d4d644d90]",
        "(HealthMonitor::check_leader_health()+0x20c) [0x559d4d64570c]",
        "(HealthMonitor::tick()+0x130) [0x559d4d645a90]",
        "/usr/bin/ceph-mon(+0x2f3101) [0x559d4d557101]",
        "(Context::complete(int)+0xd) [0x559d4d58bbad]",
        "(void finish_contexts<std::__cxx11::list<Context*, std::allocator<Context*> > >(ceph::common::CephContext*, std::__cxx11::list<Context*, std::allocator<Context*> >&, int)+0xa5) [0x559d4d5b9bc5]",
        "(Paxos::finish_round()+0x169) [0x559d4d6b5419]",
        "(Paxos::handle_last(boost::intrusive_ptr<MonOpRequest>)+0xc6b) [0x559d4d6b662b]",
        "(Paxos::dispatch(boost::intrusive_ptr<MonOpRequest>)+0x427) [0x559d4d6b7417]",
        "(Monitor::dispatch_op(boost::intrusive_ptr<MonOpRequest>)+0x176d) [0x559d4d589a7d]",
        "(Monitor::_ms_dispatch(Message*)+0x457) [0x559d4d58a0c7]",
        "(Dispatcher::ms_dispatch2(boost::intrusive_ptr<Message> const&)+0x5c) [0x559d4d5ba88c]",
        "(DispatchQueue::entry()+0x14fa) [0x7f665f0ef43a]",
        "(DispatchQueue::DispatchThread::entry()+0x11) [0x7f665f1a6581]",
        "/lib64/libpthread.so.0(+0x81ca) [0x7f665cdf01ca]",
        "clone()" 
    ],
    "ceph_version": "17.2.1",
    "crash_id": "2022-07-26T03:33:45.224813Z_3febabb3-c537-4967-90f2-8533e744f0f6",
    "entity_name": "mon.d11f6994a338bc74c5db72100880002ee3ed02e2",
    "os_id": "centos",
    "os_name": "CentOS Stream",
    "os_version": "8",
    "os_version_id": "8",
    "process_name": "ceph-mon",
    "stack_sig": "43b70682faa7515fa156136176ed311fd2dd5e9a5a4adda213429a89f4aa6f23",
    "timestamp": "2022-07-26T03:33:45.224813Z",
    "utsname_machine": "x86_64",
    "utsname_release": "5.4.0-121-generic",
    "utsname_sysname": "Linux",
    "utsname_version": "#137-Ubuntu SMP Wed Jun 15 13:33:07 UTC 2022" 
}

History

#1 Updated by Telemetry Bot over 1 year ago

  • Crash signature (v1) updated (diff)
  • Crash signature (v2) updated (diff)
  • Affected Versions v16.2.1, v16.2.5, v17.2.0, v17.2.1 added

Also available in: Atom PDF