Project

General

Profile

Bug #54730

crash: void ScatterLock::set_xlock_snap_sync(MDSContext*): assert(state == LOCK_XLOCK || state == LOCK_XLOCKDONE)

Added by Telemetry Bot almost 2 years ago. Updated 12 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
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):

1f4bea291a029fbd031643a239d97bd137e4358eafb566a428e2e2fa24b73e02
345cc31387bcc10544cc1b037ad8a915981bc12fd2dd425f894a829a1d7c4191
58af346449e9bd2c3e7512289984d2756d764bb6c99cfd850b4af333f4d597f1
683679603ccaead18ac3489ee1489b27e2794f55b103a69b332f9f93fc58bb1c
7678fc0af9c13d96faa09a482699bb7b33bd96faeb0d06ab359b49ff51f924c0
76d4c6e42702f113cea259903bc4b1c3f5e926a477c6724d503b7d5e4068a0ef
93f106979cd421e1642ce757264672aa027d544485e459371de9b228bfeeb00e
bd294db91a300255a59e77db239b7a77ef8a55e418e184313d34064ee0f4baab
cc557c5f35ac8ab3d9e780a4749b4ff5c0bedbdf68996af02ad915701a75b0f0
d54bd212563c0b2d93568f405365fe91e0d276f1a75a26ad20b257441ef09f5c
ea27463a0f321abbb4bb32662d6512a42b8dfc29a36438b5e6e0c729a0cce193


Description

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

Assert condition: state LOCK_XLOCK || state LOCK_XLOCKDONE
Assert function: void ScatterLock::set_xlock_snap_sync(MDSContext*)

Sanitized backtrace:

    MDCache::truncate_inode(CInode*, LogSegment*)
    C_MDS_inode_update_finish::finish(int)
    MDSContext::complete(int)
    MDSIOContextBase::complete(int)
    MDSLogContextBase::complete(int)
    Finisher::finisher_thread_entry()

Crash dump sample:
{
    "archived": "2022-03-06 12:57:45.369650",
    "assert_condition": "state == LOCK_XLOCK || state == LOCK_XLOCKDONE",
    "assert_file": "mds/ScatterLock.h",
    "assert_func": "void ScatterLock::set_xlock_snap_sync(MDSContext*)",
    "assert_line": 59,
    "assert_msg": "mds/ScatterLock.h: In function 'void ScatterLock::set_xlock_snap_sync(MDSContext*)' thread 7fd8b6046700 time 2022-03-05T19:02:52.160102+0100\nmds/ScatterLock.h: 59: FAILED ceph_assert(state == LOCK_XLOCK || state == LOCK_XLOCKDONE)",
    "assert_thread_name": "MR_Finisher",
    "backtrace": [
        "/lib/x86_64-linux-gnu/libpthread.so.0(+0x14140) [0x7fd8c1292140]",
        "gsignal()",
        "abort()",
        "(ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x16e) [0x7fd8c152b090]",
        "/usr/lib/ceph/libceph-common.so.2(+0x2511d1) [0x7fd8c152b1d1]",
        "(MDCache::truncate_inode(CInode*, LogSegment*)+0x356) [0x562340344bc6]",
        "(C_MDS_inode_update_finish::finish(int)+0x143) [0x562340316d83]",
        "(MDSContext::complete(int)+0x50) [0x562340554980]",
        "(MDSIOContextBase::complete(int)+0x524) [0x5623405550f4]",
        "(MDSLogContextBase::complete(int)+0x41) [0x562340555481]",
        "(Finisher::finisher_thread_entry()+0x18d) [0x7fd8c15c8c0d]",
        "/lib/x86_64-linux-gnu/libpthread.so.0(+0x8ea7) [0x7fd8c1286ea7]",
        "clone()" 
    ],
    "ceph_version": "16.2.7",
    "crash_id": "2022-03-05T18:02:52.163151Z_917dab33-1bed-4fa1-8c23-626a572f7637",
    "entity_name": "mds.906cc03906a32d3f4cb653421df9b1eea475e879",
    "os_id": "11",
    "os_name": "Debian GNU/Linux 11 (bullseye)",
    "os_version": "11 (bullseye)",
    "os_version_id": "11",
    "process_name": "ceph-mds",
    "stack_sig": "683679603ccaead18ac3489ee1489b27e2794f55b103a69b332f9f93fc58bb1c",
    "timestamp": "2022-03-05T18:02:52.163151Z",
    "utsname_machine": "x86_64",
    "utsname_release": "5.13.19-4-pve",
    "utsname_sysname": "Linux",
    "utsname_version": "#1 SMP PVE 5.13.19-9 (Mon, 07 Feb 2022 11:01:14 +0100)" 
}


Related issues

Related to CephFS - Bug #59785: crash: void ScatterLock::set_xlock_snap_sync(MDSContext*): assert(state == LOCK_XLOCK || state == LOCK_XLOCKDONE) Closed
Duplicates CephFS - Bug #49132: mds crashed "assert_condition": "state == LOCK_XLOCK || state == LOCK_XLOCKDONE", Resolved

History

#1 Updated by Telemetry Bot almost 2 years ago

  • Crash signature (v1) updated (diff)
  • Crash signature (v2) updated (diff)
  • Affected Versions v14.2.11, v14.2.15, v14.2.16, v14.2.22, v14.2.9, v15.2.10, v15.2.13, v15.2.14, v15.2.15, v15.2.8, v16.2.7 added

#2 Updated by Telemetry Bot over 1 year ago

  • Project changed from RADOS to CephFS
  • Crash signature (v1) updated (diff)

#3 Updated by Greg Farnum about 1 year ago

  • Duplicates Bug #49132: mds crashed "assert_condition": "state == LOCK_XLOCK || state == LOCK_XLOCKDONE", added

#4 Updated by Igor Fedotov 12 months ago

  • Status changed from New to Resolved

#5 Updated by Telemetry Bot 10 months ago

  • Related to Bug #59785: crash: void ScatterLock::set_xlock_snap_sync(MDSContext*): assert(state == LOCK_XLOCK || state == LOCK_XLOCKDONE) added

Also available in: Atom PDF