README_DEVELOPERS: describe how to write regression tests.
[valgrind.git] / darwin10.supp
blob505305d8c5c8488607a0cebd8594889c6c1523c8
2 # Suppressions for Darwin 10.x / Mac OS X 10.6 Snow Leopard
4 ##----------------------------------------------------------------------##
5 # Memcheck
6 ##----------------------------------------------------------------------##
8 # afaict this is legit.  Might be caused by setenv("VAR=")
9 # where the value string is empty (not sure)
11    macos-Cond-7
12    Memcheck:Cond
13    fun:__setenv
16 # From Jesse Ruderman.
18    Mac OS X 10.6.4. rdar://8145289. "new[]" paired with "delete" in the DesktopServicesPriv framework.
19    Memcheck:Free
20    fun:_ZdlPv
21    fun:_ZN5TChar18RemovePtrReferenceEv
22  }
24 # From Jesse Ruderman.
26    Mac OS X 10.6.4. rdar://8145318. Uninitialized memory from HIMenuBarView::MeasureAppMenus is used in HIMenuBarView::SetAdjustTextTitleBoundsAtIndex.
27    Memcheck:Cond
28    fun:_ZN13HIMenuBarView31SetAdjustTextTitleBoundsAtIndexEih
29    fun:_ZN13HIMenuBarView15MeasureAppMenusEv
33    TFontFeatures::TFontFeatures(CGFont*) (in CoreText.framework)
34    Memcheck:Cond
35    fun:_ZN13TFontFeaturesC2EP6CGFont
36    fun:_ZNK9TBaseFont12CopyFeaturesEv
39 # See https://bugs.kde.org/show_bug.cgi?id=188572 about this;  it's
40 # unavoidable due to BSD setenv() semantics.
42    macos-__setenv-leak-see-our-bug-188572
43    Memcheck:Leak
44    fun:malloc_zone_malloc
45    fun:__setenv
49    libSystem-keymgr-leak-at-exit
50    Memcheck:Leak
51    fun:malloc
52    fun:get_or_create_key_element
53    fun:_keymgr_get_and_lock_processwide_ptr_2
54    fun:__keymgr_initializer
55    fun:libSystem_initializer
59    darwin-still-reachable-1
60    Memcheck:Leak
61    ...
62    fun:dwarf2_unwind_dyld_add_image_hook
63    fun:_ZN4dyld19registerAddCallbackEPFvPK11mach_headerlE
64    fun:_dyld_register_func_for_add_image
65    fun:__keymgr_initializer
66    fun:libSystem_initializer