Project

General

Profile

Actions

Bug #60112

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

3e630116bbc8cf79478a937ce03ff8225ad7d24e1a7f39ce8122d7285945f5eb


Description

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

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>::Next()
    rocksdb::MergingIterator::Next()
    rocksdb::MergingIterator::NextAndGetResult(rocksdb::IterateResult*)
    rocksdb::IteratorWrapperBase<rocksdb::Slice>::Next()
    rocksdb::DBIter::FindNextUserEntryInternal(bool, rocksdb::Slice const*)
    rocksdb::DBIter::FindNextUserEntry(bool, rocksdb::Slice const*)
    rocksdb::DBIter::Next()
    rocksdb::ArenaWrappedDBIter::Next()
    RocksDBStore::RocksDBWholeSpaceIteratorImpl::next()
    BlueStore::_collection_list(BlueStore::Collection*, ghobject_t const&, ghobject_t const&, int, bool, std::vector<ghobject_t, std::allocator<ghobject_t> >*, ghobject_t*)
    BlueStore::collection_list(boost::intrusive_ptr<ObjectStore::CollectionImpl>&, ghobject_t const&, ghobject_t const&, int, std::vector<ghobject_t, std::allocator<ghobject_t> >*, ghobject_t*)
    OSD::clear_temp_objects()
    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 7fcbc684f240 time 2022-12-21T13:00:27.108005+0800\nblk/kernel/KernelDevice.cc: 1255: FAILED ceph_assert((uint64_t)r == len)",
    "assert_thread_name": "ceph-osd",
    "backtrace": [
        "/lib/x86_64-linux-gnu/libpthread.so.0(+0x13140) [0x7fcbc6eb5140]",
        "gsignal()",
        "abort()",
        "(ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x17e) [0x55d7a09b2fca]",
        "/usr/bin/ceph-osd(+0xc2310e) [0x55d7a09b310e]",
        "(KernelDevice::read(unsigned long, unsigned long, ceph::buffer::v15_2_0::list*, IOContext*, bool)+0x9cf) [0x55d7a15870cf]",
        "(BlueFS::_read(BlueFS::FileReader*, unsigned long, unsigned long, ceph::buffer::v15_2_0::list*, char*)+0x5b7) [0x55d7a10d5f97]",
        "(BlueRocksRandomAccessFile::Prefetch(unsigned long, unsigned long)+0x1b) [0x55d7a10feb4b]",
        "(rocksdb::LegacyRandomAccessFileWrapper::Prefetch(unsigned long, unsigned long, rocksdb::IOOptions const&, rocksdb::IODebugContext*)+0x4d) [0x55d7a16075e1]",
        "(rocksdb::RandomAccessFileReader::Prefetch(unsigned long, unsigned long) const+0x62) [0x55d7a18ab870]",
        "(rocksdb::BlockPrefetcher::PrefetchIfNeeded(rocksdb::BlockBasedTable::Rep const*, rocksdb::BlockHandle const&, unsigned long, bool)+0x155) [0x55d7a1a4043f]",
        "(rocksdb::BlockBasedTableIterator::InitDataBlock()+0x161) [0x55d7a1a3e4d5]",
        "(rocksdb::BlockBasedTableIterator::FindBlockForward()+0x2a8) [0x55d7a1a3ebd2]",
        "(rocksdb::BlockBasedTableIterator::FindKeyForward()+0x8e) [0x55d7a1a3e926]",
        "(rocksdb::BlockBasedTableIterator::Next()+0x88) [0x55d7a1a3e1ec]",
        "(rocksdb::BlockBasedTableIterator::NextAndGetResult(rocksdb::IterateResult*)+0x1d) [0x55d7a1a3e21b]",
        "(rocksdb::IteratorWrapperBase<rocksdb::Slice>::Next()+0x62) [0x55d7a16d36b4]",
        "(rocksdb::MergingIterator::Next()+0xaf) [0x55d7a18e5e47]",
        "(rocksdb::MergingIterator::NextAndGetResult(rocksdb::IterateResult*)+0x28) [0x55d7a18e5f82]",
        "(rocksdb::IteratorWrapperBase<rocksdb::Slice>::Next()+0x62) [0x55d7a16d36b4]",
        "(rocksdb::DBIter::FindNextUserEntryInternal(bool, rocksdb::Slice const*)+0x12b0) [0x55d7a16caeaa]",
        "(rocksdb::DBIter::FindNextUserEntry(bool, rocksdb::Slice const*)+0x70) [0x55d7a16c9bc6]",
        "(rocksdb::DBIter::Next()+0x2e6) [0x55d7a16c9a50]",
        "(rocksdb::ArenaWrappedDBIter::Next()+0x1c) [0x55d7a1992c14]",
        "(RocksDBStore::RocksDBWholeSpaceIteratorImpl::next()+0x4a) [0x55d7a15a031a]",
        "/usr/bin/ceph-osd(+0x11fd7fe) [0x55d7a0f8d7fe]",
        "(BlueStore::_collection_list(BlueStore::Collection*, ghobject_t const&, ghobject_t const&, int, bool, std::vector<ghobject_t, std::allocator<ghobject_t> >*, ghobject_t*)+0x100d) [0x55d7a0fba9dd]",
        "(BlueStore::collection_list(boost::intrusive_ptr<ObjectStore::CollectionImpl>&, ghobject_t const&, ghobject_t const&, int, std::vector<ghobject_t, std::allocator<ghobject_t> >*, ghobject_t*)+0xc7) [0x55d7a0fbbf57]",
        "(OSD::clear_temp_objects()+0x66b) [0x55d7a0a54fbb]",
        "(OSD::init()+0x1deb) [0x55d7a0aa310b]",
        "main()" 
    ],
    "ceph_version": "17.2.5",
    "crash_id": "2022-12-21T05:00:27.157787Z_d9f50a8b-f90c-4437-877d-99b0e17b76f7",
    "entity_name": "osd.cd9085d7b0f2be53fe83c26d29a653a2aac73bec",
    "os_id": "11",
    "os_name": "Debian GNU/Linux 11 (bullseye)",
    "os_version": "11 (bullseye)",
    "os_version_id": "11",
    "process_name": "ceph-osd",
    "stack_sig": "3e630116bbc8cf79478a937ce03ff8225ad7d24e1a7f39ce8122d7285945f5eb",
    "timestamp": "2022-12-21T05:00:27.157787Z",
    "utsname_machine": "x86_64",
    "utsname_release": "5.15.74-1-pve",
    "utsname_sysname": "Linux",
    "utsname_version": "#1 SMP PVE 5.15.74-1 (Mon, 14 Nov 2022 20:17:15 +0100)" 
}

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