Index: binaries/mac_10.6/lib/valgrind/default.supp |
=================================================================== |
--- binaries/mac_10.6/lib/valgrind/default.supp (revision 110902) |
+++ binaries/mac_10.6/lib/valgrind/default.supp (working copy) |
@@ -1,29 +1,8 @@ |
# This is a generated file, composed of the following suppression rules: |
-# exp-ptrcheck.supp xfree-3.supp xfree-4.supp darwin10-drd.supp darwin10.supp |
+# exp-sgcheck.supp xfree-3.supp xfree-4.supp darwin10-drd.supp darwin10.supp |
{ |
- lib-X11-used-old-pointer-after-realloc-1 |
- exp-ptrcheck:Heap |
- fun:strlen |
- obj:/usr/lib*/libX11.so* |
- obj:/usr/lib*/libX11.so* |
-} |
-{ |
- lib-X11-used-old-pointer-after-realloc-2 |
- exp-ptrcheck:Heap |
- obj:/usr/lib*/libX11.so* |
- obj:/usr/lib*/libX11.so* |
-} |
- |
-{ |
- ld-2.X-invalid-Add32/64-who-knows |
- exp-ptrcheck:Arith |
- obj:/*lib*/ld-2.*so* |
- obj:/*lib*/ld-2.*so* |
-} |
- |
-{ |
ld-2.X possibly applying relocations |
- exp-ptrcheck:SorG |
+ exp-sgcheck:SorG |
obj:/*lib*/ld-2.*so* |
obj:/*lib*/ld-2.*so* |
} |
@@ -31,63 +10,17 @@ |
# I'm pretty sure this is a false positive caused by the sg_ stuff |
{ |
glibc realpath false positive |
- exp-ptrcheck:SorG |
+ exp-sgcheck:SorG |
fun:realpath |
fun:* |
} |
{ |
- If I had to guess, inlined or nameless strlen etc in ld.so |
- exp-ptrcheck:Heap |
- obj:/*lib*/ld-2.*so* |
- obj:/*lib*/ld-2.*so* |
-} |
- |
-{ |
I think this is glibc's ultra optimised getenv doing 2 byte reads |
- exp-ptrcheck:SorG |
+ exp-sgcheck:SorG |
fun:getenv |
} |
-{ |
- Occurs on Fedora 7--9? |
- exp-ptrcheck:Heap |
- fun:_dl_fini |
- fun:exit |
- fun:(below main) |
-} |
- |
- |
-# Invalid read of size 16 |
-# at 0x5643A5C: ??? (strcpy.S:94) |
-# by 0x50C6A99: XtResolvePathname (in /usr/lib/libXt.so.6.0.0) |
-# by 0x50C3856: XtScreenDatabase (in /usr/lib/libXt.so.6.0.0) |
-# by 0x50C4386: _XtDisplayInitialize (in /usr/lib/libXt.so.6.0.0) |
-{ |
- Ubuntu 10.04 x86_64, SSEised strcpy, can't intercept |
- exp-ptrcheck:Heap |
- obj:/*lib*/libc-2.*so* |
- obj:/*lib*/libX*so* |
-} |
-{ |
- Ubuntu 10.04 x86_64, SSEised strcpy, can't intercept - 2 |
- exp-ptrcheck:Heap |
- obj:/*lib*/libc-2.*so* |
- obj:/*lib*/libICE*so* |
-} |
-{ |
- Ubuntu 10.04 x86_64, SSEised strcpy, can't intercept - 3 |
- exp-ptrcheck:Heap |
- obj:/*lib*/libc-2.*so* |
- obj:/*lib*/libglib*so* |
-} |
-{ |
- Ubuntu 10.04 x86_64, SSEised strcpy, can't intercept - 4 |
- exp-ptrcheck:Heap |
- obj:/*lib*/libc-2.*so* |
- obj:/*lib*/libfontconfig*so* |
-} |
- |
##----------------------------------------------------------------------## |
# Errors to suppress by default with XFree86 3.3.6) |
@@ -642,9 +575,163 @@ |
fun:_IO_default_xsputn |
obj:/lib*/libc-2.*so* |
} |
- |
# DRD suppressions for Darwin 10.x / Mac OS X 10.6 Snow Leopard |
+# |
+# dyld |
+# |
+{ |
+ dyld_mutex_not_locked |
+ drd:MutexErr |
+ fun:pthread_mutex_unlock |
+ fun:_dyld_register_func_for_*_image |
+} |
+{ |
+ dyld_mutex_reinitialization |
+ drd:MutexErr |
+ fun:pthread_mutex_init |
+ fun:_Z24dyldGlobalLockInitializev |
+ fun:_dyld_initializer |
+} |
+{ |
+ dyld_stub_binder |
+ drd:ConflictingAccess |
+ ... |
+ fun:_ZN4dyld18fastBindLazySymbolEPP11ImageLoaderm |
+ fun:dyld_stub_binder |
+} |
+{ |
+ dyld ImageLoaderMachOCompressed::findExportedSymbol(char const*, ImageLoader const**) const |
+ drd:ConflictingAccess |
+ fun:_ZNK26ImageLoaderMachOCompressed18findExportedSymbolEPKcPPK11ImageLoader |
+} |
+{ |
+ dyld dyld::fastBindLazySymbol(ImageLoader**, unsigned long) |
+ drd:ConflictingAccess |
+ ... |
+ fun:_ZN4dyld18fastBindLazySymbolEPP11ImageLoaderm |
+} |
+{ |
+ dyld ImageLoaderMachOCompressed::doBindFastLazySymbol(unsigned int, ImageLoader::LinkContext const&) |
+ drd:ConflictingAccess |
+ ... |
+ fun:_ZN26ImageLoaderMachOCompressed20doBindFastLazySymbolEjRKN11ImageLoader11LinkContextE |
+} |
+ |
+# |
+# C library |
+# |
+{ |
+ __umodti3 |
+ drd:ConflictingAccess |
+ fun:__umodti3 |
+} |
+{ |
+ fork() |
+ drd:ConflictingAccess |
+ ... |
+ fun:_cthread_fork_child |
+ fun:fork |
+} |
+{ |
+ flockfile |
+ drd:ConflictingAccess |
+ fun:flockfile |
+} |
+{ |
+ funlockfile |
+ drd:ConflictingAccess |
+ fun:funlockfile |
+} |
+{ |
+ vfprintf_l |
+ drd:ConflictingAccess |
+ fun:vfprintf_l |
+} |
+{ |
+ localeconv_l |
+ drd:ConflictingAccess |
+ fun:localeconv_l |
+} |
+{ |
+ __vfprintf |
+ drd:ConflictingAccess |
+ fun:__vfprintf |
+} |
+{ |
+ fflush |
+ drd:ConflictingAccess |
+ fun:fflush |
+} |
+{ |
+ cerror |
+ drd:ConflictingAccess |
+ ... |
+ fun:cerror |
+} |
+{ |
+ do_rand |
+ drd:ConflictingAccess |
+ fun:do_rand |
+} |
+{ |
+ mig_dealloc_reply_port |
+ drd:ConflictingAccess |
+ fun:mig_dealloc_reply_port |
+} |
+ |
+# |
+# pthread library |
+# |
+{ |
+ thread_start |
+ drd:ConflictingAccess |
+ obj:* |
+ fun:thread_start |
+} |
+{ |
+ pthread_create() |
+ drd:ConflictingAccess |
+ ... |
+ fun:pthread_create |
+} |
+{ |
+ pthread_join() |
+ drd:ConflictingAccess |
+ ... |
+ fun:pthread_join |
+ fun:pthread_join |
+} |
+{ |
+ _pthread_exit() |
+ drd:ConflictingAccess |
+ ... |
+ fun:_pthread_exit |
+} |
+{ |
+ pthread_detach() |
+ drd:ConflictingAccess |
+ ... |
+ fun:pthread_detach |
+ fun:pthread_detach |
+} |
+{ |
+ pthread_kill() |
+ drd:ConflictingAccess |
+ ... |
+ fun:pthread_kill |
+} |
+{ |
+ spin_unlock() |
+ drd:ConflictingAccess |
+ fun:spin_unlock |
+} |
+{ |
+ _pthread_testcancel() |
+ drd:ConflictingAccess |
+ fun:_pthread_testcancel |
+} |
+ |
# Suppressions for Darwin 10.x / Mac OS X 10.6 Snow Leopard |
##----------------------------------------------------------------------## |
@@ -690,3 +777,13 @@ |
fun:malloc_zone_malloc |
fun:__setenv |
} |
+ |
+{ |
+ libSystem-keymgr-leak-at-exit |
+ Memcheck:Leak |
+ fun:malloc |
+ fun:get_or_create_key_element |
+ fun:_keymgr_get_and_lock_processwide_ptr_2 |
+ fun:__keymgr_initializer |
+ fun:libSystem_initializer |
+} |