Project

General

Profile

Actions

Bug #53575

closed
LF NM

Valgrind reports memory "Leak_PossiblyLost" errors concerning lib64

Bug #53575: Valgrind reports memory "Leak_PossiblyLost" errors concerning lib64

Added by Laura Flores almost 5 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Tags (freeform):
Fixed In:
v18.0.0-1508-ga55987be80
Released In:
v18.2.0~799
Upkeep Timestamp:
2025-07-14T15:49:54+00:00

Description

Found in /a/yuriw-2021-12-09_00:18:57-rados-wip-yuri-testing-2021-12-08-1336-distro-default-smithi/6553724

The following is a report from /ceph/teuthology-archive/yuriw-2021-12-09_00:18:57-rados-wip-yuri-testing-2021-12-08-1336-distro-default-smithi/6553724/remote/smithi179/log/valgrind/osd.0.log.gz:

<error>
  <unique>0x281c0eb</unique>
  <tid>1</tid>
  <kind>Leak_PossiblyLost</kind>
  <xwhat>
    <text>32 bytes in 1 blocks are possibly lost in loss record 269 of 696</text>
    <leakedbytes>32</leakedbytes>
    <leakedblocks>1</leakedblocks>
  </xwhat>
  <stack>
    <frame>
      <ip>0x4C3721A</ip>
      <obj>/usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so</obj>
      <fn>calloc</fn>
      <dir>/builddir/build/BUILD/valgrind-3.16.0/coregrind/m_replacemalloc</dir>
      <file>vg_replace_malloc.c</file>
      <line>760</line>
    </frame>
    <frame>
      <ip>0x870D685</ip>
      <obj>/usr/lib64/libnl-3.so.200.26.0</obj>
      <fn>__trans_list_add</fn>
    </frame>
    <frame>
      <ip>0x848FD4C</ip>
      <obj>/usr/lib64/libnl-route-3.so.200.26.0</obj>
    </frame>
    <frame>
      <ip>0x400F8B9</ip>
      <obj>/usr/lib64/ld-2.28.so</obj>
      <fn>call_init.part.0</fn>
    </frame>
    <frame>
      <ip>0x400F9B9</ip>
      <obj>/usr/lib64/ld-2.28.so</obj>
      <fn>_dl_init</fn>
    </frame>
    <frame>
      <ip>0x4000FD9</ip>
      <obj>/usr/lib64/ld-2.28.so</obj>
    </frame>
    <frame>
      <ip>0x5</ip>
    </frame>
    <frame>
      <ip>0x1FFF000C1E</ip>
    </frame>
    <frame>
      <ip>0x1FFF000C27</ip>
    </frame>
    <frame>
      <ip>0x1FFF000C2A</ip>
    </frame>
    <frame>
      <ip>0x1FFF000C34</ip>
    </frame>
    <frame>
      <ip>0x1FFF000C39</ip>
    </frame>
    <frame>
      <ip>0x1FFF000C3C</ip>
    </frame>
  </stack>
</error>

Related issues 3 (1 open — 2 closed)

Related to RADOS - Bug #57751: LibRadosAio.SimpleWritePP hang and pkillResolvedNitzan Mordechai

Actions
Related to RADOS - Bug #57618: rados/test.sh hang and pkilled (LibRadosWatchNotifyEC.WatchNotify)ResolvedNitzan Mordechai

Actions
Related to CephFS - Bug #63233: mon|client|mds: valgrind reports possible leaks in the MDSNewRishabh Dave

Actions

NO Updated by Neha Ojha almost 5 years ago Actions #1

  • Status changed from New to Rejected

We could suppress this but since it is not coming from the Ceph code, rejecting it.

LF Updated by Laura Flores about 4 years ago Actions #2

Found a similar instance here:

/a/lflores-2022-09-30_21:47:41-rados-wip-lflores-testing-distro-default-smithi/7050789

<error>
  <unique>0x1e49c46</unique>
  <tid>1</tid>
  <kind>Leak_PossiblyLost</kind>
  <xwhat>
    <text>32 bytes in 1 blocks are possibly lost in loss record 434 of 1,263</text>
    <leakedbytes>32</leakedbytes>
    <leakedblocks>1</leakedblocks>
  </xwhat>
  <stack>
    <frame>
      <ip>0x4C3BE4B</ip>
      <obj>/usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so</obj>
      <fn>calloc</fn>
      <dir>/builddir/build/BUILD/valgrind-3.19.0/coregrind/m_replacemalloc</dir>
      <file>vg_replace_malloc.c</file>
      <line>1328</line>
    </frame>
    <frame>
      <ip>0xA9976E5</ip>
      <obj>/usr/lib64/libnl-3.so.200.26.0</obj>
      <fn>__trans_list_add</fn>
    </frame>
    <frame>
      <ip>0xA7102AC</ip>
      <obj>/usr/lib64/libnl-route-3.so.200.26.0</obj>
    </frame>
    <frame>
      <ip>0x4009059</ip>
      <obj>/usr/lib64/ld-2.28.so</obj>
      <fn>call_init.part.0</fn>
      <dir>/usr/src/debug/glibc-2.28-211.el8.x86_64/elf</dir>
      <file>dl-init.c</file>
      <line>72</line>
    </frame>
    <frame>
      <ip>0x4009159</ip>
      <obj>/usr/lib64/ld-2.28.so</obj>
      <fn>call_init</fn>
      <dir>/usr/src/debug/glibc-2.28-211.el8.x86_64/elf</dir>
      <file>dl-init.c</file>
      <line>118</line>
    </frame>
    <frame>
      <ip>0x4009159</ip>
      <obj>/usr/lib64/ld-2.28.so</obj>
      <fn>_dl_init</fn>
      <dir>/usr/src/debug/glibc-2.28-211.el8.x86_64/elf</dir>
      <file>dl-init.c</file>
      <line>119</line>
    </frame>
    <frame>
      <ip>0x401D989</ip>
      <obj>/usr/lib64/ld-2.28.so</obj>
    </frame>
    <frame>
      <ip>0x5</ip>
    </frame>
    <frame>
      <ip>0x1FFF000C1E</ip>
    </frame>
    <frame>
      <ip>0x1FFF000C27</ip>
    </frame>
    <frame>
      <ip>0x1FFF000C2A</ip>
    </frame>
    <frame>
      <ip>0x1FFF000C34</ip>
    </frame>
    <frame>
      <ip>0x1FFF000C39</ip>
    </frame>
    <frame>
      <ip>0x1FFF000C3C</ip>
    </frame>
  </stack>
</error>

NM Updated by Nitzan Mordechai about 4 years ago Actions #3

  • Related to Bug #57751: LibRadosAio.SimpleWritePP hang and pkill added

NM Updated by Nitzan Mordechai about 4 years ago Actions #4

  • Pull request ID set to 48641

NM Updated by Nitzan Mordechai about 4 years ago Actions #5

  • Related to Bug #57618: rados/test.sh hang and pkilled (LibRadosWatchNotifyEC.WatchNotify) added

LF Updated by Laura Flores almost 4 years ago Actions #7

  • Status changed from Rejected to Resolved

LF Updated by Laura Flores over 3 years ago Actions #8

  • Tags set to test-failure

/a/yuriw-2023-04-25_14:15:40-rados-pacific-release-distro-default-smithi/7251534

LF Updated by Laura Flores over 3 years ago Actions #9

  • Status changed from Resolved to New
  • Backport set to quincy,pacific

NM Updated by Nitzan Mordechai over 3 years ago Actions #10

Laura, the original PR was for quincy. And the related tracker https://tracker.ceph.com/issues/57618 already have backport new trackers (yesterday) so i'll change the status to In progress for that tracker as well and continue with the exists backport trackers

NM Updated by Nitzan Mordechai over 3 years ago Actions #11

  • Status changed from New to In Progress
  • Backport changed from quincy,pacific to pacific

NM Updated by Nitzan Mordechai over 3 years ago Actions #12

  • Assignee set to Nitzan Mordechai

LF Updated by Laura Flores over 3 years ago Actions #13

Thanks Nitzan!

RZ Updated by Radoslaw Zarzynski over 3 years ago Actions #14

Sounds like a missed backport. Please correct me if I'm wrong.

LF Updated by Laura Flores over 3 years ago Actions #15

Radoslaw Zarzynski wrote:

Sounds like a missed backport. Please correct me if I'm wrong.

That's my understanding as well.

LF Updated by Laura Flores over 3 years ago Actions #16

RZ Updated by Radoslaw Zarzynski over 3 years ago Actions #17

  • Status changed from In Progress to Resolved

Closing this as the last-mention PR got duplicated by https://github.com/ceph/ceph/pull/51341 and duplicate has been merge.

LF Updated by Laura Flores about 3 years ago Actions #18

  • Related to Bug #63233: mon|client|mds: valgrind reports possible leaks in the MDS added

LF Updated by Laura Flores over 2 years ago Actions #19

/a/yuriw-2024-08-27_15:37:27-rados-wip-yuri2-testing-2024-08-26-1032-quincy-distro-default-smithi/7875787

NM Updated by Nitzan Mordechai about 2 years ago Actions #20

Laura Flores wrote in #note-19:

/a/yuriw-2024-08-27_15:37:27-rados-wip-yuri2-testing-2024-08-26-1032-quincy-distro-default-smithi/7875787

the valgrind error is a bit different, I think we should have new tracker for it

UB Updated by Upkeep Bot over 1 year ago Actions #21

  • Merge Commit set to a55987be8044c84718beac942f4f1582012f2964
  • Fixed In set to v18.0.0-1508-ga55987be80
  • Released In set to v18.2.0~799
  • Upkeep Timestamp set to 2025-07-14T15:49:54+00:00
Actions

Also available in: PDF Atom