Project

General

Profile

Actions

Bug #52137

closed

Valgrind reports memory "UninitCondition" error.

Added by Sridhar Seshasayee over 2 years ago. Updated over 2 years ago.

Status:
Duplicate
Priority:
Normal
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

/a/yuriw-2021-08-10_20:56:51-rados-wip-yuri-testing-2021-08-10-1139-distro-basic-smithi/6332539

The error was reported on osd.1 and osd.6:


<error>
  <unique>0xf69213</unique>
  <tid>67</tid>
  <threadname>tp_osd_tp</threadname>
  <kind>UninitCondition</kind>
  <what>Conditional jump or move depends on uninitialised value(s)</what>
  <stack>
    <frame>
      <ip>0x1D3D2ACF</ip>
      <obj>/usr/lib64/rados-classes/libcls_rgw.so.1.0.0</obj>
      <fn>rgw_bi_list_op(void*, ceph::buffer::v15_2_0::list*, ceph::buffer::v15_2_0::list*)</fn>
      <dir>/usr/src/debug/ceph-17.0.0-6856.gb53cad87.el8.x86_64/src/cls/rgw</dir>
      <file>cls_rgw.cc</file>
      <line>2912</line>
    </frame>
    <frame>
      <ip>0xEA62A5</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>operator()&lt;int (*)(void*, ceph::buffer::v15_2_0::list*, ceph::buffer::v15_2_0::list*)&gt;</fn>
      <dir>/usr/src/debug/ceph-17.0.0-6856.gb53cad87.el8.x86_64/src/osd</dir>
      <file>ClassHandler.cc</file>
      <line>319</line>
    </frame>
    <frame>
      <ip>0xEA62A5</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>__invoke_impl&lt;void, ClassHandler::ClassMethod::exec(cls_method_context_t, ceph::bufferlist&amp;, ceph::bufferlist&amp;)::&lt;lambda(auto:27)&gt;, int (*&amp;)(void*, ceph::buffer::v15_2_0::list*, ceph::buffer::v15_2_0::list*)&gt;</fn>
      <dir>/usr/include/c++/8/bits</dir>
      <file>invoke.h</file>
      <line>60</line>
    </frame>
    <frame>
      <ip>0xEA62A5</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>__invoke&lt;ClassHandler::ClassMethod::exec(cls_method_context_t, ceph::bufferlist&amp;, ceph::bufferlist&amp;)::&lt;lambda(auto:27)&gt;, int (*&amp;)(void*, ceph::buffer::v15_2_0::list*, ceph::buffer::v15_2_0::list*)&gt;</fn>
      <dir>/usr/include/c++/8/bits</dir>
      <file>invoke.h</file>
      <line>95</line>
    </frame>
    <frame>
      <ip>0xEA62A5</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>std::__detail::__variant::__gen_vtable_impl&lt;std::__detail::__variant::_Multi_array&lt;void (*)(ClassHandler::ClassMethod::exec(void*, ceph::buffer::v15_2_0::list&amp;, ceph::buffer::v15_2_0::list&amp;)::{lambda(auto:1)#1}&amp;&amp;, std::variant&lt;int (*)(void*, ceph::buffer::v15_2_0::list*, std::variant), int (*)(void*, char*, int, int (**)(void*, ceph::buffer::v15_2_0::list*, std::variant), int*)&gt;&amp;)&gt;, std::tuple&lt;std::variant&lt;int (*)(void*, ceph::buffer::v15_2_0::list*, std::variant), int (*)(void*, char*, int, int (**)(void*, ceph::buffer::v15_2_0::list*, std::variant), int*)&gt; &gt;, std::integer_sequence&lt;unsigned long, 0ul&gt; &gt;::__visit_invoke(ClassHandler::ClassMethod::exec(void*, ceph::buffer::v15_2_0::list&amp;, ceph::buffer::v15_2_0::list&amp;)::{lambda(auto:1)#1}, std::variant&lt;int (*)(void*, ceph::buffer::v15_2_0::list*, std::variant), int (*)(void*, char*, int, int (**)(void*, ceph::buffer::v15_2_0::list*, std::variant), int*)&gt;)</fn>
      <dir>/usr/include/c++/8</dir>
      <file>variant</file>
      <line>829</line>
    </frame>
    <frame>
      <ip>0xEA6476</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>visit&lt;ClassHandler::ClassMethod::exec(cls_method_context_t, ceph::bufferlist&amp;, ceph::bufferlist&amp;)::&lt;lambda(auto:27)&gt;, std::variant&lt;int (*)(void*, ceph::buffer::v15_2_0::list*, ceph::buffer::v15_2_0::list*), int (*)(void*, char*, int, char**, int*)&gt;&amp;&gt;</fn>
      <dir>/usr/include/c++/8</dir>
      <file>variant</file>
      <line>1396</line>
    </frame>
    <frame>
      <ip>0xEA6476</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>ClassHandler::ClassMethod::exec(void*, ceph::buffer::v15_2_0::list&amp;, ceph::buffer::v15_2_0::list&amp;)</fn>
      <dir>/usr/src/debug/ceph-17.0.0-6856.gb53cad87.el8.x86_64/src/osd</dir>
      <file>ClassHandler.cc</file>
      <line>315</line>
    </frame>
    <frame>
      <ip>0xF73B95</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>PrimaryLogPG::do_osd_ops(PrimaryLogPG::OpContext*, std::vector&lt;OSDOp, std::allocator&lt;OSDOp&gt; &gt;&amp;)</fn>
      <dir>/usr/src/debug/ceph-17.0.0-6856.gb53cad87.el8.x86_64/src/osd</dir>
      <file>PrimaryLogPG.cc</file>
      <line>6145</line>
    </frame>
    <frame>
      <ip>0xF88A3E</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>PrimaryLogPG::prepare_transaction(PrimaryLogPG::OpContext*)</fn>
      <dir>/usr/src/debug/ceph-17.0.0-6856.gb53cad87.el8.x86_64/src/osd</dir>
      <file>PrimaryLogPG.cc</file>
      <line>8839</line>
    </frame>
    <frame>
      <ip>0xF8CB18</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>PrimaryLogPG::execute_ctx(PrimaryLogPG::OpContext*)</fn>
      <dir>/usr/src/debug/ceph-17.0.0-6856.gb53cad87.el8.x86_64/src/osd</dir>
      <file>PrimaryLogPG.cc</file>
      <line>4178</line>
    </frame>
    <frame>
      <ip>0xF938E9</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>PrimaryLogPG::do_op(boost::intrusive_ptr&lt;OpRequest&gt;&amp;)</fn>
      <dir>/usr/src/debug/ceph-17.0.0-6856.gb53cad87.el8.x86_64/src/osd</dir>
      <file>PrimaryLogPG.cc</file>
      <line>2479</line>
    </frame>
    <frame>
      <ip>0xF9BCD4</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>PrimaryLogPG::do_request(boost::intrusive_ptr&lt;OpRequest&gt;&amp;, ThreadPool::TPHandle&amp;)</fn>
      <dir>/usr/src/debug/ceph-17.0.0-6856.gb53cad87.el8.x86_64/src/osd</dir>
      <file>PrimaryLogPG.cc</file>
      <line>1897</line>
    </frame>
    <frame>
      <ip>0xE027C4</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>OSD::dequeue_op(boost::intrusive_ptr&lt;PG&gt;, boost::intrusive_ptr&lt;OpRequest&gt;, ThreadPool::TPHandle&amp;)</fn>
      <dir>/usr/src/debug/ceph-17.0.0-6856.gb53cad87.el8.x86_64/src/osd</dir>
      <file>OSD.cc</file>
      <line>9965</line>
    </frame>
    <frame>
      <ip>0x10AA892</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>ceph::osd::scheduler::PGOpItem::run(OSD*, OSDShard*, boost::intrusive_ptr&lt;PG&gt;&amp;, ThreadPool::TPHandle&amp;)</fn>
      <dir>/usr/src/debug/ceph-17.0.0-6856.gb53cad87.el8.x86_64/src/osd/scheduler</dir>
      <file>OpSchedulerItem.cc</file>
      <line>32</line>
    </frame>
    <frame>
      <ip>0xE331FC</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>run</fn>
      <dir>/usr/src/debug/ceph-17.0.0-6856.gb53cad87.el8.x86_64/src/osd/scheduler</dir>
      <file>OpSchedulerItem.h</file>
      <line>148</line>
    </frame>
    <frame>
      <ip>0xE331FC</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>OSD::ShardedOpWQ::_process(unsigned int, ceph::heartbeat_handle_d*)</fn>
      <dir>/usr/src/debug/ceph-17.0.0-6856.gb53cad87.el8.x86_64/src/osd</dir>
      <file>OSD.cc</file>
      <line>11236</line>
    </frame>
    <frame>
      <ip>0x156A7FA</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>ShardedThreadPool::shardedthreadpool_worker(unsigned int)</fn>
      <dir>/usr/src/debug/ceph-17.0.0-6856.gb53cad87.el8.x86_64/src/common</dir>
      <file>WorkQueue.cc</file>
      <line>311</line>
    </frame>
    <frame>
      <ip>0x156CD14</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>ShardedThreadPool::WorkThreadSharded::entry()</fn>
      <dir>/usr/src/debug/ceph-17.0.0-6856.gb53cad87.el8.x86_64/src/common</dir>
      <file>WorkQueue.h</file>
      <line>643</line>
    </frame>
    <frame>
      <ip>0x1555B1C</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>Thread::entry_wrapper()</fn>
      <dir>/usr/src/debug/ceph-17.0.0-6856.gb53cad87.el8.x86_64/src/common</dir>
      <file>Thread.cc</file>
      <line>87</line>
    </frame>
    <frame>
      <ip>0x1555B38</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>Thread::_entry_func(void*)</fn>
      <dir>/usr/src/debug/ceph-17.0.0-6856.gb53cad87.el8.x86_64/src/common</dir>
      <file>Thread.cc</file>
      <line>74</line>
    </frame>
    <frame>
      <ip>0x6A7B149</ip>
      <obj>/usr/lib64/libpthread-2.28.so</obj>
      <fn>start_thread</fn>
    </frame>
    <frame>
      <ip>0x7D89F22</ip>
      <obj>/usr/lib64/libc-2.28.so</obj>
      <fn>clone</fn>
    </frame>
  </stack>
</error>


Related issues 1 (0 open1 closed)

Is duplicate of rgw - Bug #52315: rgw: fix bucket index list test errorResolvedJ. Eric Ivancich

Actions
Actions #1

Updated by Neha Ojha over 2 years ago

  • Project changed from RADOS to rgw
Actions #2

Updated by J. Eric Ivancich over 2 years ago

  • Status changed from New to In Progress
  • Assignee set to J. Eric Ivancich
Actions #3

Updated by Neha Ojha over 2 years ago

/a/yuriw-2021-08-26_18:40:53-rados-wip-yuri7-testing-2021-08-26-0841-distro-basic-smithi/6360576/remote/smithi076/log/valgrind

Actions #4

Updated by J. Eric Ivancich over 2 years ago

  • Pull request ID set to 42836
Actions #5

Updated by Aishwarya Mathuria over 2 years ago

/a/yuriw-2021-08-27_21:20:08-rados-wip-yuri2-testing-2021-08-27-1207-distro-basic-smithi/6363991/remote/smithi112/log/valgrind

Actions #6

Updated by Casey Bodley over 2 years ago

  • Is duplicate of Bug #52315: rgw: fix bucket index list test error added
Actions #7

Updated by Casey Bodley over 2 years ago

  • Status changed from In Progress to Duplicate
Actions

Also available in: Atom PDF