Bug #71271
closedvalgrind error: Invalid read size 8
0%
Description
It happened on tentacle branch test: /a/skanta-2025-05-09_23:59:10-rados-wip-bharath10-testing-2025-05-08-0549-tentacle-distro-default-smithi/8278717
all mons showing that valgrind error:
<error>
<unique>0x486f</unique>
<tid>20</tid>
<threadname>ms_dispatch</threadname>
<kind>InvalidRead</kind>
<what>Invalid read of size 8</what>
<stack>
<frame>
<ip>0x5F61D0</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>UnknownInlinedFun</fn>
<dir>/usr/include/c++/11</dir>
<file>ostream</file>
<line>171</line>
</frame>
<frame>
<ip>0x5F61D0</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>MgrStatMonitor::calc_pool_availability()</fn>
<dir>/usr/src/debug/ceph-20.0.0-1877.g7c3fbd6e.el9.x86_64/src/mon</dir>
<file>MgrStatMonitor.cc</file>
<line>98</line>
</frame>
<frame>
<ip>0x5F7E07</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>MgrStatMonitor::update_from_paxos(bool*)</fn>
<dir>/usr/src/debug/ceph-20.0.0-1877.g7c3fbd6e.el9.x86_64/src/mon</dir>
<file>MgrStatMonitor.cc</file>
<line>175</line>
</frame>
<frame>
<ip>0x39E9DA</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>Monitor::refresh_from_paxos(bool*)</fn>
<dir>/usr/src/debug/ceph-20.0.0-1877.g7c3fbd6e.el9.x86_64/src/mon</dir>
<file>Monitor.cc</file>
<line>998</line>
</frame>
<frame>
<ip>0x4EC4E5</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>Paxos::do_refresh()</fn>
<dir>/usr/src/debug/ceph-20.0.0-1877.g7c3fbd6e.el9.x86_64/src/mon</dir>
<file>Paxos.cc</file>
<line>1055</line>
</frame>
<frame>
<ip>0x4F7728</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>Paxos::dispatch(boost::intrusive_ptr<MonOpRequest>)</fn>
<dir>/usr/src/debug/ceph-20.0.0-1877.g7c3fbd6e.el9.x86_64/src/mon</dir>
<file>Paxos.cc</file>
<line>1467</line>
</frame>
<frame>
<ip>0x3CD10C</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>Monitor::dispatch_op(boost::intrusive_ptr<MonOpRequest>)</fn>
<dir>/usr/src/debug/ceph-20.0.0-1877.g7c3fbd6e.el9.x86_64/src/mon</dir>
<file>Monitor.cc</file>
<line>4840</line>
</frame>
<frame>
<ip>0x3CDBB0</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>Monitor::_ms_dispatch(Message*)</fn>
<dir>/usr/src/debug/ceph-20.0.0-1877.g7c3fbd6e.el9.x86_64/src/mon</dir>
<file>Monitor.cc</file>
<line>4609</line>
</frame>
<frame>
<ip>0x3809ED</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>UnknownInlinedFun</fn>
<dir>/usr/src/debug/ceph-20.0.0-1877.g7c3fbd6e.el9.x86_64/src/mon</dir>
<file>Monitor.h</file>
<line>974</line>
</frame>
<frame>
<ip>0x3809ED</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>Dispatcher::ms_dispatch2(boost::intrusive_ptr<Message> const&)</fn>
<dir>/usr/src/debug/ceph-20.0.0-1877.g7c3fbd6e.el9.x86_64/src/msg</dir>
<file>Dispatcher.h</file>
<line>149</line>
</frame>
<frame>
<ip>0x4C0681C</ip>
<obj>/usr/lib64/ceph/libceph-common.so.2</obj>
<fn>UnknownInlinedFun</fn>
<dir>/usr/src/debug/ceph-20.0.0-1877.g7c3fbd6e.el9.x86_64/src/msg</dir>
<file>Messenger.h</file>
<line>746</line>
</frame>
<frame>
<ip>0x4C0681C</ip>
<obj>/usr/lib64/ceph/libceph-common.so.2</obj>
<fn>DispatchQueue::entry()</fn>
<dir>/usr/src/debug/ceph-20.0.0-1877.g7c3fbd6e.el9.x86_64/src/msg</dir>
<file>DispatchQueue.cc</file>
<line>202</line>
</frame>
<frame>
<ip>0x4C9E400</ip>
<obj>/usr/lib64/ceph/libceph-common.so.2</obj>
<fn>DispatchQueue::DispatchThread::entry()</fn>
<dir>/usr/src/debug/ceph-20.0.0-1877.g7c3fbd6e.el9.x86_64/src/msg</dir>
<file>DispatchQueue.h</file>
<line>101</line>
</frame>
<frame>
<ip>0x585C3B1</ip>
<obj>/usr/lib64/libc.so.6</obj>
<fn>start_thread</fn>
</frame>
<frame>
<ip>0x58E0723</ip>
<obj>/usr/lib64/libc.so.6</obj>
<fn>clone</fn>
</frame>
</stack>
<auxwhat>Address 0x149797b0 is 32 bytes inside a block of size 128 free'd</auxwhat>
<stack>
<frame>
<ip>0x484AC35</ip>
<obj>/usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so</obj>
<fn>operator delete[](void*, unsigned long)</fn>
<dir>/builddir/build/BUILD/valgrind-3.24.0/coregrind/m_replacemalloc</dir>
<file>vg_replace_malloc.c</file>
<line>1444</line>
</frame>
<frame>
<ip>0x9DFB52</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>UnknownInlinedFun</fn>
<dir>/usr/include/c++/11/ext</dir>
<file>new_allocator.h</file>
<line>145</line>
</frame>
<frame>
<ip>0x9DFB52</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>UnknownInlinedFun</fn>
<dir>/usr/include/c++/11/bits</dir>
<file>allocator.h</file>
<line>199</line>
</frame>
<frame>
<ip>0x9DFB52</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>UnknownInlinedFun</fn>
<dir>/usr/include/c++/11/bits</dir>
<file>alloc_traits.h</file>
<line>496</line>
</frame>
<frame>
<ip>0x9DFB52</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>UnknownInlinedFun</fn>
<dir>/usr/include/c++/11/bits</dir>
<file>stl_tree.h</file>
<line>565</line>
</frame>
<frame>
<ip>0x9DFB52</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>UnknownInlinedFun</fn>
<dir>/usr/include/c++/11/bits</dir>
<file>stl_tree.h</file>
<line>632</line>
</frame>
<frame>
<ip>0x9DFB52</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>UnknownInlinedFun</fn>
<dir>/usr/include/c++/11/bits</dir>
<file>stl_tree.h</file>
<line>2487</line>
</frame>
<frame>
<ip>0x9DFB52</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>UnknownInlinedFun</fn>
<dir>/usr/include/c++/11/bits</dir>
<file>stl_tree.h</file>
<line>2501</line>
</frame>
<frame>
<ip>0x9DFB52</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>std::_Rb_tree<unsigned long, std::pair<unsigned long const, PoolAvailability>, std::_Select1st<std::pair<unsigned long const, PoolAvailability> >, std::less<unsigned long>, std::allocator<std::pair<unsigned long const, PoolAvailability> > >::erase(unsigned long const&) [clone .isra.0]</fn>
<dir>/usr/include/c++/11/bits</dir>
<file>stl_tree.h</file>
<line>2512</line>
</frame>
<frame>
<ip>0x5F60E2</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>UnknownInlinedFun</fn>
<dir>/usr/include/c++/11/bits</dir>
<file>stl_map.h</file>
<line>1069</line>
</frame>
<frame>
<ip>0x5F60E2</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>MgrStatMonitor::calc_pool_availability()</fn>
<dir>/usr/src/debug/ceph-20.0.0-1877.g7c3fbd6e.el9.x86_64/src/mon</dir>
<file>MgrStatMonitor.cc</file>
<line>96</line>
</frame>
<frame>
<ip>0x5F7E07</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>MgrStatMonitor::update_from_paxos(bool*)</fn>
<dir>/usr/src/debug/ceph-20.0.0-1877.g7c3fbd6e.el9.x86_64/src/mon</dir>
<file>MgrStatMonitor.cc</file>
<line>175</line>
</frame>
<frame>
<ip>0x39E9DA</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>Monitor::refresh_from_paxos(bool*)</fn>
<dir>/usr/src/debug/ceph-20.0.0-1877.g7c3fbd6e.el9.x86_64/src/mon</dir>
<file>Monitor.cc</file>
<line>998</line>
</frame>
<frame>
<ip>0x4EC4E5</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>Paxos::do_refresh()</fn>
<dir>/usr/src/debug/ceph-20.0.0-1877.g7c3fbd6e.el9.x86_64/src/mon</dir>
<file>Paxos.cc</file>
<line>1055</line>
</frame>
<frame>
<ip>0x4F7728</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>Paxos::dispatch(boost::intrusive_ptr<MonOpRequest>)</fn>
<dir>/usr/src/debug/ceph-20.0.0-1877.g7c3fbd6e.el9.x86_64/src/mon</dir>
<file>Paxos.cc</file>
<line>1467</line>
</frame>
<frame>
<ip>0x3CD10C</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>Monitor::dispatch_op(boost::intrusive_ptr<MonOpRequest>)</fn>
<dir>/usr/src/debug/ceph-20.0.0-1877.g7c3fbd6e.el9.x86_64/src/mon</dir>
<file>Monitor.cc</file>
<line>4840</line>
</frame>
<frame>
<ip>0x3CDBB0</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>Monitor::_ms_dispatch(Message*)</fn>
<dir>/usr/src/debug/ceph-20.0.0-1877.g7c3fbd6e.el9.x86_64/src/mon</dir>
<file>Monitor.cc</file>
<line>4609</line>
</frame>
<frame>
<ip>0x3809ED</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>UnknownInlinedFun</fn>
<dir>/usr/src/debug/ceph-20.0.0-1877.g7c3fbd6e.el9.x86_64/src/mon</dir>
<file>Monitor.h</file>
<line>974</line>
</frame>
<frame>
<ip>0x3809ED</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>Dispatcher::ms_dispatch2(boost::intrusive_ptr<Message> const&)</fn>
<dir>/usr/src/debug/ceph-20.0.0-1877.g7c3fbd6e.el9.x86_64/src/msg</dir>
<file>Dispatcher.h</file>
<line>149</line>
</frame>
<frame>
<ip>0x4C0681C</ip>
<obj>/usr/lib64/ceph/libceph-common.so.2</obj>
<fn>UnknownInlinedFun</fn>
<dir>/usr/src/debug/ceph-20.0.0-1877.g7c3fbd6e.el9.x86_64/src/msg</dir>
<file>Messenger.h</file>
<line>746</line>
</frame>
<frame>
<ip>0x4C0681C</ip>
<obj>/usr/lib64/ceph/libceph-common.so.2</obj>
<fn>DispatchQueue::entry()</fn>
<dir>/usr/src/debug/ceph-20.0.0-1877.g7c3fbd6e.el9.x86_64/src/msg</dir>
<file>DispatchQueue.cc</file>
<line>202</line>
</frame>
<frame>
<ip>0x4C9E400</ip>
<obj>/usr/lib64/ceph/libceph-common.so.2</obj>
<fn>DispatchQueue::DispatchThread::entry()</fn>
<dir>/usr/src/debug/ceph-20.0.0-1877.g7c3fbd6e.el9.x86_64/src/msg</dir>
<file>DispatchQueue.h</file>
<line>101</line>
</frame>
<frame>
<ip>0x585C3B1</ip>
<obj>/usr/lib64/libc.so.6</obj>
<fn>start_thread</fn>
</frame>
<frame>
<ip>0x58E0723</ip>
<obj>/usr/lib64/libc.so.6</obj>
<fn>clone</fn>
</frame>
</stack>
<auxwhat>Block was alloc'd at</auxwhat>
<stack>
<frame>
<ip>0x4846743</ip>
<obj>/usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so</obj>
<fn>operator new[](unsigned long)</fn>
<dir>/builddir/build/BUILD/valgrind-3.24.0/coregrind/m_replacemalloc</dir>
<file>vg_replace_malloc.c</file>
<line>729</line>
</frame>
<frame>
<ip>0x5F5E56</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>UnknownInlinedFun</fn>
<dir>/usr/include/c++/11/ext</dir>
<file>new_allocator.h</file>
<line>127</line>
</frame>
<frame>
<ip>0x5F5E56</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>UnknownInlinedFun</fn>
<dir>/usr/include/c++/11/bits</dir>
<file>allocator.h</file>
<line>185</line>
</frame>
<frame>
<ip>0x5F5E56</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>UnknownInlinedFun</fn>
<dir>/usr/include/c++/11/bits</dir>
<file>alloc_traits.h</file>
<line>464</line>
</frame>
<frame>
<ip>0x5F5E56</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>UnknownInlinedFun</fn>
<dir>/usr/include/c++/11/bits</dir>
<file>stl_tree.h</file>
<line>561</line>
</frame>
<frame>
<ip>0x5F5E56</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>UnknownInlinedFun</fn>
<dir>/usr/include/c++/11/bits</dir>
<file>stl_tree.h</file>
<line>611</line>
</frame>
<frame>
<ip>0x5F5E56</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>UnknownInlinedFun</fn>
<dir>/usr/include/c++/11/bits</dir>
<file>stl_tree.h</file>
<line>529</line>
</frame>
<frame>
<ip>0x5F5E56</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>UnknownInlinedFun</fn>
<dir>/usr/include/c++/11/bits</dir>
<file>stl_tree.h</file>
<line>1784</line>
</frame>
<frame>
<ip>0x5F5E56</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>UnknownInlinedFun</fn>
<dir>/usr/include/c++/11/bits</dir>
<file>stl_tree.h</file>
<line>2129</line>
</frame>
<frame>
<ip>0x5F5E56</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>UnknownInlinedFun</fn>
<dir>/usr/include/c++/11/bits</dir>
<file>stl_map.h</file>
<line>811</line>
</frame>
<frame>
<ip>0x5F5E56</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>MgrStatMonitor::calc_pool_availability()</fn>
<dir>/usr/src/debug/ceph-20.0.0-1877.g7c3fbd6e.el9.x86_64/src/mon</dir>
<file>MgrStatMonitor.cc</file>
<line>77</line>
</frame>
<frame>
<ip>0x5F7E07</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>MgrStatMonitor::update_from_paxos(bool*)</fn>
<dir>/usr/src/debug/ceph-20.0.0-1877.g7c3fbd6e.el9.x86_64/src/mon</dir>
<file>MgrStatMonitor.cc</file>
<line>175</line>
</frame>
<frame>
<ip>0x39E9DA</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>Monitor::refresh_from_paxos(bool*)</fn>
<dir>/usr/src/debug/ceph-20.0.0-1877.g7c3fbd6e.el9.x86_64/src/mon</dir>
<file>Monitor.cc</file>
<line>998</line>
</frame>
<frame>
<ip>0x4EC4E5</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>Paxos::do_refresh()</fn>
<dir>/usr/src/debug/ceph-20.0.0-1877.g7c3fbd6e.el9.x86_64/src/mon</dir>
<file>Paxos.cc</file>
<line>1055</line>
</frame>
<frame>
<ip>0x4F7728</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>Paxos::dispatch(boost::intrusive_ptr<MonOpRequest>)</fn>
<dir>/usr/src/debug/ceph-20.0.0-1877.g7c3fbd6e.el9.x86_64/src/mon</dir>
<file>Paxos.cc</file>
<line>1467</line>
</frame>
<frame>
<ip>0x3CD10C</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>Monitor::dispatch_op(boost::intrusive_ptr<MonOpRequest>)</fn>
<dir>/usr/src/debug/ceph-20.0.0-1877.g7c3fbd6e.el9.x86_64/src/mon</dir>
<file>Monitor.cc</file>
<line>4840</line>
</frame>
<frame>
<ip>0x3CDBB0</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>Monitor::_ms_dispatch(Message*)</fn>
<dir>/usr/src/debug/ceph-20.0.0-1877.g7c3fbd6e.el9.x86_64/src/mon</dir>
<file>Monitor.cc</file>
<line>4609</line>
</frame>
<frame>
<ip>0x3809ED</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>UnknownInlinedFun</fn>
<dir>/usr/src/debug/ceph-20.0.0-1877.g7c3fbd6e.el9.x86_64/src/mon</dir>
<file>Monitor.h</file>
<line>974</line>
</frame>
<frame>
<ip>0x3809ED</ip>
<obj>/usr/bin/ceph-mon</obj>
<fn>Dispatcher::ms_dispatch2(boost::intrusive_ptr<Message> const&)</fn>
<dir>/usr/src/debug/ceph-20.0.0-1877.g7c3fbd6e.el9.x86_64/src/msg</dir>
<file>Dispatcher.h</file>
<line>149</line>
</frame>
<frame>
<ip>0x4C0681C</ip>
<obj>/usr/lib64/ceph/libceph-common.so.2</obj>
<fn>UnknownInlinedFun</fn>
<dir>/usr/src/debug/ceph-20.0.0-1877.g7c3fbd6e.el9.x86_64/src/msg</dir>
<file>Messenger.h</file>
<line>746</line>
</frame>
<frame>
<ip>0x4C0681C</ip>
<obj>/usr/lib64/ceph/libceph-common.so.2</obj>
<fn>DispatchQueue::entry()</fn>
<dir>/usr/src/debug/ceph-20.0.0-1877.g7c3fbd6e.el9.x86_64/src/msg</dir>
<file>DispatchQueue.cc</file>
<line>202</line>
</frame>
<frame>
<ip>0x4C9E400</ip>
<obj>/usr/lib64/ceph/libceph-common.so.2</obj>
<fn>DispatchQueue::DispatchThread::entry()</fn>
<dir>/usr/src/debug/ceph-20.0.0-1877.g7c3fbd6e.el9.x86_64/src/msg</dir>
<file>DispatchQueue.h</file>
<line>101</line>
</frame>
<frame>
<ip>0x585C3B1</ip>
<obj>/usr/lib64/libc.so.6</obj>
<fn>start_thread</fn>
</frame>
<frame>
<ip>0x58E0723</ip>
<obj>/usr/lib64/libc.so.6</obj>
<fn>clone</fn>
</frame>
</stack>
<suppression>
<sname>insert_a_suppression_name_here</sname>
<skind>Memcheck:Addr8</skind>
<sframe> <fun>UnknownInlinedFun</fun> </sframe>
<sframe> <fun>_ZN14MgrStatMonitor22calc_pool_availabilityEv</fun> </sframe>
<sframe> <fun>_ZN14MgrStatMonitor17update_from_paxosEPb</fun> </sframe>
<sframe> <fun>_ZN7Monitor18refresh_from_paxosEPb</fun> </sframe>
<sframe> <fun>_ZN5Paxos10do_refreshEv</fun> </sframe>
<sframe> <fun>_ZN5Paxos8dispatchEN5boost13intrusive_ptrI12MonOpRequestEE</fun> </sframe>
<sframe> <fun>_ZN7Monitor11dispatch_opEN5boost13intrusive_ptrI12MonOpRequestEE</fun> </sframe>
<sframe> <fun>_ZN7Monitor12_ms_dispatchEP7Message</fun> </sframe>
<sframe> <fun>UnknownInlinedFun</fun> </sframe>
<sframe> <fun>_ZN10Dispatcher12ms_dispatch2ERKN5boost13intrusive_ptrI7MessageEE</fun> </sframe>
<sframe> <fun>UnknownInlinedFun</fun> </sframe>
<sframe> <fun>_ZN13DispatchQueue5entryEv</fun> </sframe>
<sframe> <fun>_ZN13DispatchQueue14DispatchThread5entryEv</fun> </sframe>
<sframe> <fun>start_thread</fun> </sframe>
<sframe> <fun>clone</fun> </sframe>
<rawtext>
<![CDATA[
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:UnknownInlinedFun
fun:_ZN14MgrStatMonitor22calc_pool_availabilityEv
fun:_ZN14MgrStatMonitor17update_from_paxosEPb
fun:_ZN7Monitor18refresh_from_paxosEPb
fun:_ZN5Paxos10do_refreshEv
fun:_ZN5Paxos8dispatchEN5boost13intrusive_ptrI12MonOpRequestEE
fun:_ZN7Monitor11dispatch_opEN5boost13intrusive_ptrI12MonOpRequestEE
fun:_ZN7Monitor12_ms_dispatchEP7Message
fun:UnknownInlinedFun
fun:_ZN10Dispatcher12ms_dispatch2ERKN5boost13intrusive_ptrI7MessageEE
fun:UnknownInlinedFun
fun:_ZN13DispatchQueue5entryEv
fun:_ZN13DispatchQueue14DispatchThread5entryEv
fun:start_thread
fun:clone
}
]]>
</rawtext>
</suppression>
</error>
<suppression>
<sname>insert_a_suppression_name_here</sname>
<skind>Memcheck:Addr8</skind>
<sframe> <fun>UnknownInlinedFun</fun> </sframe>
<sframe> <fun>_ZN14MgrStatMonitor22calc_pool_availabilityEv</fun> </sframe>
<sframe> <fun>_ZN14MgrStatMonitor17update_from_paxosEPb</fun> </sframe>
<sframe> <fun>_ZN7Monitor18refresh_from_paxosEPb</fun> </sframe>
<sframe> <fun>_ZN5Paxos10do_refreshEv</fun> </sframe>
<sframe> <fun>_ZN5Paxos8dispatchEN5boost13intrusive_ptrI12MonOpRequestEE</fun> </sframe>
<sframe> <fun>_ZN7Monitor11dispatch_opEN5boost13intrusive_ptrI12MonOpRequestEE</fun> </sframe>
<sframe> <fun>_ZN7Monitor12_ms_dispatchEP7Message</fun> </sframe>
<sframe> <fun>UnknownInlinedFun</fun> </sframe>
<sframe> <fun>_ZN10Dispatcher12ms_dispatch2ERKN5boost13intrusive_ptrI7MessageEE</fun> </sframe>
<sframe> <fun>UnknownInlinedFun</fun> </sframe>
<sframe> <fun>_ZN13DispatchQueue5entryEv</fun> </sframe>
<sframe> <fun>_ZN13DispatchQueue14DispatchThread5entryEv</fun> </sframe>
<sframe> <fun>start_thread</fun> </sframe>
<sframe> <fun>clone</fun> </sframe>
<rawtext>
<![CDATA[
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:UnknownInlinedFun
fun:_ZN14MgrStatMonitor22calc_pool_availabilityEv
fun:_ZN14MgrStatMonitor17update_from_paxosEPb
fun:_ZN7Monitor18refresh_from_paxosEPb
fun:_ZN5Paxos10do_refreshEv
fun:_ZN5Paxos8dispatchEN5boost13intrusive_ptrI12MonOpRequestEE
fun:_ZN7Monitor11dispatch_opEN5boost13intrusive_ptrI12MonOpRequestEE
fun:_ZN7Monitor12_ms_dispatchEP7Message
fun:UnknownInlinedFun
fun:_ZN10Dispatcher12ms_dispatch2ERKN5boost13intrusive_ptrI7MessageEE
fun:UnknownInlinedFun
fun:_ZN13DispatchQueue5entryEv
fun:_ZN13DispatchQueue14DispatchThread5entryEv
fun:start_thread
fun:clone
}
]]>
</rawtext>
</suppression>
</valgrindoutput>
The code that failed:
if (mon.osdmon()->osdmap.have_pg_pool(poolid)){
// Currently, couldn't find an elegant way to get pool name
pool_availability[poolid].pool_name = mon.osdmon()->osdmap.get_pool_name(poolid);
} else {
pool_availability.erase(poolid);
dout(20) << __func__ << "pool: "
<< poolid << " no longer exists in osdmap! Deleting pool: "
<< poolid << dendl;
continue;
}
it looks like we have some poolid issue and didn't clean up previous vals.
AM Updated by Aishwarya Mathuria over 1 year ago
- Tags set to main-failures
/a/yuriw-2025-05-12_19:14:14-rados-wip-yuri10-testing-2025-05-12-0753-distro-default-smithi/8281552/
NM Updated by Nitzan Mordechai over 1 year ago
- Status changed from New to In Progress
- Assignee set to Nitzan Mordechai
Erasing entries from pool_availability inside a range-for loop invalidates the hidden iterator, leading to “Invalid read” errors under Valgrind
fixing by use std::erase_if(pool_availability, predicate) to atomically remove unwanted entries.
Refactored the remaining loop to use structured bindings for readability.
NM Updated by Nitzan Mordechai over 1 year ago
- Status changed from In Progress to Fix Under Review
- Pull request ID set to 63398
NM Updated by Nitzan Mordechai over 1 year ago
- Related to Bug #71455: valgrind error: InvalidRead MgrStatMonitor::calc_pool_availability() MgrStatMonitor::update_from_paxos(bool*) PaxosService::refresh(bool*) added
LF Updated by Laura Flores over 1 year ago
/a/lflores-2025-05-27_20:19:07-rados-main-distro-default-gibba/8298048
AM Updated by Aishwarya Mathuria over 1 year ago
- Has duplicate Bug #71473: MgrStatMonitor::calc_pool_availability() valgrind error - UnknownInlinedFun added
LF Updated by Laura Flores over 1 year ago
Fix is in QA.
AM Updated by Aishwarya Mathuria over 1 year ago
/a/teuthology-2025-06-01_20:00:15-rados-main-distro-default-smithi/8304082
NM Updated by Nitzan Mordechai over 1 year ago
- Related to Bug #50536: "Command failed (workunit test rados/test.sh)" - rados/test.sh times out along with a test crash (ceph_test_rados_api_misc) on main. added
LF Updated by Laura Flores over 1 year ago
/a/skanta-2025-06-03_11:03:28-rados-wip-bharath1-testing-2025-06-02-2052-distro-default-smithi/8307381
SA Updated by Shraddha Agrawal over 1 year ago
/a/yuriw-2025-05-20_14:56:40-rados-wip-yuri3-testing-2025-05-12-0801-tentacle-distro-default-smithi/8290597/remote/smithi086/log/valgrind
NM Updated by Nitzan Mordechai over 1 year ago
- Backport set to tentacle
AM Updated by Aishwarya Mathuria over 1 year ago
/a/skanta-2025-06-07_23:26:52-rados-wip-bharath5-testing-2025-06-02-2047-distro-default-smithi/8313561
RZ Updated by Radoslaw Zarzynski over 1 year ago
The PR is in the QA. Pinged @Shraddha Agrawal.
NN Updated by Naveen Naidu over 1 year ago
/a/skanta-2025-06-14_23:37:17-rados-wip-bharath3-testing-2025-06-08-1922-distro-default-smithi/8328632
/a/skanta-2025-06-14_23:37:17-rados-wip-bharath3-testing-2025-06-08-1922-distro-default-smithi/8328641
SS Updated by Sridhar Seshasayee over 1 year ago
/a/skanta-2025-06-17_15:42:09-rados-wip-bharath13-testing-2025-06-17-1621-distro-default-smithi/8332680
LF Updated by Laura Flores over 1 year ago
/a/skanta-2025-06-12_09:21:16-rados-wip-bharath2-testing-2025-06-10-0545-distro-default-smithi/8324673
RZ Updated by Radoslaw Zarzynski over 1 year ago
- Status changed from Fix Under Review to Pending Backport
It got merged!
UB Updated by Upkeep Bot over 1 year ago
- Copied to Backport #71799: tentacle: valgrind error: Invalid read size 8 added
UB Updated by Upkeep Bot over 1 year ago
- Tags (freeform) set to backport_processed
NM Updated by Nitzan Mordechai over 1 year ago
- Related to Bug #71762: LeakPossiblyLost valgrind leak in Objecter::start_tick() added
LF Updated by Laura Flores over 1 year ago
/a/skanta-2025-06-03_11:03:28-rados-wip-bharath1-testing-2025-06-02-2052-distro-default-smithi/8307519
- tentacle occurrence
UB Updated by Upkeep Bot over 1 year ago
- Merge Commit set to afd77392750a0772ae3a1c11fb4a5fa046e1da18
- Fixed In set to v20.3.0-1121-gafd77392750
- Upkeep Timestamp set to 2025-07-02T14:30:26+00:00
NN Updated by Naveen Naidu over 1 year ago
/a/teuthology-2025-06-22_20:00:20-rados-main-distro-default-smithi/8340491
Seeing this error on the main nightly run again. Would need investigation to see if the PR linked did fix this issue.
@Nitzan Mordechai for your information ^
UB Updated by Upkeep Bot over 1 year ago
- Fixed In changed from v20.3.0-1121-gafd77392750 to v20.3.0-1121-gafd77392750a
- Upkeep Timestamp changed from 2025-07-02T14:30:26+00:00 to 2025-07-14T15:20:20+00:00
UB Updated by Upkeep Bot over 1 year ago
- Fixed In changed from v20.3.0-1121-gafd77392750a to v20.3.0-1121-gafd7739275
- Upkeep Timestamp changed from 2025-07-14T15:20:20+00:00 to 2025-07-14T20:44:57+00:00
UB Updated by Upkeep Bot 3 months ago
- Status changed from Pending Backport to Backporting
- Tags (freeform) deleted (
backport_processed) - Upkeep Timestamp changed from 2025-07-14T20:44:57+00:00 to 2026-08-27T18:04:11+00:00
UB Updated by Upkeep Bot about 1 month ago
- Released In set to v21.2.0~2663
- Upkeep Timestamp changed from 2026-08-27T18:04:11+00:00 to 2026-10-24T01:06:15+00:00
UB Updated by Upkeep Bot 29 days ago
- Released In changed from v21.2.0~2663 to v21.2.0~2664
- Upkeep Timestamp changed from 2026-10-24T01:06:15+00:00 to 2026-11-04T01:05:34+00:00