Project

General

Profile

Actions

Bug #60985

open

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

Added by Telemetry Bot about 1 year ago. Updated about 1 year 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):

bd0231c331253d741d113b4e11e3aac90b1af185b87a444e8bcafa0647b26c56


Description

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

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::BlockBasedTableIterator<rocksdb::DataBlockIter, rocksdb::Slice>::InitDataBlock()
    rocksdb::BlockBasedTableIterator<rocksdb::DataBlockIter, rocksdb::Slice>::SeekImpl(rocksdb::Slice const*)
    rocksdb::BlockBasedTableIterator<rocksdb::DataBlockIter, rocksdb::Slice>::Seek(rocksdb::Slice const&)
    rocksdb::IteratorWrapperBase<rocksdb::Slice>::Seek(rocksdb::Slice const&)
    rocksdb::IteratorWrapperBase<rocksdb::Slice>::Seek(rocksdb::Slice const&)
    rocksdb::MergingIterator::Seek(rocksdb::Slice const&)
    rocksdb::IteratorWrapperBase<rocksdb::Slice>::Seek(rocksdb::Slice const&)
    rocksdb::DBIter::Seek(rocksdb::Slice const&)
    rocksdb::ArenaWrappedDBIter::Seek(rocksdb::Slice const&)
    RocksDBStore::RocksDBWholeSpaceIteratorImpl::lower_bound(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
    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": 1066,
    "assert_msg": "blk/kernel/KernelDevice.cc: In function 'virtual int KernelDevice::read(uint64_t, uint64_t, ceph::bufferlist*, IOContext*, bool)' thread 7fae087ab080 time 2023-04-18T12:25:38.232477-0400\nblk/kernel/KernelDevice.cc: 1066: FAILED ceph_assert((uint64_t)r == len)",
    "assert_thread_name": "ceph-osd",
    "backtrace": [
        "/lib/x86_64-linux-gnu/libpthread.so.0(+0x14420) [0x7fae08e55420]",
        "gsignal()",
        "abort()",
        "(ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x1ad) [0x55a1c349c092]",
        "/usr/bin/ceph-osd(+0xad023f) [0x55a1c349c23f]",
        "(KernelDevice::read(unsigned long, unsigned long, ceph::buffer::v15_2_0::list*, IOContext*, bool)+0x917) [0x55a1c40eb777]",
        "(BlueFS::_read(BlueFS::FileReader*, unsigned long, unsigned long, ceph::buffer::v15_2_0::list*, char*)+0x55f) [0x55a1c3c3796f]",
        "(BlueRocksRandomAccessFile::Prefetch(unsigned long, unsigned long)+0x1f) [0x55a1c3c608df]",
        "(rocksdb::LegacyRandomAccessFileWrapper::Prefetch(unsigned long, unsigned long, rocksdb::IOOptions const&, rocksdb::IODebugContext*)+0x60) [0x55a1c416aeea]",
        "(rocksdb::RandomAccessFileReader::Prefetch(unsigned long, unsigned long) const+0x70) [0x55a1c43fa418]",
        "(rocksdb::BlockBasedTableIterator<rocksdb::DataBlockIter, rocksdb::Slice>::InitDataBlock()+0x240) [0x55a1c441bb4c]",
        "(rocksdb::BlockBasedTableIterator<rocksdb::DataBlockIter, rocksdb::Slice>::SeekImpl(rocksdb::Slice const*)+0x408) [0x55a1c441b582]",
        "(rocksdb::BlockBasedTableIterator<rocksdb::DataBlockIter, rocksdb::Slice>::Seek(rocksdb::Slice const&)+0x27) [0x55a1c4419643]",
        "(rocksdb::IteratorWrapperBase<rocksdb::Slice>::Seek(rocksdb::Slice const&)+0x63) [0x55a1c4242553]",
        "/usr/bin/ceph-osd(+0x191b377) [0x55a1c42e7377]",
        "(rocksdb::IteratorWrapperBase<rocksdb::Slice>::Seek(rocksdb::Slice const&)+0x63) [0x55a1c4242553]",
        "(rocksdb::MergingIterator::Seek(rocksdb::Slice const&)+0x12b) [0x55a1c443e223]",
        "(rocksdb::IteratorWrapperBase<rocksdb::Slice>::Seek(rocksdb::Slice const&)+0x63) [0x55a1c4242553]",
        "(rocksdb::DBIter::Seek(rocksdb::Slice const&)+0x23e) [0x55a1c423ddce]",
        "(rocksdb::ArenaWrappedDBIter::Seek(rocksdb::Slice const&)+0x2b) [0x55a1c44dfe39]",
        "(RocksDBStore::RocksDBWholeSpaceIteratorImpl::lower_bound(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0xb7) [0x55a1c40fde97]",
        "/usr/bin/ceph-osd(+0x1115fa9) [0x55a1c3ae1fa9]",
        "(BlueStore::_collection_list(BlueStore::Collection*, ghobject_t const&, ghobject_t const&, int, bool, std::vector<ghobject_t, std::allocator<ghobject_t> >*, ghobject_t*)+0x107c) [0x55a1c3b2364c]",
        "(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*)+0xbf) [0x55a1c3b2518f]",
        "(OSD::clear_temp_objects()+0x662) [0x55a1c3552a22]",
        "(OSD::init()+0x2aca) [0x55a1c35a900a]",
        "main()",
        "__libc_start_main()",
        "_start()" 
    ],
    "ceph_version": "16.2.12",
    "crash_id": "2023-04-18T16:25:38.284232Z_d6fbb2ff-47a6-4c38-8037-d65ea6e223ff",
    "entity_name": "osd.f47addbbbe26f9fed2ebcf791dbd1da89a31baad",
    "os_id": "ubuntu",
    "os_name": "Ubuntu",
    "os_version": "20.04.6 LTS (Focal Fossa)",
    "os_version_id": "20.04",
    "process_name": "ceph-osd",
    "stack_sig": "bd0231c331253d741d113b4e11e3aac90b1af185b87a444e8bcafa0647b26c56",
    "timestamp": "2023-04-18T16:25:38.284232Z",
    "utsname_machine": "x86_64",
    "utsname_release": "5.4.0-146-generic",
    "utsname_sysname": "Linux",
    "utsname_version": "#163-Ubuntu SMP Fri Mar 17 18:26:02 UTC 2023" 
}

Actions #1

Updated by Telemetry Bot about 1 year ago

  • Crash signature (v1) updated (diff)
  • Crash signature (v2) updated (diff)
  • Affected Versions v16.2.12 added
Actions

Also available in: Atom PDF