[Bug 235720] devel/valgrind: unimplemented syscall 555 (statfs)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Feb 13 21:43:10 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235720

            Bug ID: 235720
           Summary: devel/valgrind: unimplemented syscall 555 (statfs)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bdrewery at FreeBSD.org
          Reporter: michaelbuch12 at gmail.com
             Flags: maintainer-feedback?(bdrewery at FreeBSD.org)
          Assignee: bdrewery at FreeBSD.org

Just a matter of adding a statfs wrapper for the valgrind port. 
Happy to code this up if nobody has any objections.

Error occurred as follows:

(568)|thinkpad|gardei|~/valgrind-debug|
$>>freebsd-version
12.0-RELEASE
(569)|thinkpad|gardei|~/valgrind-debug|
$>>cat disk.c
#include <sys/statvfs.h>

int main() {
        struct statvfs fs;

        return statvfs("/", &fs);
}
(570)|thinkpad|gardei|~/valgrind-debug|
$>>valgrind ./a.out
==12810== Memcheck, a memory error detector
==12810== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==12810== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
==12810== Command: ./a.out
==12810==
--12810-- WARNING: unhandled syscall: 555
--12810-- You may be able to write your own handler.
--12810-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
--12810-- Nevertheless we consider this a bug.  Please report
--12810-- it at http://valgrind.org/support/bug_reports.html.
==12810==
==12810== HEAP SUMMARY:
==12810==     in use at exit: 0 bytes in 0 blocks
==12810==   total heap usage: 0 allocs, 0 frees, 0 bytes allocated
==12810==
==12810== All heap blocks were freed -- no leaks are possible
==12810==
==12810== For counts of detected and suppressed errors, rerun with: -v
==12810== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list