Actions
Bug #60981
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):
0b966f9a48a0264fe6d0247cd0d2e8719ae8307cc16e0eba8d1ef02661a282eb
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() ShardMergeIteratorImpl::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*) PG::do_delete_work(ceph::os::Transaction&, ghobject_t)
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 7fb2d7a77700 time 2023-04-17T02:37:13.559026+0000\nblk/kernel/KernelDevice.cc: 1255: FAILED ceph_assert((uint64_t)r == len)", "assert_thread_name": "tp_osd_tp", "backtrace": [ "/lib/x86_64-linux-gnu/libpthread.so.0(+0x14420) [0x7fb2f642b420]", "gsignal()", "abort()", "(ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x1b7) [0x5590b91f5960]", "/usr/bin/ceph-osd(+0xc29b0a) [0x5590b91f5b0a]", "(KernelDevice::read(unsigned long, unsigned long, ceph::buffer::v15_2_0::list*, IOContext*, bool)+0x9b9) [0x5590b9ed5c09]", "(BlueFS::_read(BlueFS::FileReader*, unsigned long, unsigned long, ceph::buffer::v15_2_0::list*, char*)+0x560) [0x5590b99d9a60]", "(BlueRocksRandomAccessFile::Prefetch(unsigned long, unsigned long)+0x1f) [0x5590b9a0126f]", "(rocksdb::LegacyRandomAccessFileWrapper::Prefetch(unsigned long, unsigned long, rocksdb::IOOptions const&, rocksdb::IODebugContext*)+0x60) [0x5590b9f60d54]", "(rocksdb::RandomAccessFileReader::Prefetch(unsigned long, unsigned long) const+0x75) [0x5590ba24611f]", "(rocksdb::BlockPrefetcher::PrefetchIfNeeded(rocksdb::BlockBasedTable::Rep const*, rocksdb::BlockHandle const&, unsigned long, bool)+0x168) [0x5590ba4022b8]", "(rocksdb::BlockBasedTableIterator::InitDataBlock()+0x171) [0x5590ba400079]", "(rocksdb::BlockBasedTableIterator::FindBlockForward()+0x281) [0x5590ba400777]", "(rocksdb::BlockBasedTableIterator::FindKeyForward()+0x92) [0x5590ba4004f2]", "(rocksdb::BlockBasedTableIterator::Next()+0x8c) [0x5590ba3ffd76]", "(rocksdb::BlockBasedTableIterator::NextAndGetResult(rocksdb::IterateResult*)+0x21) [0x5590ba3ffda9]", "(rocksdb::IteratorWrapperBase<rocksdb::Slice>::NextAndGetResult(rocksdb::IterateResult*)+0x79) [0x5590ba124cc7]", "/usr/bin/ceph-osd(+0x1b2e2d4) [0x5590ba0fa2d4]", "(rocksdb::IteratorWrapperBase<rocksdb::Slice>::Next()+0x75) [0x5590ba043059]", "(rocksdb::MergingIterator::Next()+0xc2) [0x5590ba286288]", "(rocksdb::MergingIterator::NextAndGetResult(rocksdb::IterateResult*)+0x2c) [0x5590ba2863e0]", "(rocksdb::IteratorWrapperBase<rocksdb::Slice>::Next()+0x75) [0x5590ba043059]", "(rocksdb::DBIter::FindNextUserEntryInternal(bool, rocksdb::Slice const*)+0x12eb) [0x5590ba039f25]", "(rocksdb::DBIter::FindNextUserEntry(bool, rocksdb::Slice const*)+0x83) [0x5590ba038bef]", "(rocksdb::DBIter::Next()+0x2f9) [0x5590ba038a4d]", "(rocksdb::ArenaWrappedDBIter::Next()+0x20) [0x5590ba344372]", "(ShardMergeIteratorImpl::next()+0x4d) [0x5590b9f0d9cd]", "/usr/bin/ceph-osd(+0x129d48a) [0x5590b986948a]", "(BlueStore::_collection_list(BlueStore::Collection*, ghobject_t const&, ghobject_t const&, int, bool, std::vector<ghobject_t, std::allocator<ghobject_t> >*, ghobject_t*)+0x1895) [0x5590b98ad535]", "(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) [0x5590b98ae9ff]", "(PG::do_delete_work(ceph::os::Transaction&, ghobject_t)+0x398) [0x5590b93a1788]" ], "ceph_version": "17.2.5", "crash_id": "2023-04-17T02:37:13.657052Z_c1934f0a-c036-4be5-b1fd-5caaba1a189c", "entity_name": "osd.2be64aa30c54163e9db5f1a1b0ffa460c48516ac", "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": "0b966f9a48a0264fe6d0247cd0d2e8719ae8307cc16e0eba8d1ef02661a282eb", "timestamp": "2023-04-17T02:37:13.657052Z", "utsname_machine": "x86_64", "utsname_release": "5.4.0-144-generic", "utsname_sysname": "Linux", "utsname_version": "#161-Ubuntu SMP Fri Feb 3 14:49:04 UTC 2023" }
Actions