Project

General

Profile

Bug #19778

valgrind leak reported in __tracepoints__init, dlopen

Added by Sage Weil 28 days ago. Updated 22 days ago.

Status:
Resolved
Priority:
Immediate
Assignee:
Category:
-
Target version:
-
Start date:
04/25/2017
Due date:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Release:
Needs Doc:
No

Description

<error>
  <unique>0x1b</unique>
  <tid>1</tid>
  <kind>Leak_StillReachable</kind>
  <xwhat>
    <text>32 bytes in 1 blocks are still reachable in loss record 28 of 86</text>
    <leakedbytes>32</leakedbytes>
    <leakedblocks>1</leakedblocks>
  </xwhat>
  <stack>
    <frame>
      <ip>0x9F35975</ip>
      <obj>/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so</obj>
      <fn>calloc</fn>
      <dir>/builddir/build/BUILD/valgrind-3.11.0/coregrind/m_replacemalloc</dir>
      <file>vg_replace_malloc.c</file>
      <line>711</line>
    </frame>
    <frame>
      <ip>0xA34861F</ip>
      <obj>/usr/lib64/libdl-2.17.so</obj>
      <fn>_dlerror_run</fn>
    </frame>
    <frame>
      <ip>0xA348050</ip>
      <obj>/usr/lib64/libdl-2.17.so</obj>
      <fn>dlopen@@GLIBC_2.2.5</fn>
    </frame>
    <frame>
      <ip>0x409493</ip>
      <obj>/usr/bin/ceph-mon</obj>
      <fn>__tracepoints__init</fn>
      <dir>/usr/include/lttng</dir>
      <file>tracepoint.h</file>
      <line>281</line>
    </frame>
    <frame>
      <ip>0xC9495C</ip>
      <obj>/usr/bin/ceph-mon</obj>
      <fn>__libc_csu_init</fn>
    </frame>
    <frame>
      <ip>0xD2D7AC4</ip>
      <obj>/usr/lib64/libc-2.17.so</obj>
      <fn>(below main)</fn>
    </frame>
  </stack>
</error>

first saw this on 7ab4c76, wip-sage-testing-20170424a

/a/sage-2017-04-25_02:25:56-rados-wip-sage-testing---basic-smithi/1065854

didn't think it was related to the prs in question so they (mostly) all merged, but in retrospect i may have been wrong about that.

it's not appearing on master, latest is /a/sage-2017-04-25_17:36:45-rados-wip-sage-testing---basic-smithi/1068785

see also http://pulpito.ceph.com/sage-2017-04-25_16:21:58-rados:verify-master---basic-smithi/

History

#1 Updated by Kefu Chai 28 days ago

  • Assignee set to Kefu Chai

#2 Updated by Sage Weil 23 days ago

  • Status changed from New to In Progress
  • Assignee changed from Kefu Chai to Sage Weil

4ed5ab97b2b3dd83bbd3aef3351f2084c8c72558 is the culprit. I'll fix by moving the hackery into ceph-kvstore-tool so that libkv is uncontaminated by ObjectStore/BlueStore.

#3 Updated by Sage Weil 22 days ago

  • Status changed from In Progress to Need Review

#4 Updated by Kefu Chai 22 days ago

  • Status changed from Need Review to Resolved

Also available in: Atom PDF