Project

General

Profile

Actions

Bug #54834

closed

Bug #54833: crash: void Locker::handle_file_lock(ScatterLock*, ceph::cref_t<MLock>&): assert(lock->get_state() == LOCK_LOCK || lock->get_state() == LOCK_MIX || lock->get_state() == LOCK_MIX_SYNC2)

crash: void Locker::handle_file_lock(ScatterLock*, ceph::cref_t<MLock>&): assert(lock->get_state() == LOCK_LOCK || lock->get_state() == LOCK_MIX || lock->get_state() == LOCK_MIX_SYNC2)

Added by Telemetry Bot about 2 years ago. Updated about 2 months ago.

Status:
Duplicate
Priority:
Normal
Category:
-
Target version:
-
% Done:

0%

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

462412056cbc594821336c091c8ee3df64f50bc0af0c946d6224cf67f36f3b7e
aba7789322b7151e5165082b2835924af5030bfac01ba85593d8aa2508d5c578


Description

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

Assert condition: lock->get_state() LOCK_LOCK || lock->get_state() LOCK_MIX || lock->get_state() == LOCK_MIX_SYNC2
Assert function: void Locker::handle_file_lock(ScatterLock*, ceph::cref_t<MLock>&)

Sanitized backtrace:

    Locker::handle_file_lock(ScatterLock*, boost::intrusive_ptr<MLock const> const&)
    Locker::dispatch(boost::intrusive_ptr<Message const> const&)
    MDSRank::_dispatch(boost::intrusive_ptr<Message const> const&, bool)
    MDSRankDispatcher::ms_dispatch(boost::intrusive_ptr<Message const> const&)
    MDSDaemon::ms_dispatch2(boost::intrusive_ptr<Message> const&)
    DispatchQueue::entry()
    DispatchQueue::DispatchThread::entry()

Crash dump sample:
{
    "assert_condition": "lock->get_state() == LOCK_LOCK || lock->get_state() == LOCK_MIX || lock->get_state() == LOCK_MIX_SYNC2",
    "assert_file": "mds/Locker.cc",
    "assert_func": "void Locker::handle_file_lock(ScatterLock*, ceph::cref_t<MLock>&)",
    "assert_line": 5732,
    "assert_msg": "mds/Locker.cc: In function 'void Locker::handle_file_lock(ScatterLock*, ceph::cref_t<MLock>&)' thread 7f7f0966c640 time 2022-02-20T08:36:08.488727+0000\nmds/Locker.cc: 5732: FAILED ceph_assert(lock->get_state() == LOCK_LOCK || lock->get_state() == LOCK_MIX || lock->get_state() == LOCK_MIX_SYNC2)",
    "assert_thread_name": "ms_dispatch",
    "backtrace": [
        "/lib/x86_64-linux-gnu/libpthread.so.0(+0x13200) [0x7f7f0f1fa200]",
        "gsignal()",
        "abort()",
        "(ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x16e) [0x7f7f0f82a225]",
        "/usr/lib/x86_64-linux-gnu/ceph/libceph-common.so.2(+0x24a366) [0x7f7f0f82a366]",
        "(Locker::handle_file_lock(ScatterLock*, boost::intrusive_ptr<MLock const> const&)+0x19be) [0x55575716916e]",
        "(Locker::dispatch(boost::intrusive_ptr<Message const> const&)+0x1ac) [0x555757170f0c]",
        "(MDSRank::_dispatch(boost::intrusive_ptr<Message const> const&, bool)+0x5c0) [0x555756f8a450]",
        "(MDSRankDispatcher::ms_dispatch(boost::intrusive_ptr<Message const> const&)+0x58) [0x555756f8aa38]",
        "(MDSDaemon::ms_dispatch2(boost::intrusive_ptr<Message> const&)+0x1bf) [0x555756f65ddf]",
        "(Messenger::ms_deliver_dispatch(boost::intrusive_ptr<Message> const&)+0x468) [0x7f7f0fa5ac58]",
        "(DispatchQueue::entry()+0x647) [0x7f7f0fa58067]",
        "(DispatchQueue::DispatchThread::entry()+0xd) [0x7f7f0fb1707d]",
        "/lib/x86_64-linux-gnu/libpthread.so.0(+0x8d80) [0x7f7f0f1efd80]",
        "clone()" 
    ],
    "ceph_version": "16.2.7",
    "crash_id": "2022-02-20T08:36:08.532653Z_4ca5fb20-3f07-44d3-ae4b-690f0a6ea34d",
    "entity_name": "mds.da88af6c4f104344bf0cf76179329b666fce2f50",
    "os_id": "debian",
    "os_name": "Debian GNU/Linux bookworm/sid",
    "process_name": "ceph-mds",
    "stack_sig": "462412056cbc594821336c091c8ee3df64f50bc0af0c946d6224cf67f36f3b7e",
    "timestamp": "2022-02-20T08:36:08.532653Z",
    "utsname_machine": "x86_64",
    "utsname_release": "5.15.0-3-amd64",
    "utsname_sysname": "Linux",
    "utsname_version": "#1 SMP Debian 5.15.15-1 (2022-01-18)" 
}

Actions #1

Updated by Telemetry Bot about 2 years ago

  • Crash signature (v1) updated (diff)
  • Crash signature (v2) updated (diff)
  • Affected Versions v16.2.7 added
Actions #2

Updated by Telemetry Bot almost 2 years ago

  • Project changed from RADOS to CephFS
Actions #3

Updated by Telemetry Bot almost 2 years ago

  • Crash signature (v1) updated (diff)
  • Affected Versions v17.1.0 added
Actions #4

Updated by Telemetry Bot 11 months ago

  • Affected Versions v16.2.10, v16.2.11, v17.2.5 added
Actions #5

Updated by Milind Changire 10 months ago

  • Related to Bug #54833: crash: void Locker::handle_file_lock(ScatterLock*, ceph::cref_t<MLock>&): assert(lock->get_state() == LOCK_LOCK || lock->get_state() == LOCK_MIX || lock->get_state() == LOCK_MIX_SYNC2) added
Actions #6

Updated by Milind Changire 10 months ago

  • Assignee set to Neeraj Pratap Singh
  • Crash signature (v1) updated (diff)
Actions #7

Updated by Xiubo Li about 2 months ago

  • Status changed from New to Duplicate
  • Parent task set to #54833
Actions

Also available in: Atom PDF