Project

General

Profile

Bug #47751

Hybrid allocator might segfault when fallback allocator is present

Added by Igor Fedotov 12 months ago. Updated 9 months 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

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

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


Related issues

Copied to bluestore - Backport #48092: mimic: Hybrid allocator might segfault when fallback allocator is present Rejected
Copied to bluestore - Backport #48093: nautilus: Hybrid allocator might segfault when fallback allocator is present Resolved
Copied to bluestore - Backport #48094: octopus: Hybrid allocator might segfault when fallback allocator is present Resolved

History

#1 Updated by Igor Fedotov 12 months ago

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

#2 Updated by Igor Fedotov 12 months ago

  • Assignee set to Igor Fedotov

#3 Updated by Igor Fedotov 12 months ago

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

#4 Updated by Igor Fedotov 11 months ago

  • Status changed from Fix Under Review to Pending Backport

#5 Updated by Nathan Cutler 11 months ago

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

#6 Updated by Nathan Cutler 11 months ago

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

#7 Updated by Nathan Cutler 11 months ago

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

#8 Updated by Igor Fedotov 9 months ago

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

#9 Updated by Igor Fedotov 9 months ago

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

#10 Updated by Nathan Cutler 9 months 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."

#11 Updated by Nathan Cutler 9 months 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)

#12 Updated by Nathan Cutler 9 months 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".

Also available in: Atom PDF