From: Rhys Kidd Date: Thu, 7 May 2015 13:17:50 +0000 (+0000) Subject: valgrind --leak-check=full memleak errors from system libraries on OS X 10.8 X-Git-Tag: svn/VALGRIND_3_11_0~420 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f61b92edba2fa1e1fbefb7c60028e5abde5a826b;p=thirdparty%2Fvalgrind.git valgrind --leak-check=full memleak errors from system libraries on OS X 10.8 bz#347379 == bz#217236 Before: == 591 tests, 237 stderr failures, 23 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures == After: == 591 tests, 232 stderr failures, 22 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures == git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15190 --- diff --git a/NEWS b/NEWS index cab832207a..b1e63eda8f 100644 --- a/NEWS +++ b/NEWS @@ -170,6 +170,8 @@ where XXXXXX is the bug number as listed below. 346487 Compiler generates "note" about a future ABI change for PPC64 346801 Fix link error on OS X: _vgModuleLocal_sf_maybe_extend_stack 347151 Fix suppression for pthread_rwlock_init on OS X 10.8 +347379 valgrind --leak-check=full memleak errors from system libraries on OS X 10.8 + == 217236 n-i-bz Provide implementations of certain compiler builtins to support compilers who may not provide those n-i-bz Old STABS code is still being compiled, but never used. Remove it. diff --git a/darwin12.supp b/darwin12.supp index cbf112c916..d83982498c 100644 --- a/darwin12.supp +++ b/darwin12.supp @@ -350,6 +350,108 @@ fun:_objc_init } +{ + OSX108:leak-14 + Memcheck:Leak + match-leak-kinds: reachable + fun:malloc_zone_?alloc + ... + fun:dyld_register_image_state_change_handler + ... +} + +{ + OSX108:leak-15 + Memcheck:Leak + match-leak-kinds: reachable + fun:?alloc + ... + fun:dyld_register_image_state_change_handler + ... +} + +{ + OSX108:leak-16 + Memcheck:Leak + match-leak-kinds: reachable + fun:malloc_zone_?alloc + ... + fun:map_images_nolock + fun:map_images + ... +} + +{ + OSX108:leak-17 + Memcheck:Leak + match-leak-kinds: possible + fun:malloc_zone_?alloc + ... + fun:map_images_nolock + fun:map_images + ... +} + +{ + OSX108:leak-18 + Memcheck:Leak + match-leak-kinds: indirect + fun:malloc_zone_?alloc + ... + fun:libSystem_initializer + ... +} + +{ + OSX108:leak-19 + Memcheck:Leak + match-leak-kinds: indirect + fun:?alloc + ... + fun:libSystem_initializer + ... +} + +{ + OSX108:leak-20 + Memcheck:Leak + match-leak-kinds: reachable + fun:malloc_zone_?alloc + ... + fun:libSystem_initializer + ... +} + +{ + OSX108:leak-21 + Memcheck:Leak + match-leak-kinds: reachable + fun:?alloc + ... + fun:libSystem_initializer + ... +} + +{ + OSX108:leak-22 + Memcheck:Leak + match-leak-kinds: reachable + fun:?alloc + ... + fun:_libxpc_initializer + ... +} + +{ + OSX108:leak-23 + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + fun:realloc + fun:new_sem_from_pool + ... +} + ##----------------------------------------------------------------------## # Memcheck ##----------------------------------------------------------------------##