Actions
Bug #60351
opencrash: bool BlueStore::ExtentMap::spans_shard(uint32_t, uint32_t): assert(s >= 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):
11144a0ea0c1fadd52f959022aafa33f61817e1822426f7c2ba7445b9e7a73ad
Crash signature (v2):
Description
Assert condition: s >= 0
Assert function: bool BlueStore::ExtentMap::spans_shard(uint32_t, uint32_t)
Sanitized backtrace:
BlueStore::ExtentMap::set_lextent(boost::intrusive_ptr<BlueStore::Collection>&, unsigned long, unsigned long, unsigned long, boost::intrusive_ptr<BlueStore::Blob>, boost::intrusive::list<BlueStore::OldExtent, boost::intrusive::member_hook<BlueStore::OldExtent, boost::intrusive::list_member_hook<>, &BlueStore::OldExtent::old_extent_item> >*) BlueStore::_do_alloc_write(BlueStore::TransContext*, boost::intrusive_ptr<BlueStore::Collection>, boost::intrusive_ptr<BlueStore::Onode>, BlueStore::WriteContext*) BlueStore::_do_write(BlueStore::TransContext*, boost::intrusive_ptr<BlueStore::Collection>&, boost::intrusive_ptr<BlueStore::Onode>, unsigned long, unsigned long, ceph::buffer::list&, unsigned int) BlueStore::_write(BlueStore::TransContext*, boost::intrusive_ptr<BlueStore::Collection>&, boost::intrusive_ptr<BlueStore::Onode>&, unsigned long, unsigned long, ceph::buffer::list&, unsigned int) BlueStore::_txc_add_transaction(BlueStore::TransContext*, ceph::os::Transaction*) BlueStore::queue_transactions(boost::intrusive_ptr<ObjectStore::CollectionImpl>&, std::vector<ceph::os::Transaction, std::allocator<ceph::os::Transaction> >&, boost::intrusive_ptr<TrackedOp>, ThreadPool::TPHandle*) non-virtual thunk to PrimaryLogPG::queue_transactions(std::vector<ceph::os::Transaction, std::allocator<ceph::os::Transaction> >&, boost::intrusive_ptr<OpRequest>) ReplicatedBackend::submit_transaction(hobject_t const&, object_stat_sum_t const&, eversion_t const&, std::unique_ptr<PGTransaction, std::default_delete<PGTransaction> >&&, eversion_t const&, eversion_t const&, std::vector<pg_log_entry_t, std::allocator<pg_log_entry_t> >&&, std::optional<pg_hit_set_history_t>&, Context*, unsigned long, osd_reqid_t, boost::intrusive_ptr<OpRequest>) PrimaryLogPG::issue_repop(PrimaryLogPG::RepGather*, PrimaryLogPG::OpContext*) PrimaryLogPG::execute_ctx(PrimaryLogPG::OpContext*) PrimaryLogPG::do_op(boost::intrusive_ptr<OpRequest>&) OSD::dequeue_op(boost::intrusive_ptr<PG>, boost::intrusive_ptr<OpRequest>, ThreadPool::TPHandle&) ceph::osd::scheduler::PGOpItem::run(OSD*, OSDShard*, boost::intrusive_ptr<PG>&, ThreadPool::TPHandle&) OSD::ShardedOpWQ::_process(unsigned int, ceph::heartbeat_handle_d*) ShardedThreadPool::shardedthreadpool_worker(unsigned int) ShardedThreadPool::WorkThreadSharded::entry()
Crash dump sample:
{ "archived": "2023-02-02 21:18:59.041372", "assert_condition": "s >= 0", "assert_file": "os/bluestore/BlueStore.h", "assert_func": "bool BlueStore::ExtentMap::spans_shard(uint32_t, uint32_t)", "assert_line": 963, "assert_msg": "os/bluestore/BlueStore.h: In function 'bool BlueStore::ExtentMap::spans_shard(uint32_t, uint32_t)' thread 7f034d57a700 time 2023-02-02T12:40:02.712176-0500\nos/bluestore/BlueStore.h: 963: FAILED ceph_assert(s >= 0)", "assert_thread_name": "tp_osd_tp", "backtrace": [ "/lib64/libpthread.so.0(+0x12cf0) [0x7f036d9c0cf0]", "gsignal()", "abort()", "(ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x18f) [0x564d37df568b]", "ceph-osd(+0x5977f7) [0x564d37df57f7]", "(BlueStore::ExtentMap::set_lextent(boost::intrusive_ptr<BlueStore::Collection>&, unsigned long, unsigned long, unsigned long, boost::intrusive_ptr<BlueStore::Blob>, boost::intrusive::list<BlueStore::OldExtent, boost::intrusive::member_hook<BlueStore::OldExtent, boost::intrusive::list_member_hook<>, &BlueStore::OldExtent::old_extent_item> >*)+0x2bb) [0x564d38493f1b]", "(BlueStore::_do_alloc_write(BlueStore::TransContext*, boost::intrusive_ptr<BlueStore::Collection>, boost::intrusive_ptr<BlueStore::Onode>, BlueStore::WriteContext*)+0x15ec) [0x564d38499acc]", "(BlueStore::_do_write(BlueStore::TransContext*, boost::intrusive_ptr<BlueStore::Collection>&, boost::intrusive_ptr<BlueStore::Onode>, unsigned long, unsigned long, ceph::buffer::v15_2_0::list&, unsigned int)+0x333) [0x564d384e3013]", "(BlueStore::_write(BlueStore::TransContext*, boost::intrusive_ptr<BlueStore::Collection>&, boost::intrusive_ptr<BlueStore::Onode>&, unsigned long, unsigned long, ceph::buffer::v15_2_0::list&, unsigned int)+0xde) [0x564d384e3cde]", "(BlueStore::_txc_add_transaction(BlueStore::TransContext*, ceph::os::Transaction*)+0x16ce) [0x564d384e725e]", "(BlueStore::queue_transactions(boost::intrusive_ptr<ObjectStore::CollectionImpl>&, std::vector<ceph::os::Transaction, std::allocator<ceph::os::Transaction> >&, boost::intrusive_ptr<TrackedOp>, ThreadPool::TPHandle*)+0x2df) [0x564d384f6a5f]", "(non-virtual thunk to PrimaryLogPG::queue_transactions(std::vector<ceph::os::Transaction, std::allocator<ceph::os::Transaction> >&, boost::intrusive_ptr<OpRequest>)+0x53) [0x564d380bb203]", "(ReplicatedBackend::submit_transaction(hobject_t const&, object_stat_sum_t const&, eversion_t const&, std::unique_ptr<PGTransaction, std::default_delete<PGTransaction> >&&, eversion_t const&, eversion_t const&, std::vector<pg_log_entry_t, std::allocator<pg_log_entry_t> >&&, std::optional<pg_hit_set_history_t>&, Context*, unsigned long, osd_reqid_t, boost::intrusive_ptr<OpRequest>)+0x7c2) [0x564d3830cae2]", "(PrimaryLogPG::issue_repop(PrimaryLogPG::RepGather*, PrimaryLogPG::OpContext*)+0x50d) [0x564d38032ebd]", "(PrimaryLogPG::execute_ctx(PrimaryLogPG::OpContext*)+0xd25) [0x564d38090295]", "(PrimaryLogPG::do_op(boost::intrusive_ptr<OpRequest>&)+0x288d) [0x564d380978fd]", "(OSD::dequeue_op(boost::intrusive_ptr<PG>, boost::intrusive_ptr<OpRequest>, ThreadPool::TPHandle&)+0x1c0) [0x564d37ef6900]", "(ceph::osd::scheduler::PGOpItem::run(OSD*, OSDShard*, boost::intrusive_ptr<PG>&, ThreadPool::TPHandle&)+0x6d) [0x564d381f52ad]", "(OSD::ShardedOpWQ::_process(unsigned int, ceph::heartbeat_handle_d*)+0x115f) [0x564d37f09dbf]", "(ShardedThreadPool::shardedthreadpool_worker(unsigned int)+0x435) [0x564d386678c5]", "(ShardedThreadPool::WorkThreadSharded::entry()+0x14) [0x564d38669fe4]", "/lib64/libpthread.so.0(+0x81ca) [0x7f036d9b61ca]", "clone()" ], "ceph_version": "17.2.5", "crash_id": "2023-02-02T17:40:02.725395Z_fc129df2-a077-49e8-9215-0417d8e25baf", "entity_name": "osd.b0ca020b6ae4eae3e4323693eee2bd932cd514dc", "os_id": "centos", "os_name": "CentOS Stream", "os_version": "8", "os_version_id": "8", "process_name": "ceph-osd", "stack_sig": "11144a0ea0c1fadd52f959022aafa33f61817e1822426f7c2ba7445b9e7a73ad", "timestamp": "2023-02-02T17:40:02.725395Z", "utsname_machine": "x86_64", "utsname_release": "5.17.0-1019-oem", "utsname_sysname": "Linux", "utsname_version": "#20-Ubuntu SMP PREEMPT Tue Sep 27 13:20:28 UTC 2022" }
Actions