Project

General

Profile

Actions

Bug #23980

closed

UninitCondition in PG::RecoveryState::Incomplete::react(PG::AdvMap const&)

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

Status:
Resolved
Priority:
Urgent
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

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

Description

  <what>Conditional jump or move depends on uninitialised value(s)</what>
  <stack>
    <frame>
      <ip>0x56823C</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>PG::RecoveryState::Incomplete::react(PG::AdvMap const&amp;)</fn>
      <dir>/usr/src/debug/ceph-13.0.2-2053-g6da45f9/src/osd</dir>
      <file>PG.cc</file>
      <line>8962</line>
    </frame>
    <frame>
      <ip>0x5C1160</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>react&lt;PG::RecoveryState::Incomplete, boost::statechart::event_base, void const*&gt;</fn>
      <dir>/usr/src/debug/ceph-13.0.2-2053-g6da45f9/build/boost/include/boost/statechart</dir>
      <file>custom_reaction.hpp</file>
      <line>41</line>
    </frame>
    <frame>
      <ip>0x5C1160</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>local_react_impl&lt;boost::mpl::list&lt;boost::statechart::custom_reaction&lt;PG::AdvMap&gt;, boost::statechart::custom_reaction&lt;MNotifyRec&gt;, boost::statechart::custom_reaction&lt;PG::QueryState&gt; &gt;, boost::statechart::simple_state&lt;PG::RecoveryState::Incomplete, PG::RecoveryState::Peering, boost::mpl::list&lt;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&gt;, (boost::statechart::history_mode)0&gt; &gt;</fn>
      <dir>/usr/src/debug/ceph-13.0.2-2053-g6da45f9/build/boost/include/boost/statechart</dir>
      <file>simple_state.hpp</file>
      <line>813</line>
    </frame>
    <frame>
      <ip>0x5C1160</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>local_react&lt;boost::mpl::list&lt;boost::statechart::custom_reaction&lt;PG::AdvMap&gt;, boost::statechart::custom_reaction&lt;MNotifyRec&gt;, boost::statechart::custom_reaction&lt;PG::QueryState&gt; &gt; &gt;</fn>
      <dir>/usr/src/debug/ceph-13.0.2-2053-g6da45f9/build/boost/include/boost/statechart</dir>
      <file>simple_state.hpp</file>
      <line>851</line>
    </frame>
    <frame>
      <ip>0x5C1160</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>boost::statechart::simple_state&lt;PG::RecoveryState::Incomplete, PG::RecoveryState::Peering, boost::mpl::list&lt;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&gt;, (boost::statechart::history_mode)0&gt;::react_impl(boost::statechart::event_base const&amp;, void const*)</fn>
      <dir>/usr/src/debug/ceph-13.0.2-2053-g6da45f9/build/boost/include/boost/statechart</dir>
      <file>simple_state.hpp</file>
      <line>488</line>
    </frame>
    <frame>
      <ip>0x55FA1D</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>operator()</fn>
      <dir>/usr/src/debug/ceph-13.0.2-2053-g6da45f9/build/boost/include/boost/statechart</dir>
      <file>state_machine.hpp</file>
      <line>87</line>
    </frame>
    <frame>
      <ip>0x55FA1D</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>operator()&lt;boost::statechart::detail::send_function&lt;boost::statechart::detail::state_base&lt;std::allocator&lt;void&gt;, boost::statechart::detail::rtti_policy&gt;, boost::statechart::event_base, void const*&gt;, boost::statechart::state_machine&lt;PG::RecoveryState::RecoveryMachine, PG::RecoveryState::Initial&gt;::exception_event_handler&gt;</fn>
      <dir>/usr/src/debug/ceph-13.0.2-2053-g6da45f9/build/boost/include/boost/statechart</dir>
      <file>null_exception_translator.hpp</file>
      <line>33</line>
    </frame>
    <frame>
...

same on every osd

/a/sage-2018-05-02_22:22:16-rados-wip-sage3-testing-2018-05-02-1448-distro-basic-smithi/2468012


Related issues 2 (0 open2 closed)

Has duplicate RADOS - Bug #23961: valgrind reports UninitCondition in osd PG::RecoveryState::Incomplete::react(PG::AdvMap const)Duplicate05/02/2018

Actions
Copied to RADOS - Backport #24015: luminous: UninitCondition in PG::RecoveryState::Incomplete::react(PG::AdvMap const&)ResolvedPrashant DActions
Actions #1

Updated by Sage Weil almost 6 years ago

  • Status changed from 12 to Fix Under Review
  • Backport set to luminous
Actions #2

Updated by Kefu Chai almost 6 years ago

  • Has duplicate Bug #23961: valgrind reports UninitCondition in osd PG::RecoveryState::Incomplete::react(PG::AdvMap const) added
Actions #3

Updated by Sage Weil almost 6 years ago

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

Updated by Nathan Cutler almost 6 years ago

  • Copied to Backport #24015: luminous: UninitCondition in PG::RecoveryState::Incomplete::react(PG::AdvMap const&) added
Actions #5

Updated by Nathan Cutler almost 6 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF