Project

General

Profile

Bug #61428

valgrind: Syscall param write(buf) points to uninitialised byte(s)

Added by Casey Bodley 10 months ago. Updated 10 months ago.

Status:
Pending Backport
Priority:
Urgent
Assignee:
Target version:
-
% Done:

0%

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

Description

from run: http://qa-proxy.ceph.com/teuthology/cbodley-2023-05-24_23:44:24-rgw-wip-cbodley-testing-distro-default-smithi/7286005/teuthology.log
valgrind log: http://qa-proxy.ceph.com/teuthology/cbodley-2023-05-24_23:44:24-rgw-wip-cbodley-testing-distro-default-smithi/7286005/remote/smithi104/log/valgrind/ceph.client.0.log.gz

<error>
  <unique>0x0</unique>
  <tid>1</tid>
  <kind>SyscallParam</kind>
  <what>Syscall param write(buf) points to uninitialised byte(s)</what>
  <stack>
    <frame>
      <ip>0x65BDA3D</ip>
      <obj>/usr/lib/x86_64-linux-gnu/libc.so.6</obj>
      <fn>syscall</fn>
      <dir>./misc/../sysdeps/unix/sysv/linux/x86_64</dir>
      <file>syscall.S</file>
      <line>38</line>
    </frame>
    <frame>
      <ip>0x83A3961</ip>
      <obj>/usr/lib/x86_64-linux-gnu/libunwind.so.8.0.1</obj>
    </frame>
    <frame>
      <ip>0x83A2D27</ip>
      <obj>/usr/lib/x86_64-linux-gnu/libunwind.so.8.0.1</obj>
    </frame>
    <frame>
      <ip>0x83A8128</ip>
      <obj>/usr/lib/x86_64-linux-gnu/libunwind.so.8.0.1</obj>
    </frame>
    <frame>
      <ip>0x83A931F</ip>
      <obj>/usr/lib/x86_64-linux-gnu/libunwind.so.8.0.1</obj>
    </frame>
    <frame>
      <ip>0x83A9853</ip>
      <obj>/usr/lib/x86_64-linux-gnu/libunwind.so.8.0.1</obj>
      <fn>_ULx86_64_step</fn>
    </frame>
    <frame>
      <ip>0x5B209BA</ip>
      <obj>/usr/lib/x86_64-linux-gnu/libtcmalloc.so.4.5.9</obj>
    </frame>
    <frame>
      <ip>0x5B1FEAF</ip>
      <obj>/usr/lib/x86_64-linux-gnu/libtcmalloc.so.4.5.9</obj>
    </frame>
    <frame>
      <ip>0x5B02191</ip>
      <obj>/usr/lib/x86_64-linux-gnu/libtcmalloc.so.4.5.9</obj>
    </frame>
    <frame>
      <ip>0x5B02298</ip>
      <obj>/usr/lib/x86_64-linux-gnu/libtcmalloc.so.4.5.9</obj>
    </frame>
    <frame>
      <ip>0x400647D</ip>
      <obj>/usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2</obj>
      <fn>call_init.part.0</fn>
      <dir>./elf/./elf</dir>
      <file>dl-init.c</file>
      <line>70</line>
    </frame>
    <frame>
      <ip>0x4006567</ip>
      <obj>/usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2</obj>
      <fn>call_init</fn>
      <dir>./elf/./elf</dir>
      <file>dl-init.c</file>
      <line>33</line>
    </frame>
    <frame>
      <ip>0x4006567</ip>
      <obj>/usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2</obj>
      <fn>_dl_init</fn>
      <dir>./elf/./elf</dir>
      <file>dl-init.c</file>
      <line>117</line>
    </frame>
    <frame>
      <ip>0x40202E9</ip>
      <obj>/usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2</obj>
    </frame>
    <frame>
      <ip>0xD</ip>
    </frame>
    <frame>
      <ip>0x1FFF000A2E</ip>
    </frame>
    <frame>
      <ip>0x1FFF000A36</ip>
    </frame>
    <frame>
      <ip>0x1FFF000A46</ip>
    </frame>
    <frame>
      <ip>0x1FFF000A54</ip>
    </frame>
    <frame>
      <ip>0x1FFF000A57</ip>
    </frame>
    <frame>
      <ip>0x1FFF000A60</ip>
    </frame>
    <frame>
      <ip>0x1FFF000A6A</ip>
    </frame>
    <frame>
      <ip>0x1FFF000A6F</ip>
    </frame>
    <frame>
      <ip>0x1FFF000A72</ip>
    </frame>
    <frame>
      <ip>0x1FFF000A92</ip>
    </frame>
    <frame>
      <ip>0x1FFF000A9D</ip>
    </frame>
    <frame>
      <ip>0x1FFF000AC1</ip>
    </frame>
    <frame>
      <ip>0x1FFF000ADB</ip>
    </frame>
    <frame>
      <ip>0x1FFF000B0F</ip>
    </frame>
  </stack>
  <auxwhat>Address 0x1fff000000 is on thread 1's stack</auxwhat>
</error>


Related issues

Copied to rgw - Backport #61665: reef: valgrind: Syscall param write(buf) points to uninitialised byte(s) Resolved

History

#1 Updated by Casey Bodley 10 months ago

some kind of startup issue with tcmalloc/libunwind. qa/valgrind.supp already has some suppressions under call_init. we'll either need to adjust an existing one, or add a new one for this

#3 Updated by Casey Bodley 10 months ago

  • Status changed from New to In Progress
  • Assignee set to Casey Bodley
  • Pull request ID set to 52012

#4 Updated by Casey Bodley 10 months ago

  • Status changed from In Progress to Fix Under Review

#5 Updated by Casey Bodley 10 months ago

  • Status changed from Fix Under Review to Pending Backport

#6 Updated by Backport Bot 10 months ago

  • Copied to Backport #61665: reef: valgrind: Syscall param write(buf) points to uninitialised byte(s) added

#7 Updated by Backport Bot 10 months ago

  • Tags changed from valgrind to valgrind backport_processed

Also available in: Atom PDF