Project

General

Profile

Actions

Bug #55809

open

"Leak_IndirectlyLost" valgrind report on mon.c

Added by Laura Flores almost 2 years ago. Updated 7 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
medium-hanging-fruit
Backport:
pacific,quincy
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

/a/yuriw-2022-05-27_21:59:17-rados-wip-yuri-testing-2022-05-27-0934-distro-default-smithi/6851271/remote/smithi085/log/valgrind/mon.c.log.gz

<error>
  <unique>0x6e2c6a6</unique>
  <tid>1</tid>
  <threadname>ceph-mon</threadname>
  <kind>Leak_IndirectlyLost</kind>
  <xwhat>
    <text>48 bytes in 2 blocks are indirectly lost in loss record 10 of 52</text>
    <leakedbytes>48</leakedbytes>
    <leakedblocks>2</leakedblocks>
  </xwhat>
  <stack>
    <frame>
      <ip>0x4C38B6F</ip>
      <obj>/usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so</obj>
      <fn>operator new[](unsigned long)</fn>
      <dir>/builddir/build/BUILD/valgrind-3.19.0/coregrind/m_replacemalloc</dir>
      <file>vg_replace_malloc.c</file>
      <line>640</line>
    </frame>
    <frame>
      <ip>0x54AE36B</ip>
      <obj>/usr/lib64/ceph/libceph-common.so.2</obj>
      <fn>ceph::buffer::v15_2_0::ptr_node::create_hypercombined(ceph::unique_leakable_ptr&lt;ceph::buffer::v15_2_0::raw&gt;)</fn>
      <dir>/usr/src/debug/ceph-17.0.0-12503.ga847be1e.el8.x86_64/src/common</dir>
      <file>buffer.cc</file>
      <line>2264</line>
    </frame>
    <frame>
      <ip>0x5452611</ip>
      <obj>/usr/lib64/ceph/libceph-common.so.2</obj>
      <fn>create</fn>
      <dir>/usr/src/debug/ceph-17.0.0-12503.ga847be1e.el8.x86_64/src/include</dir>
      <file>buffer.h</file>
      <line>377</line>
    </frame>
    <frame>
      <ip>0x5452611</ip>
      <obj>/usr/lib64/ceph/libceph-common.so.2</obj>
      <fn>ProtocolV2::read_frame_segment()</fn>
      <dir>/usr/src/debug/ceph-17.0.0-12503.ga847be1e.el8.x86_64/src/msg/async</dir>
      <file>ProtocolV2.cc</file>
      <line>1189</line>
    </frame>
    <frame>
      <ip>0x5452AF7</ip>
      <obj>/usr/lib64/ceph/libceph-common.so.2</obj>
      <fn>ProtocolV2::handle_read_frame_preamble_main(std::unique_ptr&lt;ceph::buffer::v15_2_0::ptr_node, ceph::buffer::v15_2_0::ptr_node::disposer&gt;&amp;&amp;, int)</fn>
      <dir>/usr/src/debug/ceph-17.0.0-12503.ga847be1e.el8.x86_64/src/msg/async</dir>
      <file>ProtocolV2.cc</file>
      <line>1132</line>
    </frame>
    <frame>
      <ip>0x543B09B</ip>
      <obj>/usr/lib64/ceph/libceph-common.so.2</obj>
      <fn>ProtocolV2::run_continuation(Ct&lt;ProtocolV2&gt;&amp;)</fn>
      <dir>/usr/src/debug/ceph-17.0.0-12503.ga847be1e.el8.x86_64/src/msg/async</dir>
      <file>ProtocolV2.cc</file>
      <line>49</line>
    </frame>
    <frame>
      <ip>0x543B27E</ip>
      <obj>/usr/lib64/ceph/libceph-common.so.2</obj>
      <fn>ProtocolV2::read_event()</fn>
      <dir>/usr/src/debug/ceph-17.0.0-12503.ga847be1e.el8.x86_64/src/msg/async</dir>
      <file>ProtocolV2.cc</file>
      <line>485</line>
    </frame>
    <frame>
      <ip>0x54013FB</ip>
      <obj>/usr/lib64/ceph/libceph-common.so.2</obj>
      <fn>AsyncConnection::process()</fn>
      <dir>/usr/src/debug/ceph-17.0.0-12503.ga847be1e.el8.x86_64/src/msg/async</dir>
      <file>AsyncConnection.cc</file>
      <line>475</line>
    </frame>
    <frame>
      <ip>0x5461EB9</ip>
      <obj>/usr/lib64/ceph/libceph-common.so.2</obj>
      <fn>EventCenter::process_events(unsigned int, std::chrono::duration&lt;unsigned long, std::ratio&lt;1l, 1000000000l&gt; &gt;*)</fn>
      <dir>/usr/src/debug/ceph-17.0.0-12503.ga847be1e.el8.x86_64/src/msg/async</dir>
      <file>Event.cc</file>
      <line>449</line>
    </frame>
    <frame>
      <ip>0x546903D</ip>
      <obj>/usr/lib64/ceph/libceph-common.so.2</obj>
      <fn>operator()</fn>
      <dir>/usr/src/debug/ceph-17.0.0-12503.ga847be1e.el8.x86_64/src/msg/async</dir>
      <file>Stack.cc</file>
      <line>50</line>
    </frame>
    <frame>
      <ip>0x546903D</ip>
      <obj>/usr/lib64/ceph/libceph-common.so.2</obj>
      <fn>std::_Function_handler&lt;void (), NetworkStack::add_thread(Worker*)::{lambda()#1}&gt;::_M_invoke(std::_Any_data const&amp;)</fn>
      <dir>/usr/include/c++/8/bits</dir>
      <file>std_function.h</file>
      <line>297</line>
    </frame>
    <frame>
      <ip>0x81F8BA2</ip>
      <obj>/usr/lib64/libstdc++.so.6.0.25</obj>
    </frame>
    <frame>
      <ip>0x784C1C9</ip>
      <obj>/usr/lib64/libpthread-2.28.so</obj>
      <fn>start_thread</fn>
    </frame>
    <frame>
      <ip>0x8A9ED82</ip>
      <obj>/usr/lib64/libc-2.28.so</obj>
      <fn>clone</fn>
    </frame>
  </stack>
</error>


Related issues 3 (2 open1 closed)

Related to Ceph - Bug #54603: Valgrind reports memory "Leak_IndirectlyLost" errors on ceph-mon in "buffer::ptr_node::create_hypercombined".New

Actions
Related to RADOS - Bug #58739: "Leak_IndirectlyLost" valgrind report on mon.aNew

Actions
Has duplicate RADOS - Bug #53767: qa/workunits/cls/test_cls_2pc_queue.sh: killing an osd during thrashing causes timeoutDuplicate

Actions
Actions

Also available in: Atom PDF