Project

General

Profile

Bug #36766

InvalidRead in notify_osdmap

Added by Sage Weil over 1 year ago. Updated 6 months ago.

Status:
Pending Backport
Priority:
High
Assignee:
Category:
-
Target version:
-
% Done:

0%

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

Description

  <threadname>ms_dispatch</threadname>
  <kind>InvalidRead</kind>
  <what>Invalid read of size 8</what>
  <stack>
    <frame>
      <ip>0x102D21D0</ip>
      <obj>/usr/lib64/libstdc++.so.6.0.19</obj>
      <fn>std::_Rb_tree_increment(std::_Rb_tree_node_base*)</fn>
    </frame>
    <frame>
      <ip>0x1F350D</ip>
      <obj>/usr/bin/ceph-mgr</obj>
      <fn>operator++</fn>
      <dir>/opt/rh/devtoolset-7/root/usr/include/c++/7/bits</dir>
      <file>stl_tree.h</file>
      <line>287</line>
    </frame>
    <frame>
      <ip>0x1F350D</ip>
      <obj>/usr/bin/ceph-mgr</obj>
      <fn>PGMap::deleted_pool(long)</fn>
      <dir>/usr/src/debug/ceph-14.0.1-743-g5481af7/src/mon</dir>
      <file>PGMap.h</file>
      <line>308</line>
    </frame>
    <frame>
      <ip>0x1D9F37</ip>
      <obj>/usr/bin/ceph-mgr</obj>
      <fn>PGMap::apply_incremental(CephContext*, PGMap::Incremental const&amp;)</fn>
      <dir>/usr/src/debug/ceph-14.0.1-743-g5481af7/src/mon</dir>
      <file>PGMap.cc</file>
      <line>1218</line>
    </frame>
    <frame>
      <ip>0x2320FB</ip>
      <obj>/usr/bin/ceph-mgr</obj>
      <fn>ClusterState::notify_osdmap(OSDMap const&amp;)</fn>
      <dir>/usr/src/debug/ceph-14.0.1-743-g5481af7/src/mgr</dir>
      <file>ClusterState.cc</file>
      <line>171</line>
    </frame>
    <frame>
      <ip>0x27BAEE</ip>
      <obj>/usr/bin/ceph-mgr</obj>
      <fn>operator()</fn>
      <dir>/usr/src/debug/ceph-14.0.1-743-g5481af7/src/mgr</dir>
      <file>Mgr.cc</file>
      <line>474</line>
    </frame>
    <frame>
      <ip>0x27BAEE</ip>
      <obj>/usr/bin/ceph-mgr</obj>
      <fn>with_osdmap&lt;Mgr::handle_osd_map()::&lt;lambda(const OSDMap&amp;)&gt; &gt;</fn>
      <dir>/usr/src/debug/ceph-14.0.1-743-g5481af7/src/osdc</dir>
      <file>Objecter.h</file>
      <line>2057</line>
    </frame>
    <frame>
      <ip>0x27BAEE</ip>
      <obj>/usr/bin/ceph-mgr</obj>
      <fn>Mgr::handle_osd_map()</fn>
      <dir>/usr/src/debug/ceph-14.0.1-743-g5481af7/src/mgr</dir>
      <file>Mgr.cc</file>
      <line>422</line>

/a/sage-2018-11-10_20:11:37-rados:verify-wip-sage2-testing-2018-11-09-1636-distro-basic-smithi/3245888

Related issues

Copied to mgr - Backport #37344: mimic: InvalidRead in notify_osdmap Need More Info
Copied to mgr - Backport #37345: luminous: InvalidRead in notify_osdmap Need More Info

History

#1 Updated by Sage Weil over 1 year ago

  • Status changed from In Progress to 7

Looks like we aren't locking PGMap for notify_osdmap

https://github.com/ceph/ceph/pull/25052

#2 Updated by Sage Weil over 1 year ago

  • Backport set to mimic,luminous

#3 Updated by Sage Weil over 1 year ago

  • Status changed from 7 to Pending Backport

#4 Updated by Nathan Cutler over 1 year ago

#5 Updated by Nathan Cutler over 1 year ago

#6 Updated by Sebastian Wagner 6 months ago

  • Pull request ID set to 25052

Also available in: Atom PDF