Actions
Bug #60087
opencrash: virtual int KernelDevice::read(uint64_t, uint64_t, ceph::bufferlist*, IOContext*, bool): assert((uint64_t)r == len)
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):
9f2370aac08f3cb32958276096a3c6616b03cb6b6b4c38ad68de6edb38c8ab4e
d0aa569d2d676e7f5e6db538bcb7f25106729407a1ad051d75e710375581aff1
Crash signature (v2):
Description
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::FindNextUserEntryInternal(bool, rocksdb::Slice const*) rocksdb::DBIter::FindNextUserEntry(bool, rocksdb::Slice const*) rocksdb::DBIter::Seek(rocksdb::Slice const&) CFIteratorImpl::lower_bound(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) BlueStore::OmapIteratorImpl::OmapIteratorImpl(boost::intrusive_ptr<BlueStore::Collection>, boost::intrusive_ptr<BlueStore::Onode>, std::shared_ptr<KeyValueDB::IteratorImpl>) BlueStore::get_omap_iterator(boost::intrusive_ptr<ObjectStore::CollectionImpl>&, ghobject_t const&) PG::read_state(ObjectStore*) OSD::load_pgs() 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 7efdcef063c0 time 2023-03-21T21:01:42.012625+0000\nblk/kernel/KernelDevice.cc: 1255: FAILED ceph_assert((uint64_t)r == len)", "assert_thread_name": "ceph-osd", "backtrace": [ "/lib64/libpthread.so.0(+0x12cf0) [0x7efdcd109cf0]", "gsignal()", "abort()", "(ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x18f) [0x55acd512868b]", "/usr/bin/ceph-osd(+0x5977f7) [0x55acd51287f7]", "(KernelDevice::read(unsigned long, unsigned long, ceph::buffer::v15_2_0::list*, IOContext*, bool)+0x9d7) [0x55acd5dc8f67]", "(BlueFS::_read(BlueFS::FileReader*, unsigned long, unsigned long, ceph::buffer::v15_2_0::list*, char*)+0x588) [0x55acd58eb298]", "(BlueRocksRandomAccessFile::Prefetch(unsigned long, unsigned long)+0x1f) [0x55acd591348f]", "(rocksdb::LegacyRandomAccessFileWrapper::Prefetch(unsigned long, unsigned long, rocksdb::IOOptions const&, rocksdb::IODebugContext*)+0x22) [0x55acd5e3fea2]", "(rocksdb::BlockPrefetcher::PrefetchIfNeeded(rocksdb::BlockBasedTable::Rep const*, rocksdb::BlockHandle const&, unsigned long, bool)+0x1a5) [0x55acd60bc9e5]", "(rocksdb::BlockBasedTableIterator::InitDataBlock()+0xca) [0x55acd60b936a]", "(rocksdb::BlockBasedTableIterator::FindBlockForward()+0x21d) [0x55acd60ba59d]", "(rocksdb::BlockBasedTableIterator::Next()+0x3a) [0x55acd60ba76a]", "(rocksdb::BlockBasedTableIterator::NextAndGetResult(rocksdb::IterateResult*)+0x1a) [0x55acd60ba7aa]", "/usr/bin/ceph-osd(+0x1385211) [0x55acd5f16211]", "(rocksdb::MergingIterator::Next()+0x32) [0x55acd5fefe52]", "(rocksdb::MergingIterator::NextAndGetResult(rocksdb::IterateResult*)+0x13) [0x55acd5fee193]", "(rocksdb::DBIter::FindNextUserEntryInternal(bool, rocksdb::Slice const*)+0x6be) [0x55acd5e9fc2e]", "(rocksdb::DBIter::FindNextUserEntry(bool, rocksdb::Slice const*)+0xa0) [0x55acd5ea0a40]", "(rocksdb::DBIter::Seek(rocksdb::Slice const&)+0x7dc) [0x55acd5ea169c]", "(CFIteratorImpl::lower_bound(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0x39) [0x55acd5dff389]", "(BlueStore::OmapIteratorImpl::OmapIteratorImpl(boost::intrusive_ptr<BlueStore::Collection>, boost::intrusive_ptr<BlueStore::Onode>, std::shared_ptr<KeyValueDB::IteratorImpl>)+0x20d) [0x55acd57d442d]", "(BlueStore::get_omap_iterator(boost::intrusive_ptr<ObjectStore::CollectionImpl>&, ghobject_t const&)+0x62f) [0x55acd57dbf4f]", "/usr/bin/ceph-osd(+0x761691) [0x55acd52f2691]", "(PG::read_state(ObjectStore*)+0xbcd) [0x55acd52ff10d]", "(OSD::load_pgs()+0x6d7) [0x55acd525deb7]", "(OSD::init()+0x20ee) [0x55acd526a28e]", "main()", "__libc_start_main()", "_start()" ], "ceph_version": "17.2.5", "crash_id": "2023-03-21T21:01:42.037201Z_c0ca8d61-3394-4155-aaf5-398ae688fb1c", "entity_name": "osd.aead30b65d66560cae56559aa3fd71e8751f7cc6", "os_id": "centos", "os_name": "CentOS Stream", "os_version": "8", "os_version_id": "8", "process_name": "ceph-osd", "stack_sig": "d0aa569d2d676e7f5e6db538bcb7f25106729407a1ad051d75e710375581aff1", "timestamp": "2023-03-21T21:01:42.037201Z", "utsname_machine": "x86_64", "utsname_release": "4.18.0-408.el8.x86_64", "utsname_sysname": "Linux", "utsname_version": "#1 SMP Mon Jul 18 17:42:52 UTC 2022" }
Actions