Actions
Bug #58801
closedquincy: msgr: valgrind reports uninitialized memory
% 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
This was found in an rgw teuthology run: http://qa-proxy.ceph.com/teuthology/yuriw-2023-02-16_22:47:08-rgw-wip-yuri4-testing-2023-02-16-0845-quincy-distro-default-smithi/7177316/ .
In the valgrind log found at: http://qa-proxy.ceph.com/teuthology/yuriw-2023-02-16_22:47:08-rgw-wip-yuri4-testing-2023-02-16-0845-quincy-distro-default-smithi/7177316/remote/smithi101/log/valgrind/ and attached to this tracker.
Do not know if this happens on main or on pacific. Do not know whether backports are needed.
Here's a bit of the first error:
<error>
<unique>0x109f9</unique>
<tid>6</tid>
<threadname>msgr-worker-2</threadname>
<kind>SyscallParam</kind>
<what>Syscall param sendmsg(msg.msg_iov[4]) points to uninitialised byte(s)</what>
<stack>
<frame>
<ip>0x85BFA27</ip>
<obj>/usr/lib64/libpthread-2.28.so</obj>
<fn>sendmsg</fn>
</frame>
<frame>
<ip>0x7B37E73</ip>
<obj>/usr/lib64/ceph/libceph-common.so.2</obj>
<fn>PosixConnectedSocketImpl::send(ceph::buffer::v15_2_0::list&, bool)</fn>
</frame>
<frame>
<ip>0x7AD25D2</ip>
<obj>/usr/lib64/ceph/libceph-common.so.2</obj>
<fn>AsyncConnection::_try_send(bool)</fn>
</frame>
<frame>
<ip>0x7B0B543</ip>
<obj>/usr/lib64/ceph/libceph-common.so.2</obj>
<fn>ProtocolV2::write_message(Message*, bool)</fn>
</frame>
<frame>
<ip>0x7B213BA</ip>
<obj>/usr/lib64/ceph/libceph-common.so.2</obj>
<fn>ProtocolV2::write_event()</fn>
</frame>
<frame>
<ip>0x7B32293</ip>
<obj>/usr/lib64/ceph/libceph-common.so.2</obj>
<fn>EventCenter::process_events(unsigned int, std::chrono::duration<unsigned long, std::ratio<1l, 1000000000l> >*)</fn>
</frame>
<frame>
<ip>0x7B39B65</ip>
<obj>/usr/lib64/ceph/libceph-common.so.2</obj>
</frame>
<frame>
<ip>0x9586BA2</ip>
<obj>/usr/lib64/libstdc++.so.6.0.25</obj>
</frame>
<frame>
<ip>0x85B51C9</ip>
<obj>/usr/lib64/libpthread-2.28.so</obj>
<fn>start_thread</fn>
</frame>
<frame>
<ip>0x9E2CE72</ip>
<obj>/usr/lib64/libc-2.28.so</obj>
<fn>clone</fn>
</frame>
</stack>
Files
Actions