Actions
Bug #60354
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):
697f3e8d1ba691cb60b2b0dfef3ba28f8673d82448078bc2ddbde194957d12b8
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_partial(hobject_t const&, int, int, std::vector<hobject_t, std::allocator<hobject_t> >*, hobject_t*) PgScrubber::select_range() PgScrubber::select_range_n_notify() Scrub::NewChunk::NewChunk(boost::statechart::state<Scrub::NewChunk, Scrub::ActiveScrubbing, boost::mpl::list<mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, (boost::statechart::history_mode)>::my_context)
Crash dump sample:
{ "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 7fa0c47de700 time 2023-02-08T01:00:37.319974+0800\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(+0x13140) [0x7fa0e1173140]", "gsignal()", "abort()", "(ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x17e) [0x55cc3d78ffca]", "/usr/bin/ceph-osd(+0xc2310e) [0x55cc3d79010e]", "(BlueFS::_read(BlueFS::FileReader*, unsigned long, unsigned long, ceph::buffer::v15_2_0::list*, char*)+0xfbc) [0x55cc3deb399c]", "(BlueRocksRandomAccessFile::Prefetch(unsigned long, unsigned long)+0x1b) [0x55cc3dedbb4b]", "(rocksdb::LegacyRandomAccessFileWrapper::Prefetch(unsigned long, unsigned long, rocksdb::IOOptions const&, rocksdb::IODebugContext*)+0x4d) [0x55cc3e3e45e1]", "(rocksdb::RandomAccessFileReader::Prefetch(unsigned long, unsigned long) const+0x62) [0x55cc3e688870]", "(rocksdb::BlockPrefetcher::PrefetchIfNeeded(rocksdb::BlockBasedTable::Rep const*, rocksdb::BlockHandle const&, unsigned long, bool)+0x155) [0x55cc3e81d43f]", "(rocksdb::BlockBasedTableIterator::InitDataBlock()+0x161) [0x55cc3e81b4d5]", "(rocksdb::BlockBasedTableIterator::FindBlockForward()+0x2a8) [0x55cc3e81bbd2]", "(rocksdb::BlockBasedTableIterator::FindKeyForward()+0x8e) [0x55cc3e81b926]", "(rocksdb::BlockBasedTableIterator::Next()+0x88) [0x55cc3e81b1ec]", "(rocksdb::BlockBasedTableIterator::NextAndGetResult(rocksdb::IterateResult*)+0x1d) [0x55cc3e81b21b]", "(rocksdb::IteratorWrapperBase<rocksdb::Slice>::NextAndGetResult(rocksdb::IterateResult*)+0x66) [0x55cc3e57fb22]", "/usr/bin/ceph-osd(+0x19eae9a) [0x55cc3e557e9a]", "(rocksdb::IteratorWrapperBase<rocksdb::Slice>::Next()+0x62) [0x55cc3e4b06b4]", "(rocksdb::MergingIterator::Next()+0xaf) [0x55cc3e6c2e47]", "(rocksdb::MergingIterator::NextAndGetResult(rocksdb::IterateResult*)+0x28) [0x55cc3e6c2f82]", "(rocksdb::IteratorWrapperBase<rocksdb::Slice>::Next()+0x62) [0x55cc3e4b06b4]", "(rocksdb::DBIter::Next()+0x1dc) [0x55cc3e4a6946]", "(rocksdb::ArenaWrappedDBIter::Next()+0x1c) [0x55cc3e76fc14]", "(ShardMergeIteratorImpl::next()+0x47) [0x55cc3e39ac97]", "/usr/bin/ceph-osd(+0x11fdc2a) [0x55cc3dd6ac2a]", "(BlueStore::_collection_list(BlueStore::Collection*, ghobject_t const&, ghobject_t const&, int, bool, std::vector<ghobject_t, std::allocator<ghobject_t> >*, ghobject_t*)+0x100d) [0x55cc3dd979dd]", "(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*)+0xc7) [0x55cc3dd98f57]", "(PGBackend::objects_list_partial(hobject_t const&, int, int, std::vector<hobject_t, std::allocator<hobject_t> >*, hobject_t*)+0xd79) [0x55cc3da43eb9]", "(PgScrubber::select_range()+0x37c) [0x55cc3da692dc]", "(PgScrubber::select_range_n_notify()+0x22) [0x55cc3da6a012]", "(Scrub::NewChunk::NewChunk(boost::statechart::state<Scrub::NewChunk, Scrub::ActiveScrubbing, boost::mpl::list<mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, (boost::statechart::history_mode)0>::my_context)+0x121) [0x55cc3da9a851]" ], "ceph_version": "17.2.5", "crash_id": "2023-02-07T17:00:37.517098Z_a7ac4ba7-2fe6-4f03-ba5d-340e22306049", "entity_name": "osd.617b73c6909c366fdf5d06e2b5c8b08e7c4a9aa7", "os_id": "11", "os_name": "Debian GNU/Linux 11 (bullseye)", "os_version": "11 (bullseye)", "os_version_id": "11", "process_name": "ceph-osd", "stack_sig": "697f3e8d1ba691cb60b2b0dfef3ba28f8673d82448078bc2ddbde194957d12b8", "timestamp": "2023-02-07T17:00:37.517098Z", "utsname_machine": "x86_64", "utsname_release": "5.15.83-1-pve", "utsname_sysname": "Linux", "utsname_version": "#1 SMP PVE 5.15.83-1 (2022-12-15T00:00Z)" }
Actions