Actions
Bug #60308
opencrash: virtual int KernelDevice::read(uint64_t, uint64_t, ceph::bufferlist*, IOContext*, bool): assert((uint64_t)r == len)
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):
cd6786280c8b2973ef583fc9110a73ed4700544fc19a2ad701898cebbf0f0cff
Crash signature (v2):
Description
Assert condition: (uint64_t)r == len
Assert function: virtual int KernelDevice::read(uint64_t, uint64_t, ceph::bufferlist*, IOContext*, bool)
Sanitized backtrace:
KernelDevice::read(unsigned long, unsigned long, ceph::buffer::list*, IOContext*, bool) BlueFS::_read(BlueFS::FileReader*, unsigned long, unsigned long, ceph::buffer::list*, char*) BlueFS::_replay(bool, bool) BlueFS::mount() BlueStore::_open_bluefs(bool, bool) BlueStore::_prepare_db_environment(bool, bool, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*) BlueStore::_open_db(bool, bool, bool) BlueStore::_open_db_and_around(bool, bool) BlueStore::_fsck(BlueStore::FSCKDepth, bool) BlueStore::mkfs() OSD::mkfs(ceph::common::CephContext*, std::unique_ptr<ObjectStore, std::default_delete<ObjectStore> >, uuid_d, int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)
Crash dump sample:
{ "assert_condition": "(uint64_t)r == len", "assert_file": "blk/kernel/KernelDevice.cc", "assert_func": "virtual int KernelDevice::read(uint64_t, uint64_t, ceph::bufferlist*, IOContext*, bool)", "assert_line": 1255, "assert_msg": "blk/kernel/KernelDevice.cc: In function 'virtual int KernelDevice::read(uint64_t, uint64_t, ceph::bufferlist*, IOContext*, bool)' thread 7f33f33a8240 time 2023-01-26T15:44:39.741430+0000\nblk/kernel/KernelDevice.cc: 1255: FAILED ceph_assert((uint64_t)r == len)", "assert_thread_name": "ceph-osd", "backtrace": [ "/lib/x86_64-linux-gnu/libpthread.so.0(+0x13140) [0x7f33f3a10140]", "gsignal()", "abort()", "(ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x17e) [0x5625fdb7cfca]", "/usr/bin/ceph-osd(+0xc2310e) [0x5625fdb7d10e]", "(KernelDevice::read(unsigned long, unsigned long, ceph::buffer::v15_2_0::list*, IOContext*, bool)+0x9cf) [0x5625fe7510cf]", "(BlueFS::_read(BlueFS::FileReader*, unsigned long, unsigned long, ceph::buffer::v15_2_0::list*, char*)+0x5b7) [0x5625fe29ff97]", "(BlueFS::_replay(bool, bool)+0x36d) [0x5625fe2b590d]", "(BlueFS::mount()+0x120) [0x5625fe2b9ec0]", "(BlueStore::_open_bluefs(bool, bool)+0x88) [0x5625fe1974f8]", "(BlueStore::_prepare_db_environment(bool, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*)+0x2af) [0x5625fe197e0f]", "(BlueStore::_open_db(bool, bool, bool)+0x3bb) [0x5625fe1a85cb]", "(BlueStore::_open_db_and_around(bool, bool)+0x397) [0x5625fe1f7c47]", "(BlueStore::_fsck(BlueStore::FSCKDepth, bool)+0x184) [0x5625fe1f9f44]", "(BlueStore::mkfs()+0xc97) [0x5625fe1fcda7]", "(OSD::mkfs(ceph::common::CephContext*, std::unique_ptr<ObjectStore, std::default_delete<ObjectStore> >, uuid_d, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)+0x1b3) [0x5625fdc19f13]", "main()", "__libc_start_main()", "_start()" ], "ceph_version": "17.2.5", "crash_id": "2023-01-26T15:44:39.770935Z_22756373-4244-4fb5-a804-aa7106a575b2", "entity_name": "osd.ed412c8f37361630325fe92f926b8c630a0b343b", "os_id": "11", "os_name": "Debian GNU/Linux 11 (bullseye)", "os_version": "11 (bullseye)", "os_version_id": "11", "process_name": "ceph-osd", "stack_sig": "cd6786280c8b2973ef583fc9110a73ed4700544fc19a2ad701898cebbf0f0cff", "timestamp": "2023-01-26T15:44:39.770935Z", "utsname_machine": "x86_64", "utsname_release": "5.10.0-20-amd64", "utsname_sysname": "Linux", "utsname_version": "#1 SMP Debian 5.10.158-2 (2022-12-13)" }
Actions