Bug #54676
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):
b293c3dbab9cc8db8a0f40b3c32fad06a045e013047a4a7938de4fada54f7726
bbb763c8860622af9f28cdd0d39779bcd34ea4f164437df2a8e1646579fea11a
Crash signature (v2):
Description
Assert condition: r == 0
Assert function: virtual void KernelDevice::aio_submit(IOContext*)
Sanitized backtrace:
KernelDevice::aio_submit(IOContext*) BlueStore::_do_readv(BlueStore::Collection*, boost::intrusive_ptr<BlueStore::Onode>, interval_set<unsigned long, std::map> const&, ceph::buffer::list&, unsigned int, unsigned long) BlueStore::readv(boost::intrusive_ptr<ObjectStore::CollectionImpl>&, ghobject_t const&, interval_set<unsigned long, std::map>&, ceph::buffer::list&, unsigned int) ReplicatedBackend::objects_readv_sync(hobject_t const&, std::map<unsigned long, unsigned long, std::less<unsigned long>, std::allocator<std::pair<unsigned long const, unsigned long> > >&&, unsigned int, ceph::buffer::list*) PrimaryLogPG::do_sparse_read(PrimaryLogPG::OpContext*, OSDOp&) PrimaryLogPG::do_osd_ops(PrimaryLogPG::OpContext*, std::vector<OSDOp, std::allocator<OSDOp> >&) PrimaryLogPG::prepare_transaction(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:
{ "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 7f298cf54700 time 2022-03-14T03:17:31.981066+0100\nblk/kernel/KernelDevice.cc: 826: FAILED ceph_assert(r == 0)", "assert_thread_name": "tp_osd_tp", "backtrace": [ "/lib/x86_64-linux-gnu/libpthread.so.0(+0x14140) [0x7f29b30db140]", "gsignal()", "abort()", "(ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x16e) [0x5639d92b5b30]", "/usr/bin/ceph-osd(+0xabcc71) [0x5639d92b5c71]", "(KernelDevice::aio_submit(IOContext*)+0x28b) [0x5639d9e15c9b]", "(BlueStore::_do_readv(BlueStore::Collection*, boost::intrusive_ptr<BlueStore::Onode>, interval_set<unsigned long, std::map> const&, ceph::buffer::v15_2_0::list&, unsigned int, unsigned long)+0xc4d) [0x5639d99002bd]", "(BlueStore::readv(boost::intrusive_ptr<ObjectStore::CollectionImpl>&, ghobject_t const&, interval_set<unsigned long, std::map>&, ceph::buffer::v15_2_0::list&, unsigned int)+0x22e) [0x5639d9900b6e]", "(ReplicatedBackend::objects_readv_sync(hobject_t const&, std::map<unsigned long, unsigned long, std::less<unsigned long>, std::allocator<std::pair<unsigned long const, unsigned long> > >&&, unsigned int, ceph::buffer::v15_2_0::list*)+0x111) [0x5639d9727481]", "(PrimaryLogPG::do_sparse_read(PrimaryLogPG::OpContext*, OSDOp&)+0x3e2) [0x5639d94aa392]", "(PrimaryLogPG::do_osd_ops(PrimaryLogPG::OpContext*, std::vector<OSDOp, std::allocator<OSDOp> >&)+0x7736) [0x5639d94e8e36]", "(PrimaryLogPG::prepare_transaction(PrimaryLogPG::OpContext*)+0x9f) [0x5639d94f431f]", "(PrimaryLogPG::execute_ctx(PrimaryLogPG::OpContext*)+0x302) [0x5639d94f6342]", "(PrimaryLogPG::do_op(boost::intrusive_ptr<OpRequest>&)+0x3347) [0x5639d94fe6c7]", "(OSD::dequeue_op(boost::intrusive_ptr<PG>, boost::intrusive_ptr<OpRequest>, ThreadPool::TPHandle&)+0x1bc) [0x5639d937254c]", "(ceph::osd::scheduler::PGOpItem::run(OSD*, OSDShard*, boost::intrusive_ptr<PG>&, ThreadPool::TPHandle&)+0x65) [0x5639d95ee1d5]", "(OSD::ShardedOpWQ::_process(unsigned int, ceph::heartbeat_handle_d*)+0xa27) [0x5639d93a3417]", "(ShardedThreadPool::shardedthreadpool_worker(unsigned int)+0x41a) [0x5639d9a3d4ca]", "(ShardedThreadPool::WorkThreadSharded::entry()+0x10) [0x5639d9a3f830]", "/lib/x86_64-linux-gnu/libpthread.so.0(+0x8ea7) [0x7f29b30cfea7]", "clone()" ], "ceph_version": "16.2.7", "crash_id": "2022-03-14T02:17:31.997709Z_43c9aaae-1702-41e8-bb59-638b1b2c4bbd", "entity_name": "osd.a3f55f453e3ee422c85b86ba3bdcc7b8f24a2b9e", "os_id": "11", "os_name": "Debian GNU/Linux 11 (bullseye)", "os_version": "11 (bullseye)", "os_version_id": "11", "process_name": "ceph-osd", "stack_sig": "bbb763c8860622af9f28cdd0d39779bcd34ea4f164437df2a8e1646579fea11a", "timestamp": "2022-03-14T02:17:31.997709Z", "utsname_machine": "x86_64", "utsname_release": "5.13.19-4-pve", "utsname_sysname": "Linux", "utsname_version": "#1 SMP PVE 5.13.19-9 (Mon, 07 Feb 2022 11:01:14 +0100)" }