Project

General

Profile

Actions

Bug #20085

open

valgrind failure on curl_multi_init

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

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

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

Description

could be a false +ve as well, we do a `curl_mutli_cleanup` in the destructor

<error>
  <unique>0xb8</unique>
  <tid>1</tid>
  <kind>Leak_DefinitelyLost</kind>
  <xwhat>
    <text>540,872 (251,888 direct, 288,984 indirect) bytes in 7 blocks are definitely lost in loss record 185 of 203</text>
    <leakedbytes>540872</leakedbytes>
    <leakedblocks>7</leakedblocks>
  </xwhat>
  <stack>
    <frame>
      <ip>0x4C2CC70</ip>
      <obj>/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so</obj>
      <fn>calloc</fn>
    </frame>
    <frame>
      <ip>0xEA92BE9</ip>
      <obj>/usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4.3.0</obj>
    </frame>
    <frame>
      <ip>0xEAA1BE5</ip>
      <obj>/usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4.3.0</obj>
      <fn>curl_easy_init</fn>
    </frame>
    <frame>
      <ip>0xEAA8510</ip>
      <obj>/usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4.3.0</obj>
    </frame>
    <frame>
      <ip>0x5169195</ip>
      <obj>/usr/lib/librgw.so.2.0.0</obj>
      <fn>RGWHTTPManager::RGWHTTPManager(CephContext*, RGWCompletionManager*)</fn>
      <dir>/build/ceph-10.2.7-312-g8a7442e/src/rgw</dir>
      <file>rgw_http_client.cc</file>
      <line>533</line>
    </frame>
    <frame>
      <ip>0x52BE03C</ip>
      <obj>/usr/lib/librgw.so.2.0.0</obj>
      <fn>RGWRESTStreamRWRequest::RGWRESTStreamRWRequest(CephContext*, char const*, std::string const&amp;, RGWGetDataCB*, std::list&lt;std::pair&lt;std::string, std::string&gt;, std::allocator&lt;std::pair&lt;std::string, std::string&gt; &gt; &gt;*, std::list&lt;std::pair&lt;std::string, std::string&gt;, std::allocator&lt;std::pair&lt;std::string, std::string&gt; &gt; &gt;*)</fn>
      <dir>/build/ceph-10.2.7-312-g8a7442e/src/rgw</dir>
      <file>rgw_rest_client.h</file>
      <line>107</line>
    </frame>
    <frame>
      <ip>0x52BC834</ip>
      <obj>/usr/lib/librgw.so.2.0.0</obj>
      <fn>RGWRESTStreamReadRequest</fn>
      <dir>/build/ceph-10.2.7-312-g8a7442e/src/rgw</dir>
      <file>rgw_rest_client.h</file>
      <line>124</line>
    </frame>
    <frame>
      <ip>0x52BC834</ip>
      <obj>/usr/lib/librgw.so.2.0.0</obj>
      <fn>RGWRESTReadResource::RGWRESTReadResource(RGWRESTConn*, std::string const&amp;, rgw_http_param_pair const*, std::list&lt;std::pair&lt;std::string, std::string&gt;, std::allocator&lt;std::pair&lt;std::string, std::string&gt; &gt; &gt;*, RGWHTTPManager*)</fn>
      <dir>/build/ceph-10.2.7-312-g8a7442e/src/rgw</dir>
      <file>rgw_rest_conn.cc</file>
      <line>227</line>
    </frame>
    <frame>
      <ip>0x51AE20C</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>

Actions #1

Updated by Abhishek Lekshmanan almost 7 years ago

  • Description updated (diff)
Actions

Also available in: Atom PDF