Project

General

Profile

Bug #15517

msg/simple: PipeConnection leak

Added by Sage Weil almost 8 years ago. Updated about 5 years ago.

Status:
Can't reproduce
Priority:
High
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

  <kind>Leak_DefinitelyLost</kind>
  <xwhat>
    <text>1,022 (360 direct, 662 indirect) bytes in 1 blocks are definitely lost in loss record 91 of 99</text>
    <leakedbytes>1022</leakedbytes>
    <leakedblocks>1</leakedblocks>
  </xwhat>
  <stack>
    <frame>
      <ip>0xACCA0E0</ip>
      <obj>/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so</obj>
      <fn>operator new(unsigned long)</fn>
    </frame>
    <frame>
      <ip>0xBD1D79</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>Pipe::Pipe(SimpleMessenger*, int, PipeConnection*)</fn>
      <dir>/srv/autobuild-ceph/gitbuilder.git/build/out~/ceph-10.1.2-80-g95ee97a/src/msg/simple</dir>
      <file>Pipe.cc</file>
      <line>95</line>
    </frame>
    <frame>
      <ip>0xAC14DC</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>SimpleMessenger::add_accept_pipe(int)</fn>
      <dir>/srv/autobuild-ceph/gitbuilder.git/build/out~/ceph-10.1.2-80-g95ee97a/src/msg/simple</dir>
      <file>SimpleMessenger.cc</file>
      <line>343</line>
    </frame>
    <frame>
      <ip>0xB84CEA</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>Accepter::entry()</fn>
      <dir>/srv/autobuild-ceph/gitbuilder.git/build/out~/ceph-10.1.2-80-g95ee97a/src/msg/simple</dir>
      <file>Accepter.cc</file>
      <line>246</line>
    </frame>
    <frame>
      <ip>0xBB97181</ip>
      <obj>/lib/x86_64-linux-gnu/libpthread-2.19.so</obj>
      <fn>start_thread</fn>
      <dir>/build/eglibc-3GlaMS/eglibc-2.19/nptl</dir>
      <file>pthread_create.c</file>
      <line>312</line>
    </frame>
    <frame>
      <ip>0xDAA647C</ip>
      <obj>/lib/x86_64-linux-gnu/libc-2.19.so</obj>
      <fn>clone</fn>
      <dir>/build/eglibc-3GlaMS/eglibc-2.19/misc/../sysdeps/unix/sysv/linux/x86_64</dir>
      <file>clone.S</file>
      <line>111</line>
    </frame>

/a/sage-2016-04-15_05:22:29-rados-master-distro-basic-smithi/131203

Related issues

Related to Ceph - Bug #13990: Hammer (0.94.3) OSD does not delete old OSD Maps in a timely fashion (maybe at all?) Resolved 12/05/2015
Related to Ceph - Bug #15785: valgrind osd leak Pipe::* Can't reproduce 05/09/2016

History

#1 Updated by Sage Weil almost 8 years ago

  • Subject changed from msg/simple: leak from accepted Pipe() to msg/simple: PipeConnection leak

that's

    connection_state = new PipeConnection(msgr->cct, msgr);

remote/smithi062/log/valgrind/osd.5.log.gz

#2 Updated by Greg Farnum almost 8 years ago

Could the OSD have lost this, rather than the Messenger?

#3 Updated by Kefu Chai almost 8 years ago

  • Related to Bug #13990: Hammer (0.94.3) OSD does not delete old OSD Maps in a timely fashion (maybe at all?) added

#4 Updated by Sage Weil almost 8 years ago

/a/sage-2016-06-11_06:29:35-rados-jewel---basic-smithi/251624

#5 Updated by Loïc Dachary over 7 years ago

  • Related to Bug #15785: valgrind osd leak Pipe::* added

#6 Updated by Samuel Just over 7 years ago

  • Priority changed from Urgent to High

#7 Updated by Samuel Just over 7 years ago

  • Status changed from New to Can't reproduce

#8 Updated by Greg Farnum about 5 years ago

  • Project changed from Ceph to Messengers
  • Category deleted (msgr)

Also available in: Atom PDF