Project

General

Profile

Bug #39723

osd: valgrind Leak_DefinitelyLost

Added by Patrick Donnelly 6 months ago. Updated 6 months ago.

Status:
Duplicate
Priority:
High
Assignee:
Category:
-
Target version:
Start date:
Due date:
% Done:

0%

Source:
Q/A
Tags:
Backport:
nautilus, mimic, luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
OSD, Objecter
Pull request ID:
Crash signature:

Description

<error>
  <unique>0x5c</unique>
  <tid>1</tid>
  <kind>Leak_DefinitelyLost</kind>
  <xwhat>
    <text>12,086 (1,120 direct, 10,966 indirect) bytes in 1 blocks are definitely lost in loss record 93 of 96</text>
    <leakedbytes>12086</leakedbytes>
    <leakedblocks>1</leakedblocks>
  </xwhat>
  <stack>
    <frame>
      <ip>0xA88E888</ip>
      <obj>/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so</obj>
      <fn>operator new[](unsigned long)</fn>
      <dir>/builddir/build/BUILD/valgrind-3.13.0/coregrind/m_replacemalloc</dir>
      <file>vg_replace_malloc.c</file>
      <line>423</line>
    </frame>
    <frame>
      <ip>0x79C0C6</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>Objecter</fn>
      <dir>/usr/src/debug/ceph-15.0.0-1189-g154dc4b/src/osdc</dir>
      <file>Objecter.h</file>
      <line>2044</line>
    </frame>
    <frame>
      <ip>0x79C0C6</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>OSDService::OSDService(OSD*)</fn>
      <dir>/usr/src/debug/ceph-15.0.0-1189-g154dc4b/src/osd</dir>
      <file>OSD.cc</file>
      <line>244</line>
    </frame>
    <frame>
      <ip>0x79F062</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>OSD::OSD(CephContext*, ObjectStore*, int, Messenger*, Messenger*, Messenger*, Messenger*, Messenger*, Messenger*, Messenger*, MonClient*, std::string const&amp;, std::string const&amp;)</fn>
      <dir>/usr/src/debug/ceph-15.0.0-1189-g154dc4b/src/osd</dir>
      <file>OSD.cc</file>
      <line>2127</line>
    </frame>
    <frame>
      <ip>0x634105</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>main</fn>
      <dir>/usr/src/debug/ceph-15.0.0-1189-g154dc4b/src</dir>
      <file>ceph_osd.cc</file>
      <line>689</line>
    </frame>
  </stack>
</error>

From: /ceph/teuthology-archive/pdonnell-2019-05-11_00:01:05-multimds-wip-pdonnell-testing-20190510.182613-distro-basic-smithi/3948016/remote/smithi045/log/valgrind/osd.4.log.gz


Related issues

Duplicates RADOS - Bug #20491: objecter leaked OSDMap in handle_osd_map Resolved 07/04/2017

History

#1 Updated by Patrick Donnelly 6 months ago

  • Description updated (diff)

#2 Updated by Josh Durgin 6 months ago

  • Priority changed from Normal to High

#3 Updated by Greg Farnum 6 months ago

  • Assignee set to Greg Farnum

Okay, simple osdmap pointer assignment snafu. Working on a quick PR.

#4 Updated by Greg Farnum 6 months ago

  • Status changed from New to Need Review
  • Backport set to nautilus, mimic, luminous
  • Pull request ID set to 28304

#5 Updated by Greg Farnum 6 months ago

  • Duplicates Bug #20491: objecter leaked OSDMap in handle_osd_map added

#6 Updated by Greg Farnum 6 months ago

  • Status changed from Need Review to Duplicate

Also available in: Atom PDF