Project

General

Profile

Actions

Bug #39723

closed

osd: valgrind Leak_DefinitelyLost

Added by Patrick Donnelly almost 5 years ago. Updated almost 5 years ago.

Status:
Duplicate
Priority:
High
Assignee:
Category:
-
Target version:
% 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 (v1):
Crash signature (v2):

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 1 (0 open1 closed)

Is duplicate of RADOS - Bug #20491: objecter leaked OSDMap in handle_osd_mapResolvedSage Weil07/04/2017

Actions
Actions #1

Updated by Patrick Donnelly almost 5 years ago

  • Description updated (diff)
Actions #2

Updated by Josh Durgin almost 5 years ago

  • Priority changed from Normal to High
Actions #3

Updated by Greg Farnum almost 5 years ago

  • Assignee set to Greg Farnum

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

Actions #4

Updated by Greg Farnum almost 5 years ago

  • Status changed from New to Fix Under Review
  • Backport set to nautilus, mimic, luminous
  • Pull request ID set to 28304
Actions #5

Updated by Greg Farnum almost 5 years ago

  • Is duplicate of Bug #20491: objecter leaked OSDMap in handle_osd_map added
Actions #6

Updated by Greg Farnum almost 5 years ago

  • Status changed from Fix Under Review to Duplicate
Actions

Also available in: Atom PDF