Project

General

Profile

Actions

Bug #59875

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. Updated 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):

130b6bcc0c9c723b70f602ee2ca4a3bf3634a18b2d4baf8842370eeebd0c5695


Description

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

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::RandomAccessFileReader::Prefetch(unsigned long, unsigned long) const
    rocksdb::BlockPrefetcher::PrefetchIfNeeded(rocksdb::BlockBasedTable::Rep const*, rocksdb::BlockHandle const&, unsigned long, bool)
    rocksdb::BlockBasedTableIterator::InitDataBlock()
    rocksdb::BlockBasedTableIterator::FindBlockForward()
    rocksdb::BlockBasedTableIterator::FindKeyForward()
    rocksdb::BlockBasedTableIterator::Next()
    rocksdb::BlockBasedTableIterator::NextAndGetResult(rocksdb::IterateResult*)
    rocksdb::IteratorWrapperBase<rocksdb::Slice>::NextAndGetResult(rocksdb::IterateResult*)
    rocksdb::IteratorWrapperBase<rocksdb::Slice>::Next()
    rocksdb::MergingIterator::Next()
    rocksdb::MergingIterator::NextAndGetResult(rocksdb::IterateResult*)
    rocksdb::IteratorWrapperBase<rocksdb::Slice>::Next()
    rocksdb::DBIter::Next()
    rocksdb::ArenaWrappedDBIter::Next()
    RocksDBStore::RocksDBWholeSpaceIteratorImpl::next()
    BlueStore::_fsck_check_objects(BlueStore::FSCKDepth, BlueStore::FSCK_ObjectCtx&)
    BlueStore::_fsck_on_open(BlueStore::FSCKDepth, bool)
    BlueStore::_fsck(BlueStore::FSCKDepth, bool)

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 7f87b891a540 time 2023-01-26T14:14:39.357971+0000\nblk/kernel/KernelDevice.cc: 1255: FAILED ceph_assert((uint64_t)r == len)",
    "assert_thread_name": "ceph-bluestore-",
    "backtrace": [
        "/lib/x86_64-linux-gnu/libpthread.so.0(+0x14420) [0x7f87b903b420]",
        "gsignal()",
        "abort()",
        "(ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x1b7) [0x7f87b959e82e]",
        "/usr/lib/ceph/libceph-common.so.2(+0x27c9d8) [0x7f87b959e9d8]",
        "(KernelDevice::read(unsigned long, unsigned long, ceph::buffer::v15_2_0::list*, IOContext*, bool)+0x9b9) [0x55acd0cf8849]",
        "(BlueFS::_read(BlueFS::FileReader*, unsigned long, unsigned long, ceph::buffer::v15_2_0::list*, char*)+0x560) [0x55acd0a43620]",
        "(BlueRocksRandomAccessFile::Prefetch(unsigned long, unsigned long)+0x1f) [0x55acd0c6fa8f]",
        "(rocksdb::LegacyRandomAccessFileWrapper::Prefetch(unsigned long, unsigned long, rocksdb::IOOptions const&, rocksdb::IODebugContext*)+0x60) [0x55acd0d84d90]",
        "(rocksdb::RandomAccessFileReader::Prefetch(unsigned long, unsigned long) const+0x75) [0x55acd106c62b]",
        "(rocksdb::BlockPrefetcher::PrefetchIfNeeded(rocksdb::BlockBasedTable::Rep const*, rocksdb::BlockHandle const&, unsigned long, bool)+0x168) [0x55acd1235d4c]",
        "(rocksdb::BlockBasedTableIterator::InitDataBlock()+0x171) [0x55acd1233b0d]",
        "(rocksdb::BlockBasedTableIterator::FindBlockForward()+0x281) [0x55acd123420b]",
        "(rocksdb::BlockBasedTableIterator::FindKeyForward()+0x92) [0x55acd1233f86]",
        "(rocksdb::BlockBasedTableIterator::Next()+0x8c) [0x55acd123380a]",
        "(rocksdb::BlockBasedTableIterator::NextAndGetResult(rocksdb::IterateResult*)+0x21) [0x55acd123383d]",
        "(rocksdb::IteratorWrapperBase<rocksdb::Slice>::NextAndGetResult(rocksdb::IterateResult*)+0x79) [0x55acd0f4ae0d]",
        "ceph-bluestore-tool(+0xdb341a) [0x55acd0f2041a]",
        "(rocksdb::IteratorWrapperBase<rocksdb::Slice>::Next()+0x75) [0x55acd0e689d9]",
        "(rocksdb::MergingIterator::Next()+0xc2) [0x55acd10acb50]",
        "(rocksdb::MergingIterator::NextAndGetResult(rocksdb::IterateResult*)+0x2c) [0x55acd10acca8]",
        "(rocksdb::IteratorWrapperBase<rocksdb::Slice>::Next()+0x75) [0x55acd0e689d9]",
        "(rocksdb::DBIter::Next()+0x1ef) [0x55acd0e5e277]",
        "(rocksdb::ArenaWrappedDBIter::Next()+0x20) [0x55acd1177d76]",
        "(RocksDBStore::RocksDBWholeSpaceIteratorImpl::next()+0x32) [0x55acd0d13182]",
        "(BlueStore::_fsck_check_objects(BlueStore::FSCKDepth, BlueStore::FSCK_ObjectCtx&)+0x1485) [0x55acd0b1bea5]",
        "(BlueStore::_fsck_on_open(BlueStore::FSCKDepth, bool)+0x2205) [0x55acd0b21685]",
        "(BlueStore::_fsck(BlueStore::FSCKDepth, bool)+0x2c2) [0x55acd0b2b932]",
        "main()",
        "__libc_start_main()",
        "_start()" 
    ],
    "ceph_version": "17.2.5",
    "crash_id": "2023-01-26T14:14:39.383652Z_192a3230-a827-4860-974e-3acae3360aa4",
    "entity_name": "client.687b72f35a6dffba52a6d1a9f4f49a4d28eadb71",
    "os_id": "ubuntu",
    "os_name": "Ubuntu",
    "os_version": "20.04.5 LTS (Focal Fossa)",
    "os_version_id": "20.04",
    "process_name": "ceph-bluestore-",
    "stack_sig": "130b6bcc0c9c723b70f602ee2ca4a3bf3634a18b2d4baf8842370eeebd0c5695",
    "timestamp": "2023-01-26T14:14:39.383652Z",
    "utsname_machine": "x86_64",
    "utsname_release": "5.4.0-137-generic",
    "utsname_sysname": "Linux",
    "utsname_version": "#154-Ubuntu SMP Thu Jan 5 17:03:22 UTC 2023" 
}

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