Project

General

Profile

Bug #23980

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

Added by Sage Weil 9 months ago. Updated 8 months ago.

Status:
Resolved
Priority:
Urgent
Assignee:
-
Category:
-
Target version:
-
Start date:
05/02/2018
Due date:
% Done:

0%

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

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

Duplicated by RADOS - Bug #23961: valgrind reports UninitCondition in osd PG::RecoveryState::Incomplete::react(PG::AdvMap const) Duplicate 05/02/2018
Copied to RADOS - Backport #24015: luminous: UninitCondition in PG::RecoveryState::Incomplete::react(PG::AdvMap const&) Resolved

History

#1 Updated by Sage Weil 9 months ago

  • Status changed from Verified to Need Review
  • Backport set to luminous

#2 Updated by Kefu Chai 9 months ago

  • Duplicated by Bug #23961: valgrind reports UninitCondition in osd PG::RecoveryState::Incomplete::react(PG::AdvMap const) added

#3 Updated by Sage Weil 9 months ago

  • Status changed from Need Review to Pending Backport

#4 Updated by Nathan Cutler 9 months ago

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

#5 Updated by Nathan Cutler 8 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF