Bug #54894
crash: virtual void KernelDevice::aio_submit(IOContext*): 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):
2fd158e3001396abe3e57025449cd88b85a6945f46e949f3e525f8371b7d3b0b
Crash signature (v2):
Description
Assert condition: r == 0
Assert function: virtual void KernelDevice::aio_submit(IOContext*)
Sanitized backtrace:
KernelDevice::aio_submit(IOContext*) BlueStore::_txc_aio_submit(BlueStore::TransContext*) BlueStore::_txc_state_proc(BlueStore::TransContext*) 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>) ECBackend::handle_sub_write(pg_shard_t, boost::intrusive_ptr<OpRequest>, ECSubWrite&, ZTracer::Trace const&) ECBackend::try_reads_to_commit() ECBackend::check_ops() ECBackend::start_rmw(ECBackend::Op*, std::unique_ptr<PGTransaction, std::default_delete<PGTransaction> >&&) ECBackend::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>&) PrimaryLogPG::do_request(boost::intrusive_ptr<OpRequest>&, ThreadPool::TPHandle&) 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:
{ "assert_condition": "r == 0", "assert_file": "blk/kernel/KernelDevice.cc", "assert_func": "virtual void KernelDevice::aio_submit(IOContext*)", "assert_line": 826, "assert_msg": "blk/kernel/KernelDevice.cc: In function 'virtual void KernelDevice::aio_submit(IOContext*)' thread 7f292e30b700 time 2022-03-13T13:37:16.836534-0500\nblk/kernel/KernelDevice.cc: 826: FAILED ceph_assert(r == 0)", "assert_thread_name": "tp_osd_tp", "backtrace": [ "/lib64/libpthread.so.0(+0x12c20) [0x7f2951bc5c20]", "gsignal()", "abort()", "(ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x1a9) [0x55bd677c6bcf]", "/usr/bin/ceph-osd(+0x56ad98) [0x55bd677c6d98]", "(KernelDevice::aio_submit(IOContext*)+0x714) [0x55bd68319d64]", "(BlueStore::_txc_aio_submit(BlueStore::TransContext*)+0x49) [0x55bd67dd6af9]", "(BlueStore::_txc_state_proc(BlueStore::TransContext*)+0x854) [0x55bd67df7e14]", "(BlueStore::queue_transactions(boost::intrusive_ptr<ObjectStore::CollectionImpl>&, std::vector<ceph::os::Transaction, std::allocator<ceph::os::Transaction> >&, boost::intrusive_ptr<TrackedOp>, ThreadPool::TPHandle*)+0xa34) [0x55bd67e188c4]", "(non-virtual thunk to PrimaryLogPG::queue_transactions(std::vector<ceph::os::Transaction, std::allocator<ceph::os::Transaction> >&, boost::intrusive_ptr<OpRequest>)+0x58) [0x55bd67a6ea88]", "(ECBackend::handle_sub_write(pg_shard_t, boost::intrusive_ptr<OpRequest>, ECSubWrite&, ZTracer::Trace const&)+0xd1d) [0x55bd67c8690d]", "(ECBackend::try_reads_to_commit()+0x2a30) [0x55bd67c967b0]", "(ECBackend::check_ops()+0x24) [0x55bd67c97294]", "(ECBackend::start_rmw(ECBackend::Op*, std::unique_ptr<PGTransaction, std::default_delete<PGTransaction> >&&)+0x9a6) [0x55bd67c982c6]", "(ECBackend::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>)+0x405) [0x55bd67c99ce5]", "(PrimaryLogPG::issue_repop(PrimaryLogPG::RepGather*, PrimaryLogPG::OpContext*)+0xcf0) [0x55bd679da000]", "(PrimaryLogPG::execute_ctx(PrimaryLogPG::OpContext*)+0x115d) [0x55bd67a361cd]", "(PrimaryLogPG::do_op(boost::intrusive_ptr<OpRequest>&)+0x2de2) [0x55bd67a3ed52]", "(PrimaryLogPG::do_request(boost::intrusive_ptr<OpRequest>&, ThreadPool::TPHandle&)+0xd1c) [0x55bd67a4609c]", "(OSD::dequeue_op(boost::intrusive_ptr<PG>, boost::intrusive_ptr<OpRequest>, ThreadPool::TPHandle&)+0x309) [0x55bd678ce8e9]", "(ceph::osd::scheduler::PGOpItem::run(OSD*, OSDShard*, boost::intrusive_ptr<PG>&, ThreadPool::TPHandle&)+0x68) [0x55bd67b2c838]", "(OSD::ShardedOpWQ::_process(unsigned int, ceph::heartbeat_handle_d*)+0xc28) [0x55bd678eed48]", "(ShardedThreadPool::shardedthreadpool_worker(unsigned int)+0x5c4) [0x55bd67f605b4]", "(ShardedThreadPool::WorkThreadSharded::entry()+0x14) [0x55bd67f63254]", "/lib64/libpthread.so.0(+0x817f) [0x7f2951bbb17f]", "clone()" ], "ceph_version": "16.2.7", "crash_id": "2022-03-13T18:37:16.851152Z_7b253c18-ca16-45d6-8371-c671ddfd57ed", "entity_name": "osd.329b8560c5511ba745c709cea42da65eb48dff18", "os_id": "centos", "os_name": "CentOS Stream", "os_version": "8", "os_version_id": "8", "process_name": "ceph-osd", "stack_sig": "2fd158e3001396abe3e57025449cd88b85a6945f46e949f3e525f8371b7d3b0b", "timestamp": "2022-03-13T18:37:16.851152Z", "utsname_machine": "x86_64", "utsname_release": "4.18.0-358.el8.x86_64", "utsname_sysname": "Linux", "utsname_version": "#1 SMP Mon Jan 10 13:11:20 UTC 2022" }