]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Bug 258140 - Valgrind on OS X always reports some memory "still reachable"
authorPaul Floyd <pjfloyd@wanadoo.fr>
Fri, 19 Dec 2025 05:58:51 +0000 (06:58 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Fri, 19 Dec 2025 05:58:51 +0000 (06:58 +0100)
Just needed one more suppression for the minimal test in the bugzilla
item. I expect that there will be a seemingly endless number of leaks
in Darwin (different libs, later versions).

NEWS
darwin.supp

diff --git a/NEWS b/NEWS
index b8e15e0df2ddeaccfb9a8db6374fd7c390b5f6a0..6360e83a5bfc97e17439cc73f9b4410a47cc6820 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -29,6 +29,7 @@ than mailing the developers (or mailing lists) directly -- bugs that
 are not entered into bugzilla tend to get forgotten about or ignored.
 
 228343  none/tests/darwin/bug228343 fails on OS X
+258140  Valgrind on OS X always reports some memory "still reachable"
 413369  unhandled amd64-darwin syscall: unix:151 (getpgid)
 487055  memcheck/tests/x86-linux/scalar fails running in Docker
 509562  s390x: Define minimum required machine model
index 1f693d6b2233f0362064261a868088f1a2faefbe..f256a3a068c86d8608381f1553b8ee2c716d201b 100644 (file)
 # I suppose that this is deliberate
 # and that Apple know what they are doing?
 {
-   masOS1015:__chkstk_darwin_probe
+   macOS1015:__chkstk_darwin_probe
    Memcheck:Addr8
    fun:__chkstk_darwin_probe
 }
 
+{
+   macOS1015:_mh_execute_header
+   Memcheck:Leak
+   match-leak-kinds: definite
+   fun:malloc
+   fun:_mh_execute_header
+}
+