Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 May 2021 02:49:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 256211] valgrind shows one leak every time
Message-ID:  <bug-256211-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256211

            Bug ID: 256211
           Summary: valgrind shows one leak every time
           Product: Base System
           Version: 13.0-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: mazoti@gmail.com

I develop a very small garbage collector in C and doesn't matter how many
malloc()s I did it always suppressed 4096 bytes in 1 block (1 free() missed=
)=20

git clone https://github.com/mazoti/cgc
cd cgc
clang -g example.c
valgrind ./a.out

I tested exact the same code in debian linux and everything is fine (no lea=
ks).
I don't know if it is a libc, kernel or valgrind bug.


Best regards,

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-256211-227>