Project

General

Profile

Bug #1904

osd: calc_acting bad iterator deref

Added by Sage Weil almost 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
OSD
Target version:
Start date:
01/08/2012
Due date:
% Done:

0%

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

Description


2012-01-08 02:25:03.324082 7f6e8d0c4700 osd.1 14 pg[4.2( v 7'3 (7'3,7'3] lb 1740577a/notify/head n=0 ec=5 les/c 11/7 14/14/14) [1] r=0 lpr=14 mlcod 0'0 peering] enter Started/Primary/Peering/GetLog
2012-01-08 02:25:03.324132 7f6e8d0c4700 osd.1 14 pg[4.2( v 7'3 (7'3,7'3] lb 1740577a/notify/head n=0 ec=5 les/c 11/7 14/14/14) [1] r=0 lpr=14 mlcod 0'0 peering] calc_acting osd.1 4.2( v 7'3 (7'3,7'3] lb 1740577a/notify/head n=0 ec=5 les/c 11/7 14/14/14)
2012-01-08 02:25:03.324169 7f6e8d0c4700 osd.1 14 pg[4.2( v 7'3 (7'3,7'3] lb 1740577a/notify/head n=0 ec=5 les/c 11/7 14/14/14) [1] r=0 lpr=14 mlcod 0'0 peering] calc_acting newest update on osd.1 with 0.0p0( empty n=140112789509920 ec=8332219 les/c 0/23497824 24098456/0/23576
104)
*** Caught signal (Segmentation fault) **
 in thread 7f6e8d0c4700
 ceph version 0.39-378-ga774d50 (commit:a774d5002132cffb7b408e7de3d75ee841301fbf)
 1: (ceph::BackTrace::BackTrace(int)+0x2d) [0x8b6ce7]
 2: /tmp/cephtest/binary/usr/local/bin/ceph-osd() [0xa31795]
 3: (()+0xfb40) [0x7f6e98d55b40]
 4: (std::string::size() const+0x3) [0x7f6e97baa2b3]
 5: (__gnu_cxx::__enable_if<std::__is_char<char>::__value, bool>::__type std::operator==<char>(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0x1f) [0x75d61b]
 6: (bool std::operator!=<char, std::char_traits<char>, std::allocator<char> >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0x23) [0x7b3e6b]
 7: (operator!=(object_t const&, object_t const&)+0x23) [0x7a045c]
 8: (operator!=(hobject_t const&, hobject_t const&)+0x24) [0x7a0d7b]
 9: (PG::Info::is_incomplete() const+0x32) [0x7a6d9a]
 10: (PG::calc_acting(int&, std::vector<int, std::allocator<int> >&) const+0x5db) [0x96a75b]
 11: (PG::choose_acting(int&)+0x42) [0x96b7a2]
 12: (PG::RecoveryState::GetLog::GetLog(boost::statechart::state<PG::RecoveryState::GetLog, 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_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, (boost::statechart::history_mode)0>::my_context)+0x147) [0x98b02b]
 13: (boost::statechart::state<PG::RecoveryState::GetLog, 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_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, (boost::statechart::history_mode)0>::shallow_construct(boost::intrusive_ptr<PG::RecoveryState::Peering> const&, boost::statechart::state_machine<PG::RecoveryState::RecoveryMachine, PG::RecoveryState::Initial, std::allocator<void>, boost::statechart::null_exception_translator>&)+0x5d) [0x9c27a2]
 14: (boost::statechart::state<PG::RecoveryState::GetLog, 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_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, (boost::statechart::history_mode)0>::deep_construct(boost::intrusive_ptr<PG::RecoveryState::Peering> const&, boost::statechart::state_machine<PG::RecoveryState::RecoveryMachine, PG::RecoveryState::Initial, std::allocator<void>, boost::statechart::null_exception_translator>&)+0x2a) [0x9c20ca]
 15: (boost::statechart::detail::inner_constructor<boost::mpl::l_item<mpl_::long_<1l>, PG::RecoveryState::GetLog, boost::mpl::l_end>, boost::statechart::state_machine<PG::RecoveryState::RecoveryMachine, PG::RecoveryState::Initial, std::allocator<void>, boost::statechart::null_exception_translator> >::construct(boost::intrusive_ptr<PG::RecoveryState::Peering> const&, boost::statechart::state_machine<PG::RecoveryState::RecoveryMachine, PG::RecoveryState::Initial, std::allocator<void>, boost::statechart::null_exception_translator>&)+0x23) [0x9c1c1d]
 16: (boost::statechart::detail::safe_reaction_result 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_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, (boost::statechart::history_mode)0>::transit_impl<PG::RecoveryState::GetLog, PG::RecoveryState::RecoveryMachine, boost::statechart::detail::no_transition_function>(boost::statechart::detail::no_transition_function const&)+0xa0) [0x9c151e]
 17: (boost::statechart::detail::safe_reaction_result 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_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, (boost::statechart::history_mode)0>::transit<PG::RecoveryState::GetLog>()+0x26) [0x9c104c]
 18: (boost::statechart::transition<PG::RecoveryState::GotInfo, PG::RecoveryState::GetLog, boost::statechart::detail::no_context<PG::RecoveryState::GotInfo>, &(boost::statechart::detail::no_context<PG::RecoveryState::GotInfo>::no_function(PG::RecoveryState::GotInfo const&))>::reactions<PG::RecoveryState::GetInfo>::react_without_action(PG::RecoveryState::GetInfo&)+0x22) [0x9c0ab1]
 19: (boost::statechart::detail::reaction_dispatcher<boost::statechart::transition<PG::RecoveryState::GotInfo, PG::RecoveryState::GetLog, boost::statechart::detail::no_context<PG::RecoveryState::GotInfo>, &(boost::statechart::detail::no_context<PG::RecoveryState::GotInfo>::no_function(PG::RecoveryState::GotInfo const&))>::reactions<PG::RecoveryState::GetInfo>, PG::RecoveryState::GetInfo, boost::statechart::event_base, PG::RecoveryState::GotInfo, boost::statechart::detail::no_context<PG::RecoveryState::GotInfo>, void const*>::without_action::react(PG::RecoveryState::GetInfo&, boost::statechart::event_base const&)+0x26) [0x9c056c]
 20: (boost::statechart::detail::reaction_dispatcher<boost::statechart::transition<PG::RecoveryState::GotInfo, PG::RecoveryState::GetLog, boost::statechart::detail::no_context<PG::RecoveryState::GotInfo>, &(boost::statechart::detail::no_context<PG::RecoveryState::GotInfo>::no_function(PG::RecoveryState::GotInfo const&))>::reactions<PG::RecoveryState::GetInfo>, PG::RecoveryState::GetInfo, boost::statechart::event_base, PG::RecoveryState::GotInfo, boost::statechart::detail::no_context<PG::RecoveryState::GotInfo>, void const*>::derived::react(PG::RecoveryState::GetInfo&, boost::statechart::event_base const&, void const* const&)+0x46) [0x9bfd45]
 21: (boost::statechart::detail::reaction_dispatcher<boost::statechart::transition<PG::RecoveryState::GotInfo, PG::RecoveryState::GetLog, boost::statechart::detail::no_context<PG::RecoveryState::GotInfo>, &(boost::statechart::detail::no_context<PG::RecoveryState::GotInfo>::no_function(PG::RecoveryState::GotInfo const&))>::reactions<PG::RecoveryState::GetInfo>, PG::RecoveryState::GetInfo, boost::statechart::event_base, PG::RecoveryState::GotInfo, boost::statechart::detail::no_context<PG::RecoveryState::GotInfo>, void const*>::react(PG::RecoveryState::GetInfo&, boost::statechart::event_base const&, void const* const&)+0x30) [0x9bf46a]
 22: (boost::statechart::detail::reaction_result boost::statechart::transition<PG::RecoveryState::GotInfo, PG::RecoveryState::GetLog, boost::statechart::detail::no_context<PG::RecoveryState::GotInfo>, &(boost::statechart::detail::no_context<PG::RecoveryState::GotInfo>::no_function(PG::RecoveryState::GotInfo const&))>::react<PG::RecoveryState::GetInfo, boost::statechart::event_base, void const*>(PG::RecoveryState::GetInfo&, boost::statechart::event_base const&, void const* const&)+0x2b) [0x9be1ff]
 23: (boost::statechart::detail::reaction_result 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_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, (boost::statechart::history_mode)0>::local_react_impl_non_empty::local_react_impl<boost::mpl::list<boost::statechart::transition<PG::RecoveryState::GotInfo, PG::RecoveryState::GetLog, boost::statechart::detail::no_context<PG::RecoveryState::GotInfo>, &(boost::statechart::detail::no_context<PG::RecoveryState::GotInfo>::no_function(PG::RecoveryState::GotInfo const&))>, boost::statechart::custom_reaction<PG::RecoveryState::MNotifyRec>, 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_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, 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_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, (boost::statechart::history_mode)0> >(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_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, (boost::statechart::history_mode)0>&, boost::statechart::event_base const&, void const*)+0x33) [0x9bc33b]

History

#1 Updated by Sage Weil almost 8 years ago

  • translation missing: en.field_position set to 1

#2 Updated by Sage Weil almost 8 years ago

  • Status changed from New to Resolved

#3 Updated by Sage Weil almost 8 years ago

  • Target version changed from v0.41 to v0.40

Also available in: Atom PDF