Bug #56791
crash: bool SimpleBitmap::set(uint64_t, uint64_t): assert(offset + length < m_num_bits)
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):
560104590ff972397211ae7cbd15023687caedf90a94329da057b8c138936f11
90b5bfaba737d8a503f529d670c38a54366e429c6dc4edbef1b664ce0002a69e
abb3cccf7906bed87cd918bc41f3324dfc09a7bac74e51faa7c2de8a71a5a741
cf87d49056ef98b89ea23f5cb9096edde65ba2a0d9b61fb6527db6e3aca3745d
Crash signature (v2):
Description
New crash events were reported via Telemetry with newer versions (['17.1.0']) than encountered in Tracker (0.0.0).
Assert condition: offset + length < m_num_bits
Assert function: bool SimpleBitmap::set(uint64_t, uint64_t)
Sanitized backtrace:
SimpleBitmap::set(unsigned long, unsigned long) BlueStore::read_allocation_from_single_onode(SimpleBitmap*, boost::intrusive_ptr<BlueStore::Onode>&, BlueStore::read_alloc_stats_t&) BlueStore::read_allocation_from_onodes(SimpleBitmap*, BlueStore::read_alloc_stats_t&) BlueStore::reconstruct_allocations(SimpleBitmap*, BlueStore::read_alloc_stats_t&) BlueStore::read_allocation_from_drive_on_startup() BlueStore::_init_alloc(std::map<unsigned long, unsigned long, std::less<unsigned long>, std::allocator<std::pair<unsigned long const, unsigned long> > >*) BlueStore::_open_db_and_around(bool, bool) BlueStore::_mount() OSD::init()
Crash dump sample:
{ "archived": "2022-05-14 22:06:11.297438", "assert_condition": "offset + length < m_num_bits", "assert_file": "os/bluestore/simple_bitmap.cc", "assert_func": "bool SimpleBitmap::set(uint64_t, uint64_t)", "assert_line": 54, "assert_msg": "os/bluestore/simple_bitmap.cc: In function 'bool SimpleBitmap::set(uint64_t, uint64_t)' thread 7f301cd41240 time 2022-05-14T21:04:41.737572+0000\nos/bluestore/simple_bitmap.cc: 54: FAILED ceph_assert(offset + length < m_num_bits)", "assert_thread_name": "ceph-osd", "backtrace": [ "/lib/x86_64-linux-gnu/libpthread.so.0(+0x12200) [0x7f301d40b200]", "gsignal()", "abort()", "(ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x17e) [0x55bb67aa871e]", "/usr/bin/ceph-osd(+0xc20862) [0x55bb67aa8862]", "(SimpleBitmap::set(unsigned long, unsigned long)+0x673) [0x55bb681524a3]", "(BlueStore::read_allocation_from_single_onode(SimpleBitmap*, boost::intrusive_ptr<BlueStore::Onode>&, BlueStore::read_alloc_stats_t&)+0x314) [0x55bb6808e324]", "(BlueStore::read_allocation_from_onodes(SimpleBitmap*, BlueStore::read_alloc_stats_t&)+0x9c7) [0x55bb680d5047]", "(BlueStore::reconstruct_allocations(SimpleBitmap*, BlueStore::read_alloc_stats_t&)+0x5b) [0x55bb680d5a0b]", "(BlueStore::read_allocation_from_drive_on_startup()+0x9d) [0x55bb680f089d]", "(BlueStore::_init_alloc(std::map<unsigned long, unsigned long, std::less<unsigned long>, std::allocator<std::pair<unsigned long const, unsigned long> > >*)+0x9bd) [0x55bb680f149d]", "(BlueStore::_open_db_and_around(bool, bool)+0x36e) [0x55bb6811aaae]", "(BlueStore::_mount()+0x377) [0x55bb6811d677]", "(OSD::init()+0x54b) [0x55bb67b9889b]", "main()", "__libc_start_main()", "_start()" ], "ceph_version": "17.1.0", "crash_id": "2022-05-14T21:04:41.763746Z_66df1604-c6f8-4887-b6e9-cc6f3b08847c", "entity_name": "osd.37e888f36ac6a3a08675c365ce6c0539c3b27ff8", "os_id": "debian", "os_name": "Debian GNU/Linux bookworm/sid", "process_name": "ceph-osd", "stack_sig": "90b5bfaba737d8a503f529d670c38a54366e429c6dc4edbef1b664ce0002a69e", "timestamp": "2022-05-14T21:04:41.763746Z", "utsname_machine": "x86_64", "utsname_release": "5.17.0-1-amd64", "utsname_sysname": "Linux", "utsname_version": "#1 SMP PREEMPT Debian 5.17.3-1 (2022-04-18)" }
Related issues
History
#1 Updated by Telemetry Bot over 1 year ago
- Related to Bug #55154: Multiple OSD's during upgrade crashed with bluestore/simple_bitmap.cc: 54: FAILED ceph_assert(offset + length < m_num_bits)\n" added
#2 Updated by Telemetry Bot over 1 year ago
- Related to Bug #55145: Bogus assert in SimpleBitmap added
#3 Updated by Telemetry Bot over 1 year ago
- Related to Backport #55180: quincy: Bogus assert in SimpleBitmap added