Project

General

Profile

Actions

Bug #43915

open

leaked Session (alloc from OSD::ms_handle_authentication)

Added by Sage Weil over 4 years ago. Updated about 2 years ago.

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

0%

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

Description

  <kind>Leak_DefinitelyLost</kind>
  <xwhat>
    <text>12,718 (624 direct, 12,094 indirect) bytes in 1 blocks are definitely lost in loss record 42 of 45</text>
    <leakedbytes>12718</leakedbytes>
    <leakedblocks>1</leakedblocks>
  </xwhat>
  <stack>
    <frame>
      <ip>0xA80E556</ip>
      <obj>/usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so</obj>
      <fn>operator new(unsigned long)</fn>
      <dir>/builddir/build/BUILD/valgrind-3.15.0/coregrind/m_replacemalloc</dir>
      <file>vg_replace_malloc.c</file>
      <line>344</line>
    </frame>
    <frame>
      <ip>0x6CA120</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>boost::intrusive_ptr&lt;Session&gt; ceph::make_ref&lt;Session, CephContext*&amp;, Connection*&gt;(CephContext*&amp;, Connection*&amp;&amp;) [clone .isra.4674]</fn>
      <dir>/usr/src/debug/ceph-15.0.0-10071.g5b5a3a3.el8.x86_64/src/common</dir>
      <file>ref.h</file>
      <line>26</line>
    </frame>
    <frame>
      <ip>0x6F4626</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>OSD::ms_handle_authentication(Connection*)</fn>
      <dir>/usr/src/debug/ceph-15.0.0-10071.g5b5a3a3.el8.x86_64/src/osd</dir>
      <file>OSD.cc</file>
      <line>7104</line>
    </frame>
    <frame>
      <ip>0xF1BB44</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>MonClient::handle_auth_request(Connection*, AuthConnectionMeta*, bool, unsigned int, ceph::buffer::v14_2_0::list const&amp;, ceph::buffer::v14_2_0::list*)</fn>
      <dir>/usr/src/debug/ceph-15.0.0-10071.g5b5a3a3.el8.x86_64/src/mon</dir>
      <file>MonClient.cc</file>
      <line>1638</line>
    </frame>
    <frame>
      <ip>0x10BC38F</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>ProtocolV2::_handle_auth_request(ceph::buffer::v14_2_0::list&amp;, bool)</fn>
      <dir>/usr/src/debug/ceph-15.0.0-10071.g5b5a3a3.el8.x86_64/src/msg/async</dir>
      <file>ProtocolV2.cc</file>
      <line>2205</line>
    </frame>
    <frame>
      <ip>0x10BCFB5</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>ProtocolV2::handle_auth_request(ceph::buffer::v14_2_0::list&amp;)</fn>
      <dir>/usr/src/debug/ceph-15.0.0-10071.g5b5a3a3.el8.x86_64/src/msg/async</dir>
      <file>ProtocolV2.cc</file>
      <line>2177</line>
    </frame>
    <frame>
      <ip>0x10C5D02</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>ProtocolV2::handle_frame_payload()</fn>
      <dir>/usr/src/debug/ceph-15.0.0-10071.g5b5a3a3.el8.x86_64/src/msg/async</dir>
      <file>ProtocolV2.cc</file>
      <line>1238</line>
    </frame>
    <frame>
      <ip>0x10C5FEF</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>ProtocolV2::handle_read_frame_dispatch()</fn>
      <dir>/usr/src/debug/ceph-15.0.0-10071.g5b5a3a3.el8.x86_64/src/msg/async</dir>
      <file>ProtocolV2.cc</file>
      <line>1150</line>
    </frame>
    <frame>
      <ip>0x10C65C4</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>ProtocolV2::handle_read_frame_epilogue_main(std::unique_ptr&lt;ceph::buffer::v14_2_0::ptr_node, ceph::buffer::v14_2_0::ptr_node::disposer&gt;&amp;&amp;, int)</fn>
      <dir>/usr/src/debug/ceph-15.0.0-10071.g5b5a3a3.el8.x86_64/src/msg/async</dir>
      <file>ProtocolV2.cc</file>
      <line>1376</line>
    </frame>
    <frame>
      <ip>0x10ACD7B</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>ProtocolV2::run_continuation(Ct&lt;ProtocolV2&gt;&amp;)</fn>
      <dir>/usr/src/debug/ceph-15.0.0-10071.g5b5a3a3.el8.x86_64/src/msg/async</dir>
      <file>ProtocolV2.cc</file>
      <line>45</line>
    </frame>
    <frame>
      <ip>0x1083158</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>operator()</fn>
      <dir>/usr/include/c++/8/bits</dir>
      <file>std_function.h</file>
      <line>687</line>
    </frame>
    <frame>
      <ip>0x1083158</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>AsyncConnection::process()</fn>
      <dir>/usr/src/debug/ceph-15.0.0-10071.g5b5a3a3.el8.x86_64/src/msg/async</dir>
      <file>AsyncConnection.cc</file>
      <line>457</line>
    </frame>
...

/a/sage-2020-01-29_20:14:58-rados-wip-sage-testing-2020-01-29-1034-distro-basic-smithi/4718270
Actions

Also available in: Atom PDF