Project

General

Profile

Actions

Bug #59749

open

crash: virtual CInode::~CInode(): assert(batch_ops.empty())

Added by Telemetry Bot 12 months ago. Updated 10 months ago.

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

0%

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

2c21971e462439386ddcc58ce9ba22f656e9e3950c34c970fb131c8d2a382523
685f2cfe5bfc9f7bd5da33611f51feffc0fd12309aef405977d0da896a2f8637


Description

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

Assert condition: batch_ops.empty()
Assert function: virtual CInode::~CInode()

Sanitized backtrace:

    CInode::~CInode()
    MDCache::remove_inode(CInode*)
    MDCache::trim_inode(CDentry*, CInode*, CDir*, std::map<int, boost::intrusive_ptr<MCacheExpire>, std::less<int>, std::allocator<std::pair<int const, boost::intrusive_ptr<MCacheExpire> > > >&)
    MDCache::trim_dentry(CDentry*, std::map<int, boost::intrusive_ptr<MCacheExpire>, std::less<int>, std::allocator<std::pair<int const, boost::intrusive_ptr<MCacheExpire> > > >&)
    MDCache::trim_lru(unsigned long, std::map<int, boost::intrusive_ptr<MCacheExpire>, std::less<int>, std::allocator<std::pair<int const, boost::intrusive_ptr<MCacheExpire> > > >&)
    MDCache::trim(unsigned long)
    Migrator::export_finish(CDir*)
    Migrator::export_logged_finish(CDir*)
    MDSContext::complete(int)
    MDSIOContextBase::complete(int)
    MDSLogContextBase::complete(int)
    Finisher::finisher_thread_entry()

Crash dump sample:
{
    "archived": "2023-04-26 08:15:44.864659",
    "assert_condition": "batch_ops.empty()",
    "assert_file": "mds/CInode.h",
    "assert_func": "virtual CInode::~CInode()",
    "assert_line": 418,
    "assert_msg": "mds/CInode.h: In function 'virtual CInode::~CInode()' thread 7fe418789700 time 2023-04-26T07:48:55.869896+0000\nmds/CInode.h: 418: FAILED ceph_assert(batch_ops.empty())",
    "assert_thread_name": "MR_Finisher",
    "backtrace": [
        "/lib64/libpthread.so.0(+0x12cf0) [0x7fe4263c6cf0]",
        "gsignal()",
        "abort()",
        "(ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x18f) [0x7fe4273cc499]",
        "/usr/lib64/ceph/libceph-common.so.2(+0x269605) [0x7fe4273cc605]",
        "(CInode::~CInode()+0x88b) [0x5618c7f692fb]",
        "(MDCache::remove_inode(CInode*)+0x259) [0x5618c7ec4b19]",
        "(MDCache::trim_inode(CDentry*, CInode*, CDir*, std::map<int, boost::intrusive_ptr<MCacheExpire>, std::less<int>, std::allocator<std::pair<int const, boost::intrusive_ptr<MCacheExpire> > > >&)+0x2b6) [0x5618c7ed0ad6]",
        "(MDCache::trim_dentry(CDentry*, std::map<int, boost::intrusive_ptr<MCacheExpire>, std::less<int>, std::allocator<std::pair<int const, boost::intrusive_ptr<MCacheExpire> > > >&)+0xcf) [0x5618c7ed116f]",
        "(MDCache::trim_lru(unsigned long, std::map<int, boost::intrusive_ptr<MCacheExpire>, std::less<int>, std::allocator<std::pair<int const, boost::intrusive_ptr<MCacheExpire> > > >&)+0x714) [0x5618c7ed2bf4]",
        "(MDCache::trim(unsigned long)+0xae) [0x5618c7f1a3fe]",
        "(Migrator::export_finish(CDir*)+0x8fc) [0x5618c7fefb9c]",
        "(Migrator::export_logged_finish(CDir*)+0x8f1) [0x5618c7ff0841]",
        "(MDSContext::complete(int)+0x5f) [0x5618c80f76df]",
        "(MDSIOContextBase::complete(int)+0x534) [0x5618c80f7e74]",
        "(MDSLogContextBase::complete(int)+0x45) [0x5618c80f8225]",
        "(Finisher::finisher_thread_entry()+0x18d) [0x7fe42746a78d]",
        "/lib64/libpthread.so.0(+0x81ca) [0x7fe4263bc1ca]",
        "clone()" 
    ],
    "ceph_version": "17.2.5",
    "crash_id": "2023-04-26T07:48:55.873777Z_2ccd3070-9d7b-4e80-9545-58cad5ab7a34",
    "entity_name": "mds.ebbc8bec6ee8b6f590a1e53f85c3d562090819c5",
    "os_id": "centos",
    "os_name": "CentOS Stream",
    "os_version": "8",
    "os_version_id": "8",
    "process_name": "ceph-mds",
    "stack_sig": "2c21971e462439386ddcc58ce9ba22f656e9e3950c34c970fb131c8d2a382523",
    "timestamp": "2023-04-26T07:48:55.873777Z",
    "utsname_machine": "x86_64",
    "utsname_release": "4.18.0-372.9.1.el8.x86_64",
    "utsname_sysname": "Linux",
    "utsname_version": "#1 SMP Tue May 10 14:48:47 UTC 2022" 
}

Actions #1

Updated by Telemetry Bot 12 months ago

  • Crash signature (v1) updated (diff)
  • Crash signature (v2) updated (diff)
  • Affected Versions v16.2.3, v17.2.5 added
Actions #2

Updated by Milind Changire 10 months ago

  • Assignee set to Dhairya Parmar
  • Crash signature (v1) updated (diff)
Actions

Also available in: Atom PDF