Project

General

Profile

Bug #38320

leak in OSD::ms_handle_authentication()

Added by Kefu Chai about 5 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
Correctness/Safety
Target version:
-
% Done:

0%

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

Description

<error>
  <unique>0x5e</unique>
  <tid>1</tid>
  <kind>Leak_DefinitelyLost</kind>
  <xwhat>
    <text>17,144 (488 direct, 16,656 indirect) bytes in 1 blocks are definitely lost in loss record 95 of 109</text>
    <leakedbytes>17144</leakedbytes>
    <leakedblocks>1</leakedblocks>
  </xwhat>
  <stack>
    <frame>
      <ip>0xA887243</ip>
      <obj>/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so</obj>
      <fn>operator new(unsigned long)</fn>
      <dir>/builddir/build/BUILD/valgrind-3.13.0/coregrind/m_replacemalloc</dir>
      <file>vg_replace_malloc.c</file>
      <line>334</line>
    </frame>
    <frame>
      <ip>0x6A44C1</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>OSD::ms_handle_authentication(Connection*)</fn>
      <dir>/usr/src/debug/ceph-14.0.1-3695-g9229f1d/src/osd</dir>
      <file>OSD.cc</file>
      <line>7229</line>
    </frame>
    <frame>
      <ip>0xEA6273</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>MonClient::handle_auth_request(Connection*, AuthConnectionMeta*, bool, unsigned int, ceph::buffer::list const&amp;, ceph::buffer::list*)</fn>
      <dir>/usr/src/debug/ceph-14.0.1-3695-g9229f1d/src/mon</dir>
      <file>MonClient.cc</file>
      <line>1431</line>
    </frame>
,,,
  <stack>
    <frame>
      <ip>0xA887243</ip>
      <obj>/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so</obj>
      <fn>operator new(unsigned long)</fn>
      <dir>/builddir/build/BUILD/valgrind-3.13.0/coregrind/m_replacemalloc</dir>
      <file>vg_replace_malloc.c</file>
      <line>334</line>
    </frame>
    <frame>
      <ip>0xE7C97B</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>ceph::buffer::ptr_node::cloner::operator()(ceph::buffer::ptr_node const&amp;)</fn>
      <dir>/usr/src/debug/ceph-14.0.1-3695-g9229f1d/src/common</dir>
      <file>buffer.cc</file>
      <line>2213</line>
    </frame>
    <frame>
      <ip>0xFC2822</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>CephxAuthorizeHandler::verify_authorizer(CephContext*, KeyStore*, ceph::buffer::list const&amp;, unsigned long, ceph::buffer::list*, EntityName*, unsigned long*, AuthCapsInfo*, CryptoKey*, std::string*, std::unique_ptr&lt;AuthAuthorizerChallenge, std::default_delete&lt;AuthAuthorizerChallenge&gt; &gt;*)</fn>
      <dir>/usr/src/debug/ceph-14.0.1-3695-g9229f1d/src/include</dir>
      <file>buffer.h</file>
      <line>643</line>
    </frame>
    <frame>
      <ip>0xEA5FBA</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>MonClient::handle_auth_request(Connection*, AuthConnectionMeta*, bool, unsigned int, ceph::buffer::list const&amp;, ceph::buffer::list*)</fn>
      <dir>/usr/src/debug/ceph-14.0.1-3695-g9229f1d/src/mon</dir>
      <file>MonClient.cc</file>
      <line>1429</line>
    </frame>
    <frame>
      <ip>0xA887243</ip>
      <obj>/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so</obj>
      <fn>operator new(unsigned long)</fn>
      <dir>/builddir/build/BUILD/valgrind-3.13.0/coregrind/m_replacemalloc</dir>
      <file>vg_replace_malloc.c</file>
      <line>334</line>
    </frame>
    <frame>
      <ip>0x1019789</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>AsyncConnection::AsyncConnection(CephContext*, AsyncMessenger*, DispatchQueue*, Worker*, bool, bool)</fn>
      <dir>/opt/rh/devtoolset-7/root/usr/include/c++/7/ext</dir>
      <file>new_allocator.h</file>
      <line>111</line>
    </frame>
    <frame>
      <ip>0xE5A9C7</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>AsyncMessenger::add_accept(Worker*, ConnectedSocket, entity_addr_t const&amp;, entity_addr_t const&amp;)</fn>
      <dir>/usr/src/debug/ceph-14.0.1-3695-g9229f1d/src/msg/async</dir>
      <file>AsyncMessenger.cc</file>
      <line>562</line>
    </frame>
    <frame>
      <ip>0xE5AC28</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>Processor::accept()</fn>
      <dir>/usr/src/debug/ceph-14.0.1-3695-g9229f1d/src/msg/async</dir>
      <file>AsyncMessenger.cc</file>
      <line>191</line>
    </frame>

and more

/a/kchai-2019-02-14_06:27:37-rados-wip-kefu2-testing-2019-02-14-1156-distro-basic-smithi/3590587/remote/*/log/valgrind/osd.4.log.gz

History

#1 Updated by Sage Weil about 5 years ago

  • Status changed from New to In Progress
  • Assignee set to Sage Weil

#2 Updated by Sage Weil about 5 years ago

  • Status changed from In Progress to Resolved

Also available in: Atom PDF