Project

General

Profile

Backport #20088

valgrind reports leak in RGWRemoteMetadataCR

Added by Abhishek Lekshmanan almost 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Normal
Target version:
Release:
jewel
Crash signature (v1):
Crash signature (v2):

History

#2 Updated by Nathan Cutler almost 7 years ago

  • Tracker changed from Bug to Backport
  • Status changed from New to In Progress
  • Assignee set to Abhishek Lekshmanan
  • Release set to jewel

#3 Updated by Nathan Cutler almost 7 years ago

  • Status changed from In Progress to Resolved
  • Target version set to v10.2.8

#4 Updated by Nathan Cutler almost 7 years ago

Note the master commit is already in kraken:

$ git branch --contains 73e5be2b61 | grep '^\s*kraken'
  kraken

#5 Updated by Nathan Cutler almost 7 years ago

  • Description updated (diff)

original description

similar leak report on RGWReadRemoteMDLogShardInfoCR as well

<error>
  <unique>0xc2</unique>
  <tid>1</tid>
  <kind>Leak_DefinitelyLost</kind>
  <xwhat>
    <text>3,196,292 (51,600 direct, 3,144,692 indirect) bytes in 43 blocks are definitely lost in loss record 195 of 203</text>
    <leakedbytes>3196292</leakedbytes>
    <leakedblocks>43</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>0x51AE1E6</ip>
      <obj>/usr/lib/librgw.so.2.0.0</obj>
      <fn>RGWReadRemoteMetadataCR::operate()</fn>
      <dir>/build/ceph-10.2.7-312-g8a7442e/src/rgw</dir>
      <file>rgw_sync.cc</file>
      <line>938</line>
    </frame>
    <frame>
      <ip>0x510DECA</ip>
      <obj>/usr/lib/librgw.so.2.0.0</obj>
      <fn>RGWCoroutinesStack::operate(RGWCoroutinesEnv*)</fn>
      <dir>/build/ceph-10.2.7-312-g8a7442e/src/rgw</dir>
      <file>rgw_coroutine.cc</file>
      <line>184</line>
    </frame>
    <frame>
      <ip>0x51107C9</ip>
      <obj>/usr/lib/librgw.so.2.0.0</obj>
      <fn>RGWCoroutinesManager::run(std::list&lt;RGWCoroutinesStack*, std::allocator&lt;RGWCoroutinesStack*&gt; &gt;&amp;)</fn>
      <dir>/build/ceph-10.2.7-312-g8a7442e/src/rgw</dir>
      <file>rgw_coroutine.cc</file>
      <line>474</line>
    </frame>
    <frame>
      <ip>0x51112DC</ip>
      <obj>/usr/lib/librgw.so.2.0.0</obj>
      <fn>RGWCoroutinesManager::run(RGWCoroutine*)</fn>
      <dir>/build/ceph-10.2.7-312-g8a7442e/src/rgw</dir>
      <file>rgw_coroutine.cc</file>
      <line>600</line>
    </frame>
    <frame>
      <ip>0x51A8AC2</ip>
      <obj>/usr/lib/librgw.so.2.0.0</obj>
      <fn>RGWRemoteMetaLog::run_sync()</fn>
      <dir>/build/ceph-10.2.7-312-g8a7442e/src/rgw</dir>
      <file>rgw_sync.cc</file>
      <line>2006</line>
    </frame>
    <frame>
      <ip>0x528136C</ip>
      <obj>/usr/lib/librgw.so.2.0.0</obj>
      <fn>run</fn>
      <dir>/build/ceph-10.2.7-312-g8a7442e/src/rgw</dir>
      <file>rgw_sync.h</file>
      <line>278</line>
    </frame>
    <frame>
      <ip>0x528136C</ip>
      <obj>/usr/lib/librgw.so.2.0.0</obj>
      <fn>RGWMetaSyncProcessorThread::process()</fn>
      <dir>/build/ceph-10.2.7-312-g8a7442e/src/rgw</dir>
      <file>rgw_rados.cc</file>
      <line>2964</line>
    </frame>
    <frame>
      <ip>0x5225230</ip>
      <obj>/usr/lib/librgw.so.2.0.0</obj>
      <fn>RGWRadosThread::Worker::entry()</fn>
      <dir>/build/ceph-10.2.7-312-g8a7442e/src/rgw</dir>
      <file>rgw_rados.cc</file>
      <line>2821</line>
    </frame>
    <frame>
      <ip>0xF0F2183</ip>
      <obj>/lib/x86_64-linux-gnu/libpthread-2.19.so</obj>
      <fn>start_thread</fn>
      <dir>/build/eglibc-oGUzwX/eglibc-2.19/nptl</dir>
      <file>pthread_create.c</file>
      <line>312</line>
    </frame>
    <frame>
      <ip>0xF91C37C</ip>
      <obj>/lib/x86_64-linux-gnu/libc-2.19.so</obj>
      <fn>clone</fn>
      <dir>/build/eglibc-oGUzwX/eglibc-2.19/misc/../sysdeps/unix/sysv/linux/x86_64</dir>
      <file>clone.S</file>
      <line>111</line>
    </frame>
  </stack>
</error>

Also available in: Atom PDF