https://bugs.kde.org/show_bug.cgi?id=417075

            Bug ID: 417075
           Summary: pwritev(vector[...]) suppression ignored
           Product: valgrind
           Version: 3.15 SVN
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: memcheck
          Assignee: jsew...@acm.org
          Reporter: l...@yuriev.ru
  Target Milestone: ---

SUMMARY

memcheck 3.13 (ubuntu) works fine, but memcheck 3.15 (fedora 31) don't handle
suppression for pwritev syscall.

STEPS TO REPRODUCE
1. git clone https://github.com/leo-yuriev/libmdbx.git
2. make -C libmdbx memcheck
3. cat libmdbx/valgrind-*.log | less

OBSERVED RESULT
Error report:
==149931== Syscall param pwritev(vector[0]) points to uninitialised byte(s)
==149931==    at 0x4D2F5CD: pwritev (in /usr/lib64/libc-2.30.so)
==149931==    by 0x486B47D: mdbx_pwritev (osal.c:790)
==149931==    by 0x486910E: mdbx_flush_iov (core.c:7507)
==149931==    by 0x486910E: mdbx_page_flush (core.c:7566)


EXPECTED RESULT
Suppression works as expected.

SOFTWARE/OS VERSIONS
$ lsb_release -a
LSB Version:    :core-4.1-amd64:core-4.1-noarch
Distributor ID: Fedora
Description:    Fedora release 31 (Thirty One)
Release:        31
Codename:       ThirtyOne

ADDITIONAL INFORMATION
Suppression:
{
   pwrite-page-flush
   Memcheck:Param
   pwritev(vector[...])
   fun:pwritev
   ...
   fun:mdbx_page_flush
}

https://raw.githubusercontent.com/leo-yuriev/libmdbx/master/test/valgrind_suppress.txt

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to