Bug #52223
opencrash: virtual void KernelDevice::aio_submit(IOContext*): assert(r == 0)
0%
1e52f4d1f0e282fe0930c2a9dd97c3c84a454263ec5d0d6360bb294f8a9b136d
46b0f36ccb78da2edaa3efc92573c8ffc7b8ab074bf8aec818779b8c5271035c
4d9c57b2ef1a7b9c8a429d71896dccd936289fa046907f09731b4dda242a5baf
85e06eaa4c13c89f63bc56a03bbfeadc21e1256f4dc993afba78a06d720bca1e
f419b2a14553604ff132d4420f27157cdfbf072dbc8a3c9df22222382312db1e
04cf0b75960ad01a4cca1b77af28e325952276450afbe1f1d61c4d5438200d31
078e8094804cd7227df8139555c8c247fc6e883e6556e83359384ea9afd22ec2
082ac93a4cc5ad0bfd4e6aee7e2d60f1a4dcfd0334bb6f553703cce1e745ebf2
27576ac474a661b8f4dcaf24d29c79aede38893c5405b8c0ff38d85c8c1b61c5
2e169be47c1d9a45c706214633365110cecc4c76b4cbe8575101b17dfe5045e6
39e468b9fba77d759e64d9dbcf7eb97c6cffac5f20a34bf4dd854dc3a33e24cf
39f79e8eac78df6768f9d57eca568f899fa590e41291940ed176bf7191258d50
3ab48100cbbce9aa2f25d60ecbd95340716f977fe2156ad6b6058bf5c20ad4dd
3ceb96c3c76eef50cbf26da5d97612439faa680508cbf78271d01f47009af809
4610a0cac00c50a96a1683305ccb47649896705650e04669da6e198fc684fb89
461e8f6c175c4e47845f0ca6236c105489846d96df798f45a01e9a6f6ca7c8b1
52ed76face4df3cdeed978253ab9350ec521ec84c821acbced984160bbfbe5cd
566644c352f9879b3e23d864f0cbb3ccf47af943860aca7cd38122f08b0ef77b
5914be908456f455f11f8dc8e550de46ffc799ed4e5b3104c7c7d6b7e2d3b829
8287b0439c9798f6bb060913e5d42c5a778910950f97c4974d029b806c394e1a
91520fd8fce12e9935169c71b21104e4f92539220bbd7697ac798c51284ea633
bf1efe3b3657e6ca183b22a69edca7f0bb02265f23d1ee6146497e09cdfec2f5
d305c12615c2fcd059422f1f036f07a0e74bf5b52f337cc0e06747bc9f5a7e81
dd039f46701a3e55c07cef1ca870730508816f443441859b577bab755bc629c4
e9f0a79a8106b4096f1910e365f791785038a055d8a7e1ef07cc7e79a47d519a
eb63634fe6f9e707d34ce369903b9ee6e6e72906416576af35d896912bf6c7a6
ec93b00afb54c926b8c2fd6b94a605d95aeb10f28d477969f4145f47ed6370b5
f0bf2d2bca3eb432cc0f44b0268f22a87ff0ee6be2fdd8d3f4b7264e77e17b9c
Description
Assert condition: r == 0
Assert function: virtual void KernelDevice::aio_submit(IOContext*)
Sanitized backtrace:
/lib64/libpthread.so.0( /usr/bin/ceph-osd( 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>) ReplicatedBackend::do_repop(boost::intrusive_ptr<OpRequest>) ReplicatedBackend::_handle_message(boost::intrusive_ptr<OpRequest>) PGBackend::handle_message(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() /lib64/libpthread.so.0( clone()
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 7f41cf004700 time 2021-08-10T05:48:46.259852+0000\nblk/kernel/KernelDevice.cc: 826: FAILED ceph_assert(r == 0)", "assert_thread_name": "tp_osd_tp", "backtrace": [ "/lib64/libpthread.so.0(+0x12b20) [0x7f41f60beb20]", "gsignal()", "abort()", "(ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x1a9) [0x55573bd690b5]", "/usr/bin/ceph-osd(+0x56927e) [0x55573bd6927e]", "(KernelDevice::aio_submit(IOContext*)+0x714) [0x55573c8aa574]", "(BlueStore::_txc_aio_submit(BlueStore::TransContext*)+0x49) [0x55573c3700d9]", "(BlueStore::_txc_state_proc(BlueStore::TransContext*)+0x854) [0x55573c391254]", "(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) [0x55573c3b16f4]", "(non-virtual thunk to PrimaryLogPG::queue_transactions(std::vector<ceph::os::Transaction, std::allocator<ceph::os::Transaction> >&, boost::intrusive_ptr<OpRequest>)+0x58) [0x55573c00d0a8]", "(ReplicatedBackend::do_repop(boost::intrusive_ptr<OpRequest>)+0xeb0) [0x55573c1fa470]", "(ReplicatedBackend::_handle_message(boost::intrusive_ptr<OpRequest>)+0x267) [0x55573c20a7c7]", "(PGBackend::handle_message(boost::intrusive_ptr<OpRequest>)+0x52) [0x55573c040ab2]", "(PrimaryLogPG::do_request(boost::intrusive_ptr<OpRequest>&, ThreadPool::TPHandle&)+0x5de) [0x55573bfe3c2e]", "(OSD::dequeue_op(boost::intrusive_ptr<PG>, boost::intrusive_ptr<OpRequest>, ThreadPool::TPHandle&)+0x309) [0x55573be6d649]", "(ceph::osd::scheduler::PGOpItem::run(OSD*, OSDShard*, boost::intrusive_ptr<PG>&, ThreadPool::TPHandle&)+0x68) [0x55573c0ca808]", "(OSD::ShardedOpWQ::_process(unsigned int, ceph::heartbeat_handle_d*)+0xa58) [0x55573be8d618]", "(ShardedThreadPool::shardedthreadpool_worker(unsigned int)+0x5c4) [0x55573c4f5794]", "(ShardedThreadPool::WorkThreadSharded::entry()+0x14) [0x55573c4f8434]", "/lib64/libpthread.so.0(+0x814a) [0x7f41f60b414a]", "clone()" ], "ceph_version": "16.2.4", "crash_id": "2021-08-10T05:48:46.309257Z_3f8b856d-1af9-483d-8d70-b9826d9ac8b1", "entity_name": "osd.80ee3693ec842ab99165a60dacebc4ffa97a3a3a", "os_id": "centos", "os_name": "CentOS Linux", "os_version": "8", "os_version_id": "8", "process_name": "ceph-osd", "stack_sig": "46b0f36ccb78da2edaa3efc92573c8ffc7b8ab074bf8aec818779b8c5271035c", "timestamp": "2021-08-10T05:48:46.309257Z", "utsname_machine": "x86_64", "utsname_release": "5.11.0-25-generic", "utsname_sysname": "Linux", "utsname_version": "#27~20.04.1-Ubuntu SMP Tue Jul 13 17:41:23 UTC 2021" }