# qa/1080 and qa/490 and qa/386 and qa/459 on Fedora 32
# also on bozo-vm (Debian bullseye/sid) + qa/393 and qa/394
# at 0x483880B: malloc (vg_replace_malloc.c:299)
# by 0x4A0D490: tsearch (in /usr/lib64/libc-2.28.so)
# by 0x4871EA6: __pmFindPDUBuf (pdubuf.c:126)
# ...
{
   tsearch
   Memcheck:Leak
   match-leak-kinds: possible
   fun:malloc
   fun:tsearch
   fun:__pmFindPDUBuf
   ...
}

# qa/1080 and qa/490 and qa/386 and qa/459 on Fedora 32
# also on bozo-vm (Debian bullseye/sid) + qa/393 and qa/394
# at 0x483880B: malloc (vg_replace_malloc.c:299)
# by 0x4871E5F: __pmFindPDUBuf (pdubuf.c:115)
# ...
{
   findpdubuf
   Memcheck:Leak
   match-leak-kinds: possible
   fun:malloc
   fun:__pmFindPDUBuf
   ...
}

# qa/720 on fedora_rawhide-container in CI
# at 0x483A809: malloc (vg_replace_malloc.c:307)
# by 0x4CB7592: sasl_client_new (in /usr/lib64/libsasl2.so.3.0.0)
# by 0x48C30D4: __pmSecureClientHandshake (secureconnect.c:955)
# by 0x486F78A: __pmConnectHandshake (connect.c:207)
# by 0x4870930: __pmConnectPMCD (connect.c:467)
# by 0x4874A9C: pmNewContext (context.c:1152)
# by 0x10BB4A: main (pminfo.c:1196)
{
   sasl_client_new
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:sasl_client_new
   ...
   fun:pmNewContext
   ...
}

# qa/1293 seen on CI debian11-container and fedora32-container and
# fedora33-container and fedora_rawhide-container and vm26 and vm34
# Syscall param socketcall.sendto(msg) points to uninitialised byte(s)
# at 0x4A0020C: send (send.c:28)
# by 0x48C0B8A: __pmSend (in /usr/lib/libpcp.so.3)
# by 0x487DBF8: __pmXmitPDU (in /usr/lib/libpcp.so.3)
# by 0x48A6E72: __pmSendLogControl (in /usr/lib/libpcp.so.3)
# by 0x48A809C: __pmControlLog (in /usr/lib/libpcp.so.3)
# by 0x10D072: ??? (in /usr/bin/pmlc)
# by 0x10AC8A: ??? (in /usr/bin/pmlc)
# by 0x4927D09: (below main) (libc-start.c:308)
# Address 0x51e2188 is 56 bytes inside a block of size 76 alloc'd
# at 0x483877F: malloc (vg_replace_malloc.c:307)
# by 0x487E43B: __pmFindPDUBuf (in /usr/lib/libpcp.so.3)
# by 0x48A6DB9: __pmSendLogControl (in /usr/lib/libpcp.so.3)
# by 0x48A809C: __pmControlLog (in /usr/lib/libpcp.so.3)
# by 0x10D072: ??? (in /usr/bin/pmlc)
# by 0x10AC8A: ??? (in /usr/bin/pmlc)
# by 0x4927D09: (below main) (libc-start.c:308)
#
# Same thing, qa/1293 on CI fedora_rawhide-container but this one
# has an extra line in the callback
#   fun:__pmXmitPDU
#   fun:UnknownInlinedFun           <--- here
#   fun:__pmSendLogControl
# so add an extra ... in the signature below
#
{
   __pmXmitPDU buffer for p_lcontrol.c
   Memcheck:Param
   socketcall.sendto(msg)
   fun:send
   fun:__pmSend
   fun:__pmXmitPDU
   ...
   fun:__pmSendLogControl
   fun:__pmControlLog
   ...
}

# qa/694 on vm34 (x86_64 Arch Linux) on 8 Oct 2021
# 96 bytes in 1 blocks are possibly lost in loss record 98 of 167
# at 0x48435FF: calloc (vg_replace_malloc.c:1117)
# by 0x51391F0: _libcap_strdup (in /usr/lib/libcap.so.2.58)
# by 0x513C1A3: cap_proc_root (in /usr/lib/libcap.so.2.58)
# by 0x400FE2D: call_init (in /usr/lib/ld-2.33.so)
# by 0x400FF1B: _dl_init (in /usr/lib/ld-2.33.so)
# by 0x40010C9: ??? (in /usr/lib/ld-2.33.so)
# by 0x4: ???
# by 0x1FFEFFFE5A: ???
# by 0x1FFEFFFE5F: ???
# by 0x1FFEFFFE62: ???
# by 0x1FFEFFFE65: ???
# by 0x1FFEFFFE68: ???
{
   libcap leak
   Memcheck:Leak
   match-leak-kinds: possible
   fun:calloc
   fun:_libcap_strdup
   fun:cap_proc_root
   fun:call_init
   fun:_dl_init
   ...
}
