Project

General

Profile

Actions

Bug #59874

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

3883552c5275cdcb76ed6c526980da1cff148605898091fb626d4d77d9c4f02f


Description

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

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_object_omap(BlueStore::FSCKDepth, boost::intrusive_ptr<BlueStore::Onode>&, BlueStore::FSCK_ObjectCtx const&)
    BlueStore::fsck_check_objects_shallow(BlueStore::FSCKDepth, long, boost::intrusive_ptr<BlueStore::Collection>, ghobject_t const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, ceph::buffer::list const&, std::list<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, mempool::pool_allocator<(mempool::pool_index_t), std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >*, std::map<boost::intrusive_ptr<BlueStore::Blob>, unsigned short, std::less<boost::intrusive_ptr<BlueStore::Blob> >, std::allocator<std::pair<boost::intrusive_ptr<BlueStore::Blob> const, unsigned short> > >*, BlueStore::FSCK_ObjectCtx const&)
    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 7f09d4eba540 time 2022-10-29T14:25:20.424933+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) [0x7f09d55db420]",
        "gsignal()",
        "abort()",
        "(ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x1b7) [0x7f09d5b3e82e]",
        "/usr/lib/ceph/libceph-common.so.2(+0x27c9d8) [0x7f09d5b3e9d8]",
        "(KernelDevice::read(unsigned long, unsigned long, ceph::buffer::v15_2_0::list*, IOContext*, bool)+0x9b9) [0x55b06bb43849]",
        "(BlueFS::_read(BlueFS::FileReader*, unsigned long, unsigned long, ceph::buffer::v15_2_0::list*, char*)+0x560) [0x55b06b88e620]",
        "(BlueRocksRandomAccessFile::Prefetch(unsigned long, unsigned long)+0x1f) [0x55b06babaa8f]",
        "(rocksdb::LegacyRandomAccessFileWrapper::Prefetch(unsigned long, unsigned long, rocksdb::IOOptions const&, rocksdb::IODebugContext*)+0x60) [0x55b06bbcfd90]",
        "(rocksdb::RandomAccessFileReader::Prefetch(unsigned long, unsigned long) const+0x75) [0x55b06beb762b]",
        "(rocksdb::BlockPrefetcher::PrefetchIfNeeded(rocksdb::BlockBasedTable::Rep const*, rocksdb::BlockHandle const&, unsigned long, bool)+0x168) [0x55b06c080d4c]",
        "(rocksdb::BlockBasedTableIterator::InitDataBlock()+0x171) [0x55b06c07eb0d]",
        "(rocksdb::BlockBasedTableIterator::FindBlockForward()+0x281) [0x55b06c07f20b]",
        "(rocksdb::BlockBasedTableIterator::FindKeyForward()+0x92) [0x55b06c07ef86]",
        "(rocksdb::BlockBasedTableIterator::Next()+0x8c) [0x55b06c07e80a]",
        "(rocksdb::BlockBasedTableIterator::NextAndGetResult(rocksdb::IterateResult*)+0x21) [0x55b06c07e83d]",
        "(rocksdb::IteratorWrapperBase<rocksdb::Slice>::NextAndGetResult(rocksdb::IterateResult*)+0x79) [0x55b06bd95e0d]",
        "ceph-bluestore-tool(+0xdb341a) [0x55b06bd6b41a]",
        "(rocksdb::IteratorWrapperBase<rocksdb::Slice>::Next()+0x75) [0x55b06bcb39d9]",
        "(rocksdb::MergingIterator::Next()+0xc2) [0x55b06bef7b50]",
        "(rocksdb::MergingIterator::NextAndGetResult(rocksdb::IterateResult*)+0x2c) [0x55b06bef7ca8]",
        "(rocksdb::IteratorWrapperBase<rocksdb::Slice>::Next()+0x75) [0x55b06bcb39d9]",
        "(rocksdb::DBIter::Next()+0x1ef) [0x55b06bca9277]",
        "(rocksdb::ArenaWrappedDBIter::Next()+0x20) [0x55b06bfc2d76]",
        "(RocksDBStore::RocksDBWholeSpaceIteratorImpl::next()+0x32) [0x55b06bb5e182]",
        "(BlueStore::_fsck_check_object_omap(BlueStore::FSCKDepth, boost::intrusive_ptr<BlueStore::Onode>&, BlueStore::FSCK_ObjectCtx const&)+0x6d8) [0x55b06b93b938]",
        "(BlueStore::fsck_check_objects_shallow(BlueStore::FSCKDepth, long, boost::intrusive_ptr<BlueStore::Collection>, ghobject_t const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, ceph::buffer::v15_2_0::list const&, std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, mempool::pool_allocator<(mempool::pool_index_t)11, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >*, std::map<boost::intrusive_ptr<BlueStore::Blob>, unsigned short, std::less<boost::intrusive_ptr<BlueStore::Blob> >, std::allocator<std::pair<boost::intrusive_ptr<BlueStore::Blob> const, unsigned short> > >*, BlueStore::FSCK_ObjectCtx const&)+0x2ba3) [0x55b06b965463]",
        "(BlueStore::_fsck_check_objects(BlueStore::FSCKDepth, BlueStore::FSCK_ObjectCtx&)+0x18bc) [0x55b06b9672dc]",
        "(BlueStore::_fsck_on_open(BlueStore::FSCKDepth, bool)+0x2205) [0x55b06b96c685]",
        "(BlueStore::_fsck(BlueStore::FSCKDepth, bool)+0x2c2) [0x55b06b976932]",
        "main()" 
    ],
    "ceph_version": "17.2.5",
    "crash_id": "2022-10-29T14:25:20.504000Z_3098aea2-29e5-413d-9212-7bd05c6e5fee",
    "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": "3883552c5275cdcb76ed6c526980da1cff148605898091fb626d4d77d9c4f02f",
    "timestamp": "2022-10-29T14:25:20.504000Z",
    "utsname_machine": "x86_64",
    "utsname_release": "5.4.0-131-generic",
    "utsname_sysname": "Linux",
    "utsname_version": "#147-Ubuntu SMP Fri Oct 14 17:07:22 UTC 2022" 
}

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