Project

General

Profile

Actions

Bug #44882

open

osd: leaked buffer (alloc via CephxAuthorizeHandler::verify_authorizer)

Added by Sage Weil about 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
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,398 (24 direct, 12,374 indirect) bytes in 1 blocks are definitely lost in loss record 42 of 45</text>
    <leakedbytes>12398</leakedbytes>
    <leakedblocks>1</leakedblocks>
  </xwhat>
  <stack>
    <frame>
      <ip>0xA822556</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>0xEF04C6</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>ceph::buffer::v15_2_0::ptr_node::cloner::operator()(ceph::buffer::v15_2_0::ptr_node const&amp;)</fn>
      <dir>/usr/src/debug/ceph-16.0.0-274.gf8f057be76.el8.x86_64/src/common</dir>
      <file>buffer.cc</file>
      <line>2143</line>
    </frame>
    <frame>
      <ip>0x105000E</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>clone_from</fn>
      <dir>/usr/src/debug/ceph-16.0.0-274.gf8f057be76.el8.x86_64/src/include</dir>
      <file>buffer.h</file>
      <line>613</line>
    </frame>
    <frame>
      <ip>0x105000E</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>operator=</fn>
      <dir>/usr/src/debug/ceph-16.0.0-274.gf8f057be76.el8.x86_64/src/include</dir>
      <file>buffer.h</file>
      <line>972</line>
    </frame>
    <frame>
      <ip>0x105000E</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>operator=</fn>
      <dir>/usr/src/debug/ceph-16.0.0-274.gf8f057be76.el8.x86_64/src/include</dir>
      <file>buffer.h</file>
      <line>969</line>
    </frame>
    <frame>
      <ip>0x105000E</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>operator=</fn>
      <dir>/usr/src/debug/ceph-16.0.0-274.gf8f057be76.el8.x86_64/src/auth</dir>
      <file>Auth.h</file>
      <line>64</line>
    </frame>
    <frame>
      <ip>0x105000E</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>CephxAuthorizeHandler::verify_authorizer(ceph::common::CephContext*, KeyStore const&amp;, ceph::buffer::v15_2_0::list const&amp;, unsigned long, ceph::buffer::v15_2_0::list*, EntityName*, unsigned long*, AuthCapsInfo*, CryptoKey*, std::__cxx11::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;*, std::unique_ptr&lt;AuthAuthorizerChallenge, std::default_delete&lt;AuthAuthorizerChallenge&gt; &gt;*)</fn>
      <dir>/usr/src/debug/ceph-16.0.0-274.gf8f057be76.el8.x86_64/src/auth/cephx</dir>
      <file>CephxAuthorizeHandler.cc</file>
      <line>36</line>
    </frame>
    <frame>
      <ip>0xF1D814</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>MonClient::handle_auth_request(Connection*, AuthConnectionMeta*, bool, unsigned int, ceph::buffer::v15_2_0::list const&amp;, ceph::buffer::v15_2_0::list*)</fn>
      <dir>/usr/src/debug/ceph-16.0.0-274.gf8f057be76.el8.x86_64/src/mon</dir>
      <file>MonClient.cc</file>
      <line>1678</line>
    </frame>
    <frame>
      <ip>0x10D0CFA</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>ProtocolV2::_handle_auth_request(ceph::buffer::v15_2_0::list&amp;, bool)</fn>
      <dir>/usr/src/debug/ceph-16.0.0-274.gf8f057be76.el8.x86_64/src/msg/async</dir>
      <file>ProtocolV2.cc</file>
      <line>2217</line>
    </frame>
    <frame>
      <ip>0x10D1945</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>ProtocolV2::handle_auth_request(ceph::buffer::v15_2_0::list&amp;)</fn>
      <dir>/usr/src/debug/ceph-16.0.0-274.gf8f057be76.el8.x86_64/src/msg/async</dir>
      <file>ProtocolV2.cc</file>

/a/sage-2020-03-31_23:26:44-rados-wip-sage3-testing-2020-03-31-1656-distro-basic-smithi/4911315

No data to display

Actions

Also available in: Atom PDF