Actions
Bug #59872
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):
8a59f2d6cc90177252219a067d5efc5e43f347e665d2259c50ae86ad483c04dc
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::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::FindNextUserEntryInternal(bool, rocksdb::Slice const*) rocksdb::DBIter::FindNextUserEntry(bool, rocksdb::Slice const*) rocksdb::DBIter::Next() rocksdb::ArenaWrappedDBIter::Next() RocksDBStore::RocksDBWholeSpaceIteratorImpl::next() BlueStore::_deferred_replay() BlueStore::_mount() OSD::init()
Crash dump sample:
{ "archived": "2022-10-29 14:01:11.547494", "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 7f066eb48240 time 2022-10-29T12:16:46.816719+0000\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(+0x14420) [0x7f066f1f0420]", "gsignal()", "abort()", "(ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x1b7) [0x55a49dfbd960]", "/usr/bin/ceph-osd(+0xc29b0a) [0x55a49dfbdb0a]", "(KernelDevice::read(unsigned long, unsigned long, ceph::buffer::v15_2_0::list*, IOContext*, bool)+0x9b9) [0x55a49ec9dc09]", "(BlueFS::_read(BlueFS::FileReader*, unsigned long, unsigned long, ceph::buffer::v15_2_0::list*, char*)+0x560) [0x55a49e7a1a60]", "(BlueRocksRandomAccessFile::Prefetch(unsigned long, unsigned long)+0x1f) [0x55a49e7c926f]", "(rocksdb::LegacyRandomAccessFileWrapper::Prefetch(unsigned long, unsigned long, rocksdb::IOOptions const&, rocksdb::IODebugContext*)+0x60) [0x55a49ed28d54]", "(rocksdb::RandomAccessFileReader::Prefetch(unsigned long, unsigned long) const+0x75) [0x55a49f00e11f]", "(rocksdb::BlockPrefetcher::PrefetchIfNeeded(rocksdb::BlockBasedTable::Rep const*, rocksdb::BlockHandle const&, unsigned long, bool)+0x168) [0x55a49f1ca2b8]", "(rocksdb::BlockBasedTableIterator::InitDataBlock()+0x171) [0x55a49f1c8079]", "(rocksdb::BlockBasedTableIterator::FindBlockForward()+0x281) [0x55a49f1c8777]", "(rocksdb::BlockBasedTableIterator::FindKeyForward()+0x92) [0x55a49f1c84f2]", "(rocksdb::BlockBasedTableIterator::Next()+0x8c) [0x55a49f1c7d76]", "(rocksdb::BlockBasedTableIterator::NextAndGetResult(rocksdb::IterateResult*)+0x21) [0x55a49f1c7da9]", "(rocksdb::IteratorWrapperBase<rocksdb::Slice>::NextAndGetResult(rocksdb::IterateResult*)+0x79) [0x55a49eeeccc7]", "/usr/bin/ceph-osd(+0x1b2e2d4) [0x55a49eec22d4]", "(rocksdb::IteratorWrapperBase<rocksdb::Slice>::Next()+0x75) [0x55a49ee0b059]", "(rocksdb::MergingIterator::Next()+0xc2) [0x55a49f04e288]", "(rocksdb::MergingIterator::NextAndGetResult(rocksdb::IterateResult*)+0x2c) [0x55a49f04e3e0]", "(rocksdb::IteratorWrapperBase<rocksdb::Slice>::Next()+0x75) [0x55a49ee0b059]", "(rocksdb::DBIter::FindNextUserEntryInternal(bool, rocksdb::Slice const*)+0x12eb) [0x55a49ee01f25]", "(rocksdb::DBIter::FindNextUserEntry(bool, rocksdb::Slice const*)+0x83) [0x55a49ee00bef]", "(rocksdb::DBIter::Next()+0x2f9) [0x55a49ee00a4d]", "(rocksdb::ArenaWrappedDBIter::Next()+0x20) [0x55a49f10c372]", "(RocksDBStore::RocksDBWholeSpaceIteratorImpl::next()+0x32) [0x55a49ecb7ff2]", "(BlueStore::_deferred_replay()+0x4d2) [0x55a49e6b8fb2]", "(BlueStore::_mount()+0x3e2) [0x55a49e6e5d52]", "(OSD::init()+0x5fe) [0x55a49e0c62fe]", "main()" ], "ceph_version": "17.2.5", "crash_id": "2022-10-29T12:16:46.849711Z_41475c1f-9c42-4f68-aff2-13a2f6e69172", "entity_name": "osd.55e32aadb19b578a3f30e700e23b8d709847ac91", "os_id": "ubuntu", "os_name": "Ubuntu", "os_version": "20.04.5 LTS (Focal Fossa)", "os_version_id": "20.04", "process_name": "ceph-osd", "stack_sig": "8a59f2d6cc90177252219a067d5efc5e43f347e665d2259c50ae86ad483c04dc", "timestamp": "2022-10-29T12:16:46.849711Z", "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