Project

General

Profile

Actions

Bug #38683

closed

OSDMapRef access by multiple threads is unsafe

Added by Zengran Zhang about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
OSDMap
Target version:
% Done:

0%

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

Description

(gdb) bt
#0 0x0000000000000000 in ?? ()
#1 0x000055c38ab92549 in std::_Sp_counted_base<(_gnu_cxx::_Lock_policy)2>::_M_release() ()
#2 0x000055c38ac76a76 in PG::publish_stats_to_osd() ()
#3 0x000055c38ac8f435 in PG::RecoveryState::Primary::react(PG::ActMap const&) ()
#4 0x000055c38acfa536 in boost::statechart::simple_state<PG::RecoveryState::Primary, PG::RecoveryState::Started, PG::RecoveryState::Peering, (boost::statechart::history_mode)0>::react_impl(boost::statechart::event_base const&, void const*) ()
#5 0x000055c38acf8710 in boost::statechart::simple_state<PG::RecoveryState::Peering, PG::RecoveryState::Primary, PG::RecoveryState::GetInfo, (boost::statechart::history_mode)0>::react_impl(boost::statechart::event_base const&, void const*) ()
#6 0x000055c38acfa9a9 in boost::statechart::simple_state<PG::RecoveryState::GetInfo, PG::RecoveryState::Peering, boost::mpl::list<mpl
::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_:

Actions #1

Updated by Zengran Zhang about 5 years ago

  • Target version set to v12.2.12
Actions #2

Updated by Zengran Zhang about 5 years ago

this is crashed on 12.2.7, upstream had avoided, becuase PG::publish_stats_to_osd will not call osd->osd->get_osdmap()..

Actions #3

Updated by Zengran Zhang about 5 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF