Project

General

Profile

Actions

Bug #19778

closed

valgrind leak reported in __tracepoints__init, dlopen

Added by Sage Weil almost 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Immediate
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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/


Related issues 1 (0 open1 closed)

Related to RADOS - Bug #22438: mon: leak in lttng dlopen / __tracepoints__initResolvedKefu Chai12/13/2017

Actions
Actions #1

Updated by Kefu Chai almost 7 years ago

  • Assignee set to Kefu Chai
Actions #2

Updated by Sage Weil almost 7 years 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.

Actions #3

Updated by Sage Weil almost 7 years ago

  • Status changed from In Progress to Fix Under Review
Actions #4

Updated by Kefu Chai almost 7 years ago

  • Status changed from Fix Under Review to Resolved
Actions #5

Updated by Josh Durgin over 6 years ago

  • Related to Bug #22438: mon: leak in lttng dlopen / __tracepoints__init added
Actions #6

Updated by Kefu Chai over 6 years ago

  • Related to Bug #18838: valgrind: Leak_StillReachable in libceph-common __tracepoints__init added
Actions #7

Updated by Kefu Chai over 6 years ago

  • Related to deleted (Bug #18838: valgrind: Leak_StillReachable in libceph-common __tracepoints__init)
Actions

Also available in: Atom PDF