1 2 # Suppressions for Darwin 10.x / Mac OS X 10.6 Snow Leopard 3 4 ##----------------------------------------------------------------------## 5 # Memcheck 6 ##----------------------------------------------------------------------## 7 8 # afaict this is legit. Might be caused by setenv("VAR=") 9 # where the value string is empty (not sure) 10 { 11 macos-Cond-7 12 Memcheck:Cond 13 fun:__setenv 14 } 15 16 # From Jesse Ruderman. 17 { 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 } 23 24 # From Jesse Ruderman. 25 { 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 30 } 31 32 { 33 TFontFeatures::TFontFeatures(CGFont*) (in CoreText.framework) 34 Memcheck:Cond 35 fun:_ZN13TFontFeaturesC2EP6CGFont 36 fun:_ZNK9TBaseFont12CopyFeaturesEv 37 } 38 39 # See https://bugs.kde.org/show_bug.cgi?id=188572 about this; it's 40 # unavoidable due to BSD setenv() semantics. 41 { 42 macos-__setenv-leak-see-our-bug-188572 43 Memcheck:Leak 44 fun:malloc_zone_malloc 45 fun:__setenv 46 } 47 48 { 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 56 } 57 58 { 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 67 } 68