From: Rhys Kidd Date: Sun, 1 Mar 2015 13:22:21 +0000 (+0000) Subject: Fix missing libobjc suppressions on OS X 10.10 X-Git-Tag: svn/VALGRIND_3_11_0~620 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e241b4011abbc5b5ea9653c1c8df003b3babf31;p=thirdparty%2Fvalgrind.git Fix missing libobjc suppressions on OS X 10.10 bz#344702 - Update darwin14.supp suppressions - Includes malloc_zone_malloc and malloc related issues in system libraries Before == 585 tests, 256 stderr failures, 22 stdout failures, 0 stderrB failures, 0 stdoutB failures, 31 post failures == After == 585 tests, 240 stderr failures, 22 stdout failures, 0 stderrB failures, 0 stdoutB failures, 31 post failures == git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14972 --- diff --git a/NEWS b/NEWS index 452febff4d..06bc534efb 100644 --- a/NEWS +++ b/NEWS @@ -112,6 +112,7 @@ where XXXXXX is the bug number as listed below. obvious and non-obvious issues 344621 Fix memcheck/tests/err_disable4 test on OS X 344686 Fix suppression for pthread_rwlock_init on OS X 10.10 +344702 Fix missing libobjc suppressions on OS X 10.10 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/darwin14.supp b/darwin14.supp index 1d7a14204e..a703c1455c 100644 --- a/darwin14.supp +++ b/darwin14.supp @@ -4,15 +4,15 @@ ############################################ ## Leaks. For other stuff see below. -#{ -# OSX1010:1-Leak -# Memcheck:Leak -# match-leak-kinds: possible -# fun:malloc_zone_?alloc -# ... -# fun:_read_images -#} -# +{ + OSX1010:1-Leak + Memcheck:Leak + match-leak-kinds: possible + fun:malloc_zone_?alloc + ... + fun:_read_images +} + #{ # OSX1010:2-Leak # Memcheck:Leak @@ -21,19 +21,20 @@ # ... # fun:_ZN4dyld24initializeMainExecutableEv #} -# -#{ -# OSX1010:3-Leak -# Memcheck:Leak -# match-leak-kinds: definite -# fun:malloc_zone_?alloc -# fun:recursive_mutex_init -# fun:_objc_init -# fun:_os_object_init -# fun:libSystem_initializer -# ... -#} -# + +{ + OSX1010:3-Leak + Memcheck:Leak + match-leak-kinds: definite + fun:malloc_zone_?alloc + fun:recursive_mutex_init + ... + fun:_os_object_init + fun:libdispatch_init + fun:libSystem_initializer + ... +} + #{ # OSX1010:4-Leak # Memcheck:Leak @@ -43,39 +44,39 @@ # fun:dyld_register_image_state_change_handler # ... #} -# -#{ -# OSX1010:5-Leak -# Memcheck:Leak -# match-leak-kinds: reachable -# fun:?alloc -# ... -# fun:dyld_register_image_state_change_handler -# ... -#} -# -#{ -# OSX1010:6-Leak -# Memcheck:Leak -# match-leak-kinds: reachable -# fun:malloc_zone_?alloc -# ... -# fun:map_images_nolock -# fun:map_images -# ... -#} -# -#{ -# OSX1010:7-Leak -# Memcheck:Leak -# match-leak-kinds: possible -# fun:malloc_zone_?alloc -# ... -# fun:map_images_nolock -# fun:map_images -# ... -#} -# + +{ + OSX1010:5-Leak + Memcheck:Leak + match-leak-kinds: reachable + fun:?alloc + ... + fun:dyld_register_image_state_change_handler + ... +} + +{ + OSX1010:6-Leak + Memcheck:Leak + match-leak-kinds: reachable + fun:malloc_zone_?alloc + ... + fun:map_images_nolock + fun:map_images + ... +} + +{ + OSX1010:7-Leak + Memcheck:Leak + match-leak-kinds: possible + fun:malloc_zone_?alloc + ... + fun:map_images_nolock + fun:map_images + ... +} + #{ # OSX1010:8-Leak # Memcheck:Leak @@ -85,27 +86,27 @@ # fun:libSystem_initializer # ... #} -# -#{ -# OSX1010:9-Leak -# Memcheck:Leak -# match-leak-kinds: reachable -# fun:malloc_zone_?alloc -# ... -# fun:libSystem_initializer -# ... -#} -# -#{ -# OSX1010:10-Leak -# Memcheck:Leak -# match-leak-kinds: reachable -# fun:?alloc -# ... -# fun:libSystem_initializer -# ... -#} -# + +{ + OSX1010:9-Leak + Memcheck:Leak + match-leak-kinds: reachable + fun:malloc_zone_?alloc + ... + fun:libSystem_initializer + ... +} + +{ + OSX1010:10-Leak + Memcheck:Leak + match-leak-kinds: reachable + fun:?alloc + ... + fun:libSystem_initializer + ... +} + #{ # OSX1010:11-Leak # Memcheck:Leak @@ -123,6 +124,16 @@ # fun:_st_tzset_basic #} +{ + OSX1010:13-Leak + Memcheck:Leak + match-leak-kinds: reachable + fun:malloc_zone_memalign + ... + fun:_ZN4dyld24initializeMainExecutableEv + ... +} + ############################################ ## Non-leak errors