Bug #59780
opencrash: int64_t BlueFS::_read(BlueFS::FileReader*, uint64_t, size_t, ceph::bufferlist*, char*): assert(r == 0)
0%
49673c06e36b91fe810bbc16a91829c23f1c5d17136dc8c6dae863012efc2b64
4d036b67d667f3c18ab33cda53da1468d3a66f213c7c5c78b4115582b4550476
4d8b968f528a2be136fa7ffa39082a8f3d6b240ee0c5bab6f812c9acca0cb5c9
53a4616eb7c5873fdff90204c18150d775c27493cd808445e3063a8f3c098b99
577f8defdac1bf9778ab35fa034c8ceb16541a497238b46359202d79756d037c
5c44142175d32d75c0705cee01b748d959d2ad0957dc119348bc90b9d155fc7f
61355378becf3be4c5401030f5f0f7dffdc71462229253f5b95a2a4f224f591f
6ddb26419d06624059ae1f2c186eff61553586096d6418e82b8d2b9cfa0d02a1
82b129ab4690dae7e1112c134f4c96f64fae04e3e5cd4824b4658a749b4bcb59
88e6bc15079d12f4a64514bbf8107b1ca6ca55271fcdaf2c9bc75561007b3491
9d1805ca4a21f0818c8f997ded0c99b6bffcccb8cf9c7aefe5bbfe498a669edd
a4a620fb447db29ba14c9941c3216d9e81553e7445579000f2f14bb442dec4f7
eadba0aa962c97a25e3177c127f42c607c2b289c92aacb9711f2df9712c6b9a9
Description
Assert condition: r == 0
Assert function: int64_t BlueFS::_read(BlueFS::FileReader*, uint64_t, size_t, ceph::bufferlist*, char*)
Sanitized backtrace:
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::_mount() OSD::init()
Crash dump sample:
{ "assert_condition": "r == 0", "assert_file": "os/bluestore/BlueFS.cc", "assert_func": "int64_t BlueFS::_read(BlueFS::FileReader*, uint64_t, size_t, ceph::bufferlist*, char*)", "assert_line": 2032, "assert_msg": "os/bluestore/BlueFS.cc: In function 'int64_t BlueFS::_read(BlueFS::FileReader*, uint64_t, size_t, ceph::bufferlist*, char*)' thread 7f48bab6b080 time 2023-04-20T17:54:14.981745+0000\nos/bluestore/BlueFS.cc: 2032: FAILED ceph_assert(r == 0)", "assert_thread_name": "ceph-osd", "backtrace": [ "/lib64/libpthread.so.0(+0x12b20) [0x7f48b88ccb20]", "gsignal()", "abort()", "(ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x1a9) [0x563b7a290f0b]", "ceph-osd(+0x56a0d4) [0x563b7a2910d4]", "(BlueFS::_read(BlueFS::FileReader*, unsigned long, unsigned long, ceph::buffer::v15_2_0::list*, char*)+0x7af) [0x563b7a97e3ff]", "(BlueFS::_replay(bool, bool)+0x3c6) [0x563b7a998346]", "(BlueFS::mount()+0x120) [0x563b7a99caf0]", "(BlueStore::_open_bluefs(bool, bool)+0x94) [0x563b7a87b9a4]", "(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> >*)+0x6e1) [0x563b7a87cb01]", "(BlueStore::_open_db(bool, bool, bool)+0x15f) [0x563b7a87de2f]", "(BlueStore::_open_db_and_around(bool, bool)+0x273) [0x563b7a8e80d3]", "(BlueStore::_mount()+0x204) [0x563b7a8eb014]", "(OSD::init()+0x380) [0x563b7a3c4b00]", "main()", "__libc_start_main()", "_start()" ], "ceph_version": "16.2.5", "crash_id": "2023-04-20T17:54:15.003513Z_a77b5b89-93e6-4325-be8b-54f8f59b35b1", "entity_name": "osd.8222456dfa033adab45bcff53c0b030d50ed0b66", "os_id": "centos", "os_name": "CentOS Linux", "os_version": "8", "os_version_id": "8", "process_name": "ceph-osd", "stack_sig": "82b129ab4690dae7e1112c134f4c96f64fae04e3e5cd4824b4658a749b4bcb59", "timestamp": "2023-04-20T17:54:15.003513Z", "utsname_machine": "x86_64", "utsname_release": "5.4.0-147-generic", "utsname_sysname": "Linux", "utsname_version": "#164-Ubuntu SMP Tue Mar 21 14:23:17 UTC 2023" }