Project

General

Profile

Actions

Bug #13069

closed

mon: many many leaks (MonSession?)

Added by Sage Weil over 8 years ago. Updated over 8 years ago.

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

0%

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

Description

/var/lib/teuthworker/archive/sage-2015-09-11_13:17:43-rados-wip-sage-testing---basic-multi/1050645

my guess is MonSession is the root?

<error>
  <unique>0x162</unique>
  <tid>1</tid>
  <kind>Leak_DefinitelyLost</kind>
  <xwhat>
    <text>572,433 (29,040 direct, 543,393 indirect) bytes in 66 blocks are definitely lost in loss record 355 of 373</text>
    <leakedbytes>572433</leakedbytes>
    <leakedblocks>66</leakedblocks>
  </xwhat>
  <stack>
    <frame>
      <ip>0x4C2B0E0</ip>
      <obj>/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so</obj>
      <fn>operator new(unsigned long)</fn>
    </frame>
    <frame>
      <ip>0x34BF88</ip>
      <obj>/usr/bin/ceph-mon</obj>
      <fn>Monitor::dispatch(std::shared_ptr&lt;MonOpRequest&gt;)</fn>
      <dir>/srv/autobuild-ceph/gitbuilder.git/build/out~/ceph-9.0.3-1712-g140e22c/src/./mon</dir>
      <file>Session.h</file>
      <line>128</line>
    </frame>
    <frame>
      <ip>0x34CAAF</ip>
      <obj>/usr/bin/ceph-mon</obj>
      <fn>Monitor::_ms_dispatch(Message*)</fn>
      <dir>/srv/autobuild-ceph/gitbuilder.git/build/out~/ceph-9.0.3-1712-g140e22c/src/mon</dir>
      <file>Monitor.cc</file>
      <line>3425</line>
    </frame>
    <frame>
      <ip>0x36A9B2</ip>
      <obj>/usr/bin/ceph-mon</obj>
      <fn>Monitor::ms_dispatch(Message*)</fn>
      <dir>/srv/autobuild-ceph/gitbuilder.git/build/out~/ceph-9.0.3-1712-g140e22c/src/mon</dir>
      <file>Monitor.h</file>
      <line>881</line>
    </frame>
    <frame>
      <ip>0x786566</ip>
      <obj>/usr/bin/ceph-mon</obj>
      <fn>Messenger::ms_deliver_dispatch(Message*)</fn>
      <dir>/srv/autobuild-ceph/gitbuilder.git/build/out~/ceph-9.0.3-1712-g140e22c/src/./msg</dir>
      <file>Messenger.h</file>
      <line>568</line>
    </frame>
    <frame>
      <ip>0x6F422B</ip>
      <obj>/usr/bin/ceph-mon</obj>
      <fn>EventCenter::process_events(int)</fn>

Actions #1

Updated by Sage Weil over 8 years ago

  • Subject changed from mon: many many leaks to mon: many many leaks (MonSession?)
  • Description updated (diff)
  • Priority changed from Normal to Urgent
  • Source changed from other to Q/A
Actions #2

Updated by Sage Weil over 8 years ago

I got as far as github.com:liewegas/ceph wip-mon-leaks. We are still leaking MonSession (4 refs worth!).

Actions #3

Updated by Sage Weil over 8 years ago

  • Priority changed from Urgent to Immediate
Actions #4

Updated by Sage Weil over 8 years ago

  • Status changed from New to 12
Actions #5

Updated by Sage Weil over 8 years ago

  • Status changed from 12 to In Progress
Actions #6

Updated by Kefu Chai over 8 years ago

Actions #7

Updated by Sage Weil over 8 years ago

  • Priority changed from Immediate to Urgent
Actions #8

Updated by Sage Weil over 8 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF