Project

General

Profile

Actions

Bug #54833

open

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 3 months ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
Category:
Correctness/Safety
Target version:
% Done:

100%

Source:
Telemetry
Tags:
backport_processed
Backport:
reef,quincy,squid
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS
Labels (FS):
crash
Pull request ID:
Crash signature (v1):

0253f38e2bd872a2f74cdd3714f166d569c2c8e87301d000df3d58bdfa526c70
4133b924526414f2bdd07b685dca1b5221ec81576d91e562bb6e4df3a2b561c4


Description

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

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:

    pthread_kill()
    raise()
    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 7f6645486640 time 2022-02-20T22:30:46.711103-0500\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/libc.so.6(+0x46520) [0x7f664afac520]",
        "pthread_kill()",
        "raise()",
        "abort()",
        "(ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x172) [0x7f664b736487]",
        "/usr/lib/x86_64-linux-gnu/ceph/libceph-common.so.2(+0x24b5e6) [0x7f664b7365e6]",
        "(Locker::handle_file_lock(ScatterLock*, boost::intrusive_ptr<MLock const> const&)+0x18b3) [0x556fb61a5393]",
        "(Locker::dispatch(boost::intrusive_ptr<Message const> const&)+0x64) [0x556fb61ad254]",
        "(MDSRank::_dispatch(boost::intrusive_ptr<Message const> const&, bool)+0x5b7) [0x556fb5fba477]",
        "(MDSRankDispatcher::ms_dispatch(boost::intrusive_ptr<Message const> const&)+0x53) [0x556fb5fbaa83]",
        "(MDSDaemon::ms_dispatch2(boost::intrusive_ptr<Message> const&)+0x1bf) [0x556fb5fa643f]",
        "(Messenger::ms_deliver_dispatch(boost::intrusive_ptr<Message> const&)+0x450) [0x7f664b968420]",
        "(DispatchQueue::entry()+0x647) [0x7f664b965807]",
        "(DispatchQueue::DispatchThread::entry()+0x11) [0x7f664ba26561]",
        "/lib/x86_64-linux-gnu/libc.so.6(+0x98927) [0x7f664affe927]",
        "clone()" 
    ],
    "ceph_version": "16.2.7",
    "crash_id": "2022-02-21T03:30:46.752836Z_d902f215-af3f-4fbb-89d9-7ad51c405b67",
    "entity_name": "mds.dc0af19b7efe873f7993738fb083813d67ff43e2",
    "os_id": "22.04",
    "os_name": "Ubuntu Jammy Jellyfish (development branch)",
    "os_version": "22.04 (Jammy Jellyfish)",
    "os_version_id": "22.04",
    "process_name": "ceph-mds",
    "stack_sig": "0253f38e2bd872a2f74cdd3714f166d569c2c8e87301d000df3d58bdfa526c70",
    "timestamp": "2022-02-21T03:30:46.752836Z",
    "utsname_machine": "x86_64",
    "utsname_release": "5.15.0-17-generic",
    "utsname_sysname": "Linux",
    "utsname_version": "#17-Ubuntu SMP Thu Jan 13 16:27:23 UTC 2022" 
}


Subtasks 1 (0 open1 closed)

Bug #54834: 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)DuplicateNeeraj Pratap Singh

Actions

Related issues 3 (1 open2 closed)

Copied to CephFS - Backport #64584: reef: 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)ResolvedXiubo LiActions
Copied to CephFS - Backport #64585: squid: 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)ResolvedXiubo LiActions
Copied to CephFS - Backport #64586: quincy: 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)In ProgressXiubo LiActions
Actions

Also available in: Atom PDF