Project

General

Profile

Actions

Bug #60088

open

crash: virtual int KernelDevice::read(uint64_t, uint64_t, ceph::bufferlist*, IOContext*, bool): assert((uint64_t)r == len)

Added by Telemetry Bot 12 months ago.

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

0%

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

29fc2898bc27d3ef467bb6a7ad3bacdc1eb939cd6a6b2e84fc5486e773dd86f7
e5421d833344c8ba2885822c56d4f442c908d7af5cfc7359c876d0e53d19ce02


Description

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

Assert condition: (uint64_t)r == len
Assert function: virtual int KernelDevice::read(uint64_t, uint64_t, ceph::bufferlist*, IOContext*, bool)

Sanitized backtrace:

    KernelDevice::read(unsigned long, unsigned long, ceph::buffer::list*, IOContext*, bool)
    BlueFS::_read(BlueFS::FileReader*, unsigned long, unsigned long, ceph::buffer::list*, char*)
    BlueRocksRandomAccessFile::Prefetch(unsigned long, unsigned long)
    rocksdb::LegacyRandomAccessFileWrapper::Prefetch(unsigned long, unsigned long, rocksdb::IOOptions const&, rocksdb::IODebugContext*)
    rocksdb::BlockPrefetcher::PrefetchIfNeeded(rocksdb::BlockBasedTable::Rep const*, rocksdb::BlockHandle const&, unsigned long, bool)
    rocksdb::BlockBasedTableIterator::InitDataBlock()
    rocksdb::BlockBasedTableIterator::FindBlockForward()
    rocksdb::BlockBasedTableIterator::Next()
    rocksdb::BlockBasedTableIterator::NextAndGetResult(rocksdb::IterateResult*)
    rocksdb::MergingIterator::Next()
    rocksdb::MergingIterator::NextAndGetResult(rocksdb::IterateResult*)
    rocksdb::DBIter::Next()
    RocksDBStore::RocksDBWholeSpaceIteratorImpl::next()
    WholeMergeIteratorImpl::next()
    BitmapFreelistManager::enumerate_next(KeyValueDB*, unsigned long*, unsigned long*)
    BlueStore::_init_alloc(std::map<unsigned long, unsigned long, std::less<unsigned long>, std::allocator<std::pair<unsigned long const, unsigned long> > >*)
    BlueStore::_open_db_and_around(bool, bool)
    BlueStore::_mount()
    OSD::init()

Crash dump sample:
{
    "assert_condition": "(uint64_t)r == len",
    "assert_file": "blk/kernel/KernelDevice.cc",
    "assert_func": "virtual int KernelDevice::read(uint64_t, uint64_t, ceph::bufferlist*, IOContext*, bool)",
    "assert_line": 1255,
    "assert_msg": "blk/kernel/KernelDevice.cc: In function 'virtual int KernelDevice::read(uint64_t, uint64_t, ceph::bufferlist*, IOContext*, bool)' thread 7fc6ed4ad3c0 time 2023-02-28T22:29:50.384151+0000\nblk/kernel/KernelDevice.cc: 1255: FAILED ceph_assert((uint64_t)r == len)",
    "assert_thread_name": "ceph-osd",
    "backtrace": [
        "/lib64/libpthread.so.0(+0x12cf0) [0x7fc6eb6b0cf0]",
        "gsignal()",
        "abort()",
        "(ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x18f) [0x5594f94b968b]",
        "/usr/bin/ceph-osd(+0x5977f7) [0x5594f94b97f7]",
        "(KernelDevice::read(unsigned long, unsigned long, ceph::buffer::v15_2_0::list*, IOContext*, bool)+0x9d7) [0x5594fa159f67]",
        "(BlueFS::_read(BlueFS::FileReader*, unsigned long, unsigned long, ceph::buffer::v15_2_0::list*, char*)+0x588) [0x5594f9c7c298]",
        "(BlueRocksRandomAccessFile::Prefetch(unsigned long, unsigned long)+0x1f) [0x5594f9ca448f]",
        "(rocksdb::LegacyRandomAccessFileWrapper::Prefetch(unsigned long, unsigned long, rocksdb::IOOptions const&, rocksdb::IODebugContext*)+0x22) [0x5594fa1d0ea2]",
        "(rocksdb::BlockPrefetcher::PrefetchIfNeeded(rocksdb::BlockBasedTable::Rep const*, rocksdb::BlockHandle const&, unsigned long, bool)+0x1a5) [0x5594fa44d9e5]",
        "(rocksdb::BlockBasedTableIterator::InitDataBlock()+0xca) [0x5594fa44a36a]",
        "(rocksdb::BlockBasedTableIterator::FindBlockForward()+0x21d) [0x5594fa44b59d]",
        "(rocksdb::BlockBasedTableIterator::Next()+0x3a) [0x5594fa44b76a]",
        "(rocksdb::BlockBasedTableIterator::NextAndGetResult(rocksdb::IterateResult*)+0x1a) [0x5594fa44b7aa]",
        "/usr/bin/ceph-osd(+0x1385211) [0x5594fa2a7211]",
        "(rocksdb::MergingIterator::Next()+0x32) [0x5594fa380e52]",
        "(rocksdb::MergingIterator::NextAndGetResult(rocksdb::IterateResult*)+0x13) [0x5594fa37f193]",
        "(rocksdb::DBIter::Next()+0x286) [0x5594fa231d76]",
        "(RocksDBStore::RocksDBWholeSpaceIteratorImpl::next()+0x4c) [0x5594fa172ecc]",
        "(WholeMergeIteratorImpl::next()+0x1e) [0x5594fa19307e]",
        "(BitmapFreelistManager::enumerate_next(KeyValueDB*, unsigned long*, unsigned long*)+0x3dc) [0x5594f9c65d6c]",
        "(BlueStore::_init_alloc(std::map<unsigned long, unsigned long, std::less<unsigned long>, std::allocator<std::pair<unsigned long const, unsigned long> > >*)+0x1a9) [0x5594f9b99cf9]",
        "(BlueStore::_open_db_and_around(bool, bool)+0x4d4) [0x5594f9bca3b4]",
        "(BlueStore::_mount()+0x396) [0x5594f9bcd2f6]",
        "(OSD::init()+0x556) [0x5594f95f96f6]",
        "main()",
        "__libc_start_main()",
        "_start()" 
    ],
    "ceph_version": "17.2.5",
    "crash_id": "2023-02-28T22:29:50.447458Z_cea34af9-1337-4d02-978d-38f2e61fbcad",
    "entity_name": "osd.68db176b4010eadfa4533c6d2f639d82d8a2a2b9",
    "os_id": "centos",
    "os_name": "CentOS Stream",
    "os_version": "8",
    "os_version_id": "8",
    "process_name": "ceph-osd",
    "stack_sig": "29fc2898bc27d3ef467bb6a7ad3bacdc1eb939cd6a6b2e84fc5486e773dd86f7",
    "timestamp": "2023-02-28T22:29:50.447458Z",
    "utsname_machine": "x86_64",
    "utsname_release": "5.10.0-20-amd64",
    "utsname_sysname": "Linux",
    "utsname_version": "#1 SMP Debian 5.10.158-2 (2022-12-13)" 
}

Actions #1

Updated by Telemetry Bot 12 months ago

  • Crash signature (v1) updated (diff)
  • Crash signature (v2) updated (diff)
  • Affected Versions v17.2.5 added
Actions

Also available in: Atom PDF