Project

General

Profile

Actions

Bug #47751

closed

Hybrid allocator might segfault when fallback allocator is present

Added by Igor Fedotov over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
% Done:

100%

Source:
Tags:
Backport:
octopus, nautilus, mimic
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Here is a relevant backtrace.
2020-10-05T17:11:17.898+0300 7ff3b7e26d80 -1 ** Caught signal (Segmentation fault) *
in thread 7ff3b7e26d80 thread_name:ceph-osd

ceph version Development (no_version) pacific (dev)
1: ()
2: (AllocatorLevel01Loose::_claim_free_to_right_l0(long)+0x55) [0x55b4999c3185]
3: (HybridAllocator::_add_to_tree(unsigned long, unsigned long)+0x219) [0x55b4999c1cb9]
4: (AvlAllocator::init_add_free(unsigned long, unsigned long)+0x6a) [0x55b4999bd1ca]
5: (BlueStore::_init_alloc()+0x1a3) [0x55b499874d13]
6: (BlueStore::_open_db_and_around(bool, bool)+0x2db) [0x55b4998d070b]
7: (BlueStore::_mount()+0x19a) [0x55b4998d30ea]
8: (OSD::init()+0x5c4) [0x55b499360384]
9: main()
10: __libc_start_main()
11: _start()

Subtasks 2 (0 open2 closed)

Bug #46800: Octopus OSD died and fails to start with FAILED ceph_assert(is_valid_io(off, len))Duplicate

Actions
Bug #48276: OSD Crash with ceph_assert(is_valid_io(off, len))Duplicate

Actions

Related issues 3 (0 open3 closed)

Copied to bluestore - Backport #48092: mimic: Hybrid allocator might segfault when fallback allocator is presentRejectedActions
Copied to bluestore - Backport #48093: nautilus: Hybrid allocator might segfault when fallback allocator is presentResolvedActions
Copied to bluestore - Backport #48094: octopus: Hybrid allocator might segfault when fallback allocator is presentResolvedNathan CutlerActions
Actions #1

Updated by Igor Fedotov over 3 years ago

  • Status changed from New to In Progress
  • Backport set to octopus, mimic, nautilus
Actions #2

Updated by Igor Fedotov over 3 years ago

  • Assignee set to Igor Fedotov
Actions #3

Updated by Igor Fedotov over 3 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 37547
Actions #4

Updated by Igor Fedotov over 3 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #5

Updated by Nathan Cutler over 3 years ago

  • Copied to Backport #48092: mimic: Hybrid allocator might segfault when fallback allocator is present added
Actions #6

Updated by Nathan Cutler over 3 years ago

  • Copied to Backport #48093: nautilus: Hybrid allocator might segfault when fallback allocator is present added
Actions #7

Updated by Nathan Cutler over 3 years ago

  • Copied to Backport #48094: octopus: Hybrid allocator might segfault when fallback allocator is present added
Actions #8

Updated by Igor Fedotov over 3 years ago

  • Backport changed from octopus, mimic, nautilus to octopus, nautilus
Actions #9

Updated by Igor Fedotov over 3 years ago

  • Related to Bug #48276: OSD Crash with ceph_assert(is_valid_io(off, len)) added
Actions #10

Updated by Nathan Cutler over 3 years ago

Igor wrote in the mimic backport issue: "We don't have hybrid allocator in mimic and there are no related (claim_free_to_) methods in bitmap one. Hence no need to backport."

Actions #11

Updated by Nathan Cutler over 3 years ago

  • Backport changed from octopus, nautilus to octopus, nautilus, mimic

Fixing this error:

ERROR:root:https://tracker.ceph.com/issues/47751 has more backport issues (mimic,nautilus,octopus) than expected (nautilus,octopus)
Actions #12

Updated by Nathan Cutler over 3 years ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Actions

Also available in: Atom PDF