sewardj | 731f9cf | 2011-09-21 08:43:08 +0000 | [diff] [blame] | 1 | |
| 2 | # Suppressions for Darwin 11.x / Mac OS X 10.7 Lion |
| 3 | |
| 4 | ##----------------------------------------------------------------------## |
| 5 | # Memcheck |
| 6 | ##----------------------------------------------------------------------## |
| 7 | |
| 8 | # Dunno where this is a real bug, or due to borked 10.7-specific syscall |
| 9 | # wrappers. 64-bit mode; not sure if occurs in 32-bit mode. |
| 10 | # Anyway, for the tine being: |
| 11 | # |
| 12 | # Conditional jump or move depends on uninitialised value(s) |
| 13 | # at 0x1973E6: __mtx_droplock (in /usr/lib/system/libsystem_c.dylib) |
| 14 | # by 0x1976AA: pthread_mutex_unlock (in /usr/lib/system/libsystem_c.dylib) |
| 15 | # by 0x100B3D: unlock_node (in /usr/lib/system/libkeymgr.dylib) |
| 16 | { |
| 17 | OSX107:__mtx_droplock |
| 18 | Memcheck:Cond |
| 19 | fun:__mtx_droplock |
| 20 | fun:pthread_mutex_unlock |
| 21 | fun:unlock_node |
| 22 | } |
| 23 | |
| 24 | # Conditional jump or move depends on uninitialised value(s) |
| 25 | # at 0x2EB883: ??? (in /usr/lib/system/libxpc.dylib) |
| 26 | # by 0x237C6: ??? (in /usr/lib/libSystem.B.dylib) |
| 27 | # by 0x8FE1115A: ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) (in /usr/lib/dyld) |
| 28 | { |
| 29 | <insert_a_suppression_name_here> |
| 30 | Memcheck:Cond |
| 31 | obj:/usr/lib/system/libxpc.dylib |
| 32 | obj:/usr/lib/libSystem.B.dylib |
| 33 | fun:_ZN16ImageLoaderMachO18doModInitFunctionsERKN11ImageLoader11LinkContextE |
| 34 | } |
| 35 | |
| 36 | # ZLib stuff. How come this wasn't necessary in 10.6 ? |
| 37 | { |
| 38 | OSX107:zlib-C |
| 39 | Memcheck:Cond |
| 40 | obj:/usr/lib/libz.*dylib |
| 41 | obj:/usr/lib/libz.*dylib |
| 42 | } |
| 43 | { |
| 44 | OSX107:zlib-8 |
| 45 | Memcheck:Value8 |
| 46 | obj:/usr/lib/libz.*dylib |
| 47 | obj:/usr/lib/libz.*dylib |
| 48 | } |
| 49 | |
| 50 | # Really a bug? I don't know. |
| 51 | # Conditional jump or move depends on uninitialised value(s) |
| 52 | # at 0x3A322FE: __mtx_droplock (in /usr/lib/system/libsystem_c.dylib) |
| 53 | # by 0x3A326AA: pthread_mutex_unlock (in /usr/lib/system/libsystem_c.dylib) |
| 54 | # by 0x26382: load_images (in /usr/lib/libobjc.A.dylib) |
| 55 | { |
| 56 | OSX107:blah |
| 57 | Memcheck:Cond |
| 58 | fun:__mtx_droplock |
| 59 | fun:pthread_mutex_unlock |
| 60 | } |
| 61 | |
| 62 | { |
| 63 | OSX107:blah |
| 64 | Memcheck:Cond |
| 65 | fun:pthread_mutex_lock |
| 66 | } |
| 67 | |
rhyskidd | f5831f3 | 2015-06-05 09:58:27 +0000 | [diff] [blame] | 68 | { |
| 69 | OSX107:10-Leak |
| 70 | Memcheck:Leak |
| 71 | match-leak-kinds: reachable |
| 72 | fun:?alloc |
| 73 | ... |
| 74 | fun:libSystem_initializer |
| 75 | ... |
| 76 | } |
| 77 | |
sewardj | d2df32e | 2012-03-28 14:35:00 +0000 | [diff] [blame] | 78 | ################ |
| 79 | # More OSX 10.7.2 supps from startup of Firefox, for reports |
| 80 | # that look like they are in the OSX system libraries |
| 81 | |
| 82 | # Conditional jump or move depends on uninitialised value(s) |
| 83 | # at 0x65ADC41: TParsingContext::BuildMacEncTable() |
| 84 | # by 0x65AD98B: TParsingContext::GetEncHash(char const*) |
| 85 | # Uninitialised value was created by a heap allocation |
| 86 | # at 0xC743: malloc (vg_replace_malloc.c:266) |
| 87 | # by 0x65ADADA: TParsingContext::BuildMacEncTable() |
| 88 | { |
| 89 | OSX107:more1 |
| 90 | Memcheck:Cond |
| 91 | fun:*TParsingContext16BuildMacEncTable* |
| 92 | fun:*TParsingContext10GetEncHash* |
| 93 | } |
| 94 | |
| 95 | # Conditional jump or move depends on uninitialised value(s) |
| 96 | # at 0x49ABC48: CGColorSpaceAdjustColor |
| 97 | # by 0x4A9AEE8: CGGradientCreateWithColorComponents |
| 98 | # Uninitialised value was created by a heap allocation |
| 99 | # at 0xC743: malloc (vg_replace_malloc.c:266) |
| 100 | # by 0x4A9AEC4: CGGradientCreateWithColorComponents |
| 101 | # by 0x4A9AC49: CGGradientCreateWithColors |
| 102 | { |
| 103 | OSX107:more2 |
| 104 | Memcheck:Cond |
| 105 | fun:CGColorSpaceAdjustColor |
| 106 | fun:CGGradientCreateWithColorComponents |
| 107 | } |
| 108 | |
| 109 | |
| 110 | # Conditional jump or move depends on uninitialised value(s) |
| 111 | # at 0x2119CCA8: BitSetNextSetBit |
| 112 | # by 0x211A4BA5: BuildInterferenceSets |
| 113 | # Uninitialised value was created by a heap allocation |
| 114 | # at 0xC743: malloc (vg_replace_malloc.c:266) |
| 115 | # by 0x2119CB98: BitSetNew |
| 116 | # by 0x2119D06F: BuildGenKill |
| 117 | { |
| 118 | OSX107:more3 |
| 119 | Memcheck:Cond |
| 120 | fun:BitSetNextSetBit |
| 121 | fun:BuildInterferenceSets |
| 122 | } |
| 123 | |
| 124 | # and similar |
| 125 | { |
| 126 | OSX107:more4 |
| 127 | Memcheck:Cond |
| 128 | fun:BitSetNextSetBit |
| 129 | fun:RegistersReInterfere |
| 130 | } |
| 131 | |
| 132 | |
| 133 | # Conditional jump or move depends on uninitialised value(s) |
| 134 | # at 0x33E4160: CUIRenderer::CreateImage |
| 135 | # by 0x33C14A4: CUIRenderer::DrawMenuBar |
| 136 | # Uninitialised value was created by a stack allocation |
| 137 | # at 0x33C12FC: CUIRenderer::DrawMenuBar |
| 138 | { |
| 139 | OSX107:more5 |
| 140 | Memcheck:Cond |
| 141 | fun:*CUIRenderer*CreateImage* |
| 142 | fun:*CUIRenderer*DrawMenu* |
| 143 | } |
| 144 | |
| 145 | # and similar |
| 146 | { |
| 147 | OSX107:more6 |
| 148 | Memcheck:Cond |
| 149 | fun:floor$fenv_access_off |
| 150 | fun:*CUIRenderer*CreateImage* |
| 151 | fun:*CUIRenderer*DrawMenu* |
| 152 | } |
| 153 | |
| 154 | # This appears a lot, and the origins seem either missing or |
| 155 | # from system libs. |
| 156 | # Use of uninitialised value of size 8 |
| 157 | # at 0x39CC164: aes_encrypt_xmm_no_save |
| 158 | { |
| 159 | OSX107:more7 |
| 160 | Memcheck:Value8 |
| 161 | fun:aes_encrypt_xmm_no_save |
| 162 | } |
| 163 | |
| 164 | |
| 165 | # Conditional jump or move depends on uninitialised value(s) |
| 166 | # at 0xD6D193: -[NSPersistentUIManager writeWindowSnapshot:length:... |
| 167 | # by 0xD71A03: __-[NSPersistentUIManager _updateSnapshotForWindowN... |
| 168 | { |
| 169 | OSX107:more8 |
| 170 | Memcheck:Cond |
| 171 | fun:-[NSPersistentUIManager?writeWindowSnapshot* |
| 172 | fun:__-[NSPersistentUIManager?_updateSnapshotForWindowNumber* |
| 173 | } |
sewardj | 731f9cf | 2011-09-21 08:43:08 +0000 | [diff] [blame] | 174 | |
| 175 | |
| 176 | ########################################################################## |
| 177 | ### The ones below are from darwin10.supp (for Snow Leopard). I don't |
| 178 | ### know whether they are still necessary. |
| 179 | |
| 180 | # afaict this is legit. Might be caused by setenv("VAR=") |
| 181 | # where the value string is empty (not sure) |
| 182 | { |
| 183 | macos-Cond-7 |
| 184 | Memcheck:Cond |
| 185 | fun:__setenv |
| 186 | } |
| 187 | |
| 188 | # From Jesse Ruderman. |
| 189 | #{ |
| 190 | # Mac OS X 10.6.4. rdar://8145289. "new[]" paired with "delete" in the DesktopServicesPriv framework. |
| 191 | # Memcheck:Free |
| 192 | # fun:_ZdlPv |
| 193 | # fun:_ZN5TChar18RemovePtrReferenceEv |
| 194 | # } |
| 195 | |
| 196 | # From Jesse Ruderman. |
| 197 | #{ |
| 198 | # Mac OS X 10.6.4. rdar://8145318. Uninitialized memory from HIMenuBarView::MeasureAppMenus is used in HIMenuBarView::SetAdjustTextTitleBoundsAtIndex. |
| 199 | # Memcheck:Cond |
| 200 | # fun:_ZN13HIMenuBarView31SetAdjustTextTitleBoundsAtIndexEih |
| 201 | # fun:_ZN13HIMenuBarView15MeasureAppMenusEv |
| 202 | #} |
| 203 | |
| 204 | #{ |
| 205 | # TFontFeatures::TFontFeatures(CGFont*) (in CoreText.framework) |
| 206 | # Memcheck:Cond |
| 207 | # fun:_ZN13TFontFeaturesC2EP6CGFont |
| 208 | # fun:_ZNK9TBaseFont12CopyFeaturesEv |
| 209 | #} |
| 210 | |
| 211 | # See https://bugs.kde.org/show_bug.cgi?id=188572 about this; it's |
| 212 | # unavoidable due to BSD setenv() semantics. |
sewardj | ad56d00 | 2013-10-14 11:29:47 +0000 | [diff] [blame] | 213 | { |
| 214 | macos-__setenv-leak-see-our-bug-188572 |
| 215 | Memcheck:Leak |
| 216 | fun:malloc_zone_malloc |
| 217 | fun:__setenv |
| 218 | } |
sewardj | 731f9cf | 2011-09-21 08:43:08 +0000 | [diff] [blame] | 219 | |
rhyskidd | 02acf70 | 2015-06-02 10:30:15 +0000 | [diff] [blame] | 220 | # See https://bugs.kde.org/show_bug.cgi?id=196528 |
| 221 | { |
| 222 | macos-__pthread_rwlock_init-see-our-bug-196528 |
| 223 | Memcheck:Cond |
| 224 | fun:pthread_rwlock_init |
| 225 | } |
| 226 | |
sewardj | 731f9cf | 2011-09-21 08:43:08 +0000 | [diff] [blame] | 227 | #{ |
| 228 | # libSystem-keymgr-leak-at-exit |
| 229 | # Memcheck:Leak |
| 230 | # fun:malloc |
| 231 | # fun:get_or_create_key_element |
| 232 | # fun:_keymgr_get_and_lock_processwide_ptr_2 |
| 233 | # fun:__keymgr_initializer |
| 234 | # fun:libSystem_initializer |
| 235 | #} |
sewardj | ad56d00 | 2013-10-14 11:29:47 +0000 | [diff] [blame] | 236 | |
| 237 | # From Gary Kwong |
| 238 | { |
| 239 | macos-malloc_set_zone_name-see-our-bug-307557 |
| 240 | Memcheck:Leak |
| 241 | fun:malloc_zone_malloc |
| 242 | ... |
| 243 | fun:malloc_set_zone_name |
| 244 | ... |
| 245 | fun:init__zone0 |
| 246 | } |