Actions
Bug #60940
opencrash: int64_t BlueFS::_read(BlueFS::FileReader*, uint64_t, size_t, ceph::bufferlist*, char*): assert(r == 0)
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):
f3bcec05ef535851eb0a4f57a8a28eb785dc767d535dccd6aaaf8830ce630cde
Crash signature (v2):
Description
Assert condition: r == 0
Assert function: int64_t BlueFS::_read(BlueFS::FileReader*, uint64_t, size_t, ceph::bufferlist*, char*)
Sanitized backtrace:
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() 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*) PGBackend::objects_list_range(hobject_t const&, hobject_t const&, std::vector<hobject_t, std::allocator<hobject_t> >*, std::vector<ghobject_t, std::allocator<ghobject_t> >*) PgScrubber::build_scrub_map_chunk(ScrubMap&, ScrubMapBuilder&, hobject_t, hobject_t, bool) PgScrubber::build_replica_map_chunk() Scrub::ActiveReplica::react(Scrub::SchedReplica const&)
Crash dump sample:
{ "archived": "2023-04-09 18:17:30.839751", "assert_condition": "r == 0", "assert_file": "os/bluestore/BlueFS.cc", "assert_func": "int64_t BlueFS::_read(BlueFS::FileReader*, uint64_t, size_t, ceph::bufferlist*, char*)", "assert_line": 2220, "assert_msg": "os/bluestore/BlueFS.cc: In function 'int64_t BlueFS::_read(BlueFS::FileReader*, uint64_t, size_t, ceph::bufferlist*, char*)' thread 7f745eec7700 time 2023-04-06T12:58:25.595983+0000\nos/bluestore/BlueFS.cc: 2220: FAILED ceph_assert(r == 0)", "assert_thread_name": "tp_osd_tp", "backtrace": [ "/lib/x86_64-linux-gnu/libpthread.so.0(+0x14420) [0x7f747c078420]", "gsignal()", "abort()", "(ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x1b7) [0x55fdaaec4960]", "/usr/bin/ceph-osd(+0xc29b0a) [0x55fdaaec4b0a]", "(BlueFS::_read(BlueFS::FileReader*, unsigned long, unsigned long, ceph::buffer::v15_2_0::list*, char*)+0x59e) [0x55fdab6a8a9e]", "(BlueRocksRandomAccessFile::Prefetch(unsigned long, unsigned long)+0x1f) [0x55fdab6d026f]", "(rocksdb::LegacyRandomAccessFileWrapper::Prefetch(unsigned long, unsigned long, rocksdb::IOOptions const&, rocksdb::IODebugContext*)+0x60) [0x55fdabc2fd54]", "(rocksdb::RandomAccessFileReader::Prefetch(unsigned long, unsigned long) const+0x75) [0x55fdabf1511f]", "(rocksdb::BlockPrefetcher::PrefetchIfNeeded(rocksdb::BlockBasedTable::Rep const*, rocksdb::BlockHandle const&, unsigned long, bool)+0x168) [0x55fdac0d12b8]", "(rocksdb::BlockBasedTableIterator::InitDataBlock()+0x171) [0x55fdac0cf079]", "(rocksdb::BlockBasedTableIterator::FindBlockForward()+0x281) [0x55fdac0cf777]", "(rocksdb::BlockBasedTableIterator::FindKeyForward()+0x92) [0x55fdac0cf4f2]", "(rocksdb::BlockBasedTableIterator::Next()+0x8c) [0x55fdac0ced76]", "(rocksdb::BlockBasedTableIterator::NextAndGetResult(rocksdb::IterateResult*)+0x21) [0x55fdac0ceda9]", "(rocksdb::IteratorWrapperBase<rocksdb::Slice>::NextAndGetResult(rocksdb::IterateResult*)+0x79) [0x55fdabdf3cc7]", "/usr/bin/ceph-osd(+0x1b2e2d4) [0x55fdabdc92d4]", "(rocksdb::IteratorWrapperBase<rocksdb::Slice>::Next()+0x75) [0x55fdabd12059]", "(rocksdb::MergingIterator::Next()+0xc2) [0x55fdabf55288]", "(rocksdb::MergingIterator::NextAndGetResult(rocksdb::IterateResult*)+0x2c) [0x55fdabf553e0]", "(rocksdb::IteratorWrapperBase<rocksdb::Slice>::Next()+0x75) [0x55fdabd12059]", "(rocksdb::DBIter::Next()+0x1ef) [0x55fdabd07943]", "(rocksdb::ArenaWrappedDBIter::Next()+0x20) [0x55fdac013372]", "(ShardMergeIteratorImpl::next()+0x4d) [0x55fdabbdc9cd]", "/usr/bin/ceph-osd(+0x129d48a) [0x55fdab53848a]", "(BlueStore::_collection_list(BlueStore::Collection*, ghobject_t const&, ghobject_t const&, int, bool, std::vector<ghobject_t, std::allocator<ghobject_t> >*, ghobject_t*)+0x1895) [0x55fdab57c535]", "(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) [0x55fdab57d9ff]", "(PGBackend::objects_list_range(hobject_t const&, hobject_t const&, std::vector<hobject_t, std::allocator<hobject_t> >*, std::vector<ghobject_t, std::allocator<ghobject_t> >*)+0x450) [0x55fdab1b2eb0]", "(PgScrubber::build_scrub_map_chunk(ScrubMap&, ScrubMapBuilder&, hobject_t, hobject_t, bool)+0x344) [0x55fdab1e9f04]", "(PgScrubber::build_replica_map_chunk()+0x228) [0x55fdab1fb9c8]", "(Scrub::ActiveReplica::react(Scrub::SchedReplica const&)+0x98) [0x55fdab2315a8]" ], "ceph_version": "17.2.5", "crash_id": "2023-04-06T12:58:25.687794Z_6eb0e7c2-0b4d-4eee-b6c3-c08e29a9c40b", "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": "f3bcec05ef535851eb0a4f57a8a28eb785dc767d535dccd6aaaf8830ce630cde", "timestamp": "2023-04-06T12:58:25.687794Z", "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