Project

General

Profile

Bug #43915

leaked Session (alloc from OSD::ms_handle_authentication)

Added by Sage Weil about 4 years ago. Updated almost 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

History

#1 Updated by Deepika Upadhyay over 3 years ago

  • Related to Bug #47440: nautilus: valgrind caught leak in Messenger::ms_deliver_verify_authorizer added

#2 Updated by Neha Ojha over 3 years ago

  • Related to deleted (Bug #47440: nautilus: valgrind caught leak in Messenger::ms_deliver_verify_authorizer)

#3 Updated by Neha Ojha over 3 years ago

  • Status changed from New to Can't reproduce

#4 Updated by Deepika Upadhyay almost 3 years ago

remote/*/log/valgrind/osd.6.log.gz

   <frame>
      <ip>0x6B7F69</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>OSD::ms_handle_authentication(Connection*)</fn>
      <dir>/usr/src/debug/ceph-14.2.21-257-gfce0bffa/src/osd</dir>
      <file>OSD.cc</file>
      <line>7633</line>
    </frame>
    <frame>
      <ip>0xE0840D</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>Messenger::ms_deliver_verify_authorizer(Connection*, int, int, ceph::buffer::v14_2_0::list&amp;, ceph::buffer::v14_2_0::list&amp;, bool&amp;, CryptoKey&amp;, std::string*, std::unique_ptr&lt;AuthAuthorizerChallenge, std::default_delete&lt;AuthAuthorizerChallenge&gt; &gt;*)</fn>
      <dir>/usr/src/debug/ceph-14.2.21-257-gfce0bffa/src/msg</dir>
      <file>Messenger.cc</file>
      <line>160</line>
    </frame>
    <frame>
      <ip>0xFCA664</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>Pipe::accept()</fn>
      <dir>/usr/src/debug/ceph-14.2.21-257-gfce0bffa/src/msg/simple</dir>
      <file>Pipe.cc</file>
      <line>527</line>
    </frame>
    <frame>
      <ip>0xFD135F</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>Pipe::reader()</fn>
      <dir>/usr/src/debug/ceph-14.2.21-257-gfce0bffa/src/msg/simple</dir>
      <file>Pipe.cc</file>
      <line>1656</line>
    </frame>
    <frame>
      <ip>0xFD32DC</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>Pipe::Reader::entry()</fn>

http://qa-proxy.ceph.com/teuthology/yuriw-2021-05-25_18:52:10-rados-wip-yuri-testing-2021-05-25-0847-nautilus-distro-basic-smithi/6134350/teuthology.log

#5 Updated by Neha Ojha almost 2 years ago

  • Status changed from Can't reproduce to New
  • Priority changed from High to Normal

/a//yuriw-2022-03-14_18:49:17-rados-wip-yuri2-testing-2022-03-14-0946-quincy-distro-default-smithi/6736781/remote/smithi067/log/valgrind/osd.2.log.gz

#6 Updated by Radoslaw Zarzynski almost 2 years ago

  • Assignee set to Radoslaw Zarzynski

Also available in: Atom PDF