Project

General

Profile

Actions

Bug #56226

open

crash: bool SimpleBitmap::set(uint64_t, uint64_t): assert(offset + length < m_num_bits)

Added by Telemetry Bot almost 2 years ago. Updated almost 2 years ago.

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):

51f102f5e8a4ba9b7be7062428d2b819a22b016c0bb8f79d34425a3a329e754a


Description

http://telemetry.front.sepia.ceph.com:4000/d/jByk5HaMz/crash-spec-x-ray?orgId=1&var-sig_v2=b7aea0e8840d038322c58e0f3a78db0472bf95a9e10589464c067d277aebf2f0

Assert condition: offset + length < m_num_bits
Assert function: bool SimpleBitmap::set(uint64_t, uint64_t)

Sanitized backtrace:

    pthread_kill()
    raise()
    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-13 08:23:54.562293",
    "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 7fe07fa275c0 time 2022-05-13T07:57:46.317027+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/libc.so.6(+0x42520) [0x7fe07fc76520]",
        "pthread_kill()",
        "raise()",
        "abort()",
        "(ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x182) [0x55e36fd46775]",
        "/usr/bin/ceph-osd(+0x58c8d7) [0x55e36fd468d7]",
        "(SimpleBitmap::set(unsigned long, unsigned long)+0x683) [0x55e37040a133]",
        "(BlueStore::read_allocation_from_single_onode(SimpleBitmap*, boost::intrusive_ptr<BlueStore::Onode>&, BlueStore::read_alloc_stats_t&)+0x265) [0x55e37034a545]",
        "(BlueStore::read_allocation_from_onodes(SimpleBitmap*, BlueStore::read_alloc_stats_t&)+0x971) [0x55e37038e771]",
        "(BlueStore::reconstruct_allocations(SimpleBitmap*, BlueStore::read_alloc_stats_t&)+0x5a) [0x55e37038f15a]",
        "(BlueStore::read_allocation_from_drive_on_startup()+0xa1) [0x55e37039b861]",
        "(BlueStore::_init_alloc(std::map<unsigned long, unsigned long, std::less<unsigned long>, std::allocator<std::pair<unsigned long const, unsigned long> > >*)+0x9db) [0x55e37039c47b]",
        "(BlueStore::_open_db_and_around(bool, bool)+0x372) [0x55e3703d36c2]",
        "(BlueStore::_mount()+0x37b) [0x55e3703d635b]",
        "(OSD::init()+0x4e0) [0x55e36fe85070]",
        "main()",
        "/lib/x86_64-linux-gnu/libc.so.6(+0x29d90) [0x7fe07fc5dd90]",
        "__libc_start_main()",
        "_start()" 
    ],
    "ceph_version": "17.1.0",
    "crash_id": "2022-05-13T07:57:46.357463Z_ccbc8e56-81b3-4222-a336-e288b00d068e",
    "entity_name": "osd.82f85510071a8650bce0228e1563ca46503d83a2",
    "os_id": "22.10",
    "os_name": "Ubuntu Kinetic Kudu (development branch)",
    "os_version": "22.10 (Kinetic Kudu)",
    "os_version_id": "22.10",
    "process_name": "ceph-osd",
    "stack_sig": "51f102f5e8a4ba9b7be7062428d2b819a22b016c0bb8f79d34425a3a329e754a",
    "timestamp": "2022-05-13T07:57:46.357463Z",
    "utsname_machine": "x86_64",
    "utsname_release": "5.15.0-17-generic",
    "utsname_sysname": "Linux",
    "utsname_version": "#17-Ubuntu SMP Thu Jan 13 16:27:23 UTC 2022" 
}

Actions #1

Updated by Telemetry Bot almost 2 years ago

  • Crash signature (v1) updated (diff)
  • Crash signature (v2) updated (diff)
  • Affected Versions v17.1.0 added
Actions

Also available in: Atom PDF