1 # This file contains suppressions for the Dr.Memory tool, see 2 # http://dev.chromium.org/developers/how-tos/using-drmemory 3 # 4 # This file contains suppressions for the DrMemory reports happening 5 # in the 'light' mode (a.k.a. drmemory_light) as well as in the 'full' mode. 6 # Please use suppressions_full.txt for all the reports that can happen only 7 # in the full mode (drmemory_full), 8 9 ############################ 10 # Known reports on the third party we have no control over. 11 12 # Reports from Sophos antivirus 13 UNADDRESSABLE ACCESS 14 name=Sophos UNADDR 15 ... 16 sophos*.dll!* 17 18 UNINITIALIZED READ 19 name=Sophos UNINIT 20 ... 21 sophos*.dll!* 22 23 LEAK 24 name=Sophos LEAK 25 ... 26 sophos*.dll!* 27 28 # Reports from Micorosft RDP ActiveX control (mstscax.dll) 29 30 GDI USAGE ERROR 31 name=crbug.com/177832: mstscax.dll causes "GDI USAGE ERROR" errors. 32 ... 33 mstscax.dll!* 34 35 UNADDRESSABLE ACCESS 36 name=crbug.com/177832: mstscax.dll causes "UNADDRESSABLE ACCESS" errors. 37 ... 38 mstscax.dll!* 39 40 ############################ 41 # Suppress some false reports due to bugs in Dr.Memory like wrong analysis 42 # assumptions or unhandled syscalls 43 44 # Please note: the following suppressions were written in the abscense of 45 # private symbols so may need to be updated when we switch to auto-loading PDBs 46 47 UNADDRESSABLE ACCESS 48 name=http://code.google.com/p/drmemory/issues/detail?id=12 UNADDR 49 ... 50 SHELL32.dll!SHFileOperation* 51 52 UNADDRESSABLE ACCESS 53 name=http://code.google.com/p/drmemory/issues/detail?id=40 UNADDR 54 ... 55 WINSPOOL.DRV!* 56 57 INVALID HEAP ARGUMENT 58 name=http://code.google.com/p/drmemory/issues/detail?id=40 INVALID HEAP 59 ... 60 WINSPOOL.DRV!* 61 62 UNADDRESSABLE ACCESS 63 name=http://code.google.com/p/drmemory/issues/detail?id=59 64 ... 65 *!SetEnvironmentVariable* 66 67 UNADDRESSABLE ACCESS 68 name=http://code.google.com/p/drmemory/issues/detail?id=68 (UNADDR 1) 69 ... 70 MSWSOCK.dll!WSPStartup 71 72 UNADDRESSABLE ACCESS 73 name=http://code.google.com/p/drmemory/issues/detail?id=68 (UNADDR 2) 74 ... 75 ntdll.dll!RtlValidateUnicodeString 76 77 ############################ 78 # TODO(timurrrr): investigate these 79 UNADDRESSABLE ACCESS 80 name=TODO SHParseDisplayName 81 ... 82 *!SHParseDisplayName 83 84 UNADDRESSABLE ACCESS 85 name=TODO GetCanonicalPathInfo 86 ... 87 *!GetCanonicalPathInfo* 88 89 UNADDRESSABLE ACCESS 90 name=TODO CreateDC 91 ... 92 GDI32.dll!CreateDC* 93 94 # This one looks interesting 95 INVALID HEAP ARGUMENT 96 name=TODO ExitProcess 97 ... 98 KERNEL32.dll!ExitProcess 99 100 INVALID HEAP ARGUMENT 101 name=http://crbug.com/103365 (a) 102 ppapi_tests.dll!* 103 ... 104 ppapi_tests.dll!* 105 *!base::internal::RunnableAdapter<*>::Run 106 107 INVALID HEAP ARGUMENT 108 name=http://crbug.com/103365 (b) 109 ppapi_tests.dll!* 110 ... 111 ppapi_tests.dll!* 112 *!PP_RunCompletionCallback 113 ... 114 *!base::internal::RunnableAdapter<*>::Run 115 116 INVALID HEAP ARGUMENT 117 name=http://crbug.com/107567 intentional mismatch in _DebugHeapDelete, no frame 118 *!std::numpunct<*>::_Tidy 119 *!std::numpunct<*>::~numpunct<*> 120 121 # TODO(rbultje): Investigate if code fix is required instead. 122 WARNING 123 name=http://crbug.com/223255 - prefetches in vp8 124 instruction=prefetch* 125 ffmpegsumo.dll!ff_prefetch_mmxext 126 ffmpegsumo.dll!vp8_decode_mb_row_no_filter 127 128 ############################ 129 # Intentional errors in Chromium tests (ToolsSanityTests) 130 LEAK 131 name=sanity test 01 (memory leak) 132 base_unittests.exe!operator new 133 base_unittests.exe!operator new[] 134 base_unittests.exe!base::ToolsSanityTest_MemoryLeak_Test::TestBody 135 136 # "..." is needed due to http://code.google.com/p/drmemory/issues/detail?id=666 137 UNADDRESSABLE ACCESS 138 name=sanity test 02 (malloc/read left) 139 base_unittests.exe!*ReadValueOutOfArrayBoundsLeft 140 ... 141 base_unittests.exe!base::ToolsSanityTest_AccessesToMallocMemory_Test::TestBody 142 143 UNADDRESSABLE ACCESS 144 name=sanity test 03 (malloc/read right) 145 base_unittests.exe!*ReadValueOutOfArrayBoundsRight 146 base_unittests.exe!*MakeSomeErrors 147 base_unittests.exe!base::ToolsSanityTest_AccessesToMallocMemory_Test::TestBody 148 149 UNADDRESSABLE ACCESS 150 name=sanity test 04 (malloc/write left) 151 base_unittests.exe!*WriteValueOutOfArrayBoundsLeft 152 base_unittests.exe!*MakeSomeErrors 153 base_unittests.exe!base::ToolsSanityTest_AccessesToMallocMemory_Test::TestBody 154 155 UNADDRESSABLE ACCESS 156 name=sanity test 05 (malloc/write right) 157 base_unittests.exe!*WriteValueOutOfArrayBoundsRight 158 base_unittests.exe!*MakeSomeErrors 159 base_unittests.exe!base::ToolsSanityTest_AccessesToMallocMemory_Test::TestBody 160 161 # "..." is needed due to http://code.google.com/p/drmemory/issues/detail?id=666 162 UNADDRESSABLE ACCESS 163 name=sanity test 06 (new/read left) 164 base_unittests.exe!*ReadValueOutOfArrayBoundsLeft 165 ... 166 base_unittests.exe!base::ToolsSanityTest_AccessesToNewMemory_Test::TestBody 167 168 UNADDRESSABLE ACCESS 169 name=sanity test 07 (new/read right) 170 base_unittests.exe!*ReadValueOutOfArrayBoundsRight 171 base_unittests.exe!*MakeSomeErrors 172 base_unittests.exe!base::ToolsSanityTest_AccessesToNewMemory_Test::TestBody 173 174 UNADDRESSABLE ACCESS 175 name=sanity test 08 (new/write left) 176 base_unittests.exe!*WriteValueOutOfArrayBoundsLeft 177 base_unittests.exe!*MakeSomeErrors 178 base_unittests.exe!base::ToolsSanityTest_AccessesToNewMemory_Test::TestBody 179 180 UNADDRESSABLE ACCESS 181 name=sanity test 09 (new/write right) 182 base_unittests.exe!*WriteValueOutOfArrayBoundsRight 183 base_unittests.exe!*MakeSomeErrors 184 base_unittests.exe!base::ToolsSanityTest_AccessesToNewMemory_Test::TestBody 185 186 UNADDRESSABLE ACCESS 187 name=sanity test 10 (write after free) 188 base_unittests.exe!base::ToolsSanityTest_AccessesToMallocMemory_Test::TestBody 189 190 UNADDRESSABLE ACCESS 191 name=sanity test 11 (write after delete) 192 base_unittests.exe!base::ToolsSanityTest_AccessesToNewMemory_Test::TestBody 193 194 INVALID HEAP ARGUMENT 195 name=sanity test 12 (array deleted without []) 196 base_unittests.exe!base::ToolsSanityTest_ArrayDeletedWithoutBraces_Test::TestBody 197 198 INVALID HEAP ARGUMENT 199 name=sanity test 13 (single element deleted with []) 200 base_unittests.exe!base::ToolsSanityTest_SingleElementDeletedWithBraces_Test::TestBody 201 202 UNINITIALIZED READ 203 name=sanity test 14 (malloc/read uninit) 204 base_unittests.exe!*ReadUninitializedValue 205 base_unittests.exe!*MakeSomeErrors 206 base_unittests.exe!base::ToolsSanityTest_AccessesToMallocMemory_Test::TestBody 207 208 UNINITIALIZED READ 209 name=sanity test 15 (new/read uninit) 210 base_unittests.exe!*ReadUninitializedValue 211 base_unittests.exe!*MakeSomeErrors 212 base_unittests.exe!base::ToolsSanityTest_AccessesToNewMemory_Test::TestBody 213 214 UNADDRESSABLE ACCESS 215 name=AboutHandler::AboutCrash deliberate crash 216 # TODO(bruening): switch to annotation once have support for that 217 chrome.dll!AboutHandler::AboutCrash 218 219 UNADDRESSABLE ACCESS 220 name=NPAPITesterBase.NoHangIfInitCrashes deliberate crash 221 # function is small, little risk for false negative in rest of it 222 # TODO(bruening): switch to annotation once have support for that 223 npapi_test_plugin.dll!NPAPIClient::PluginClient::Initialize 224 225 # Deliberate NULL deref to crash the child process 226 UNADDRESSABLE ACCESS 227 name=CrashingChildProcess deliberate crash 228 *!CrashingChildProcess 229 230 UNADDRESSABLE ACCESS 231 name=::Crasher::Run deliberate crash 232 *!base::`anonymous namespace'::Crasher::Run 233 234 ############################ 235 # Benign issues in Chromium 236 237 WARNING 238 name=http://crbug.com/72463 - prefetches in generated MemCopy 239 instruction=prefetch* 240 <not in a module> 241 chrome.dll!v8::internal::CopyChars* 242 243 WARNING 244 name=prefetches in NVD3DUM.dll 245 instruction=prefetch* 246 NVD3DUM.dll!* 247 248 WARNING 249 name=prefetches in igdumd32.dll 250 instruction=prefetch* 251 igdumd32.dll!* 252 253 UNADDRESSABLE ACCESS 254 name=http://code.google.com/p/drmemory/issues/detail?id=582 bizarre cl-generated read-beyond-TOS 255 instruction=mov 0xfffffffc(%esp) -> %eax 256 chrome.dll!WebCore::RenderStyle::resetBorder* 257 258 INVALID HEAP ARGUMENT 259 name=http://crbug.com/101537 260 *!scoped_ptr<_TOKEN_USER>* 261 262 INVALID HEAP ARGUMENT 263 name=http://crbug.com/101717 (1) 264 *!scoped_ptr<_TOKEN_DEFAULT_DACL>* 265 266 INVALID HEAP ARGUMENT 267 name=http://crbug.com/101717 (2) 268 *!sandbox::PolicyBase::~PolicyBase 269 270 INVALID HEAP ARGUMENT 271 name=http://crbug.com/101717 (3) 272 *!scoped_ptr<_UNICODE_STRING>::~scoped_ptr<_UNICODE_STRING> 273 *!sandbox::GetHandleName 274 275 INVALID HEAP ARGUMENT 276 name=http://crbug.com/101717 (4) 277 *!scoped_ptr<_OBJECT_NAME_INFORMATION>::~scoped_ptr<_OBJECT_NAME_INFORMATION> 278 *!sandbox::GetPathFromHandle 279 280 GDI USAGE ERROR 281 name=http://code.google.com/p/drmemory/issues/detail?id=899 deleting bitmap which is probably safe 282 system call NtGdiDeleteObjectApp 283 *!skia::`anonymous namespace'::Bitmap::~Bitmap 284 *!skia::`anonymous namespace'::Bitmap::`scalar deleting destructor' 285 286 ############################ 287 # Real issues in Chromium 288 289 UNADDRESSABLE ACCESS 290 name=http://crbug.com/88213 291 *!base::win::ObjectWatcher::StopWatching 292 *!base::win::ObjectWatcher::WillDestroyCurrentMessageLoop 293 *!MessageLoop::~MessageLoop 294 295 UNADDRESSABLE ACCESS 296 name=http://crbug.com/96010 297 *!TestingProfile::FinishInit 298 *!TestingProfile::TestingProfile 299 *!BrowserAboutHandlerTest_WillHandleBrowserAboutURL_Test::TestBody 300 301 UNADDRESSABLE ACCESS 302 name=http://crbug.com/106522 303 npapi_test_plugin.dll!NPAPIClient::PluginTest::id 304 npapi_test_plugin.dll!NPAPIClient::ExecuteGetJavascriptUrlTest::TimerProc 305 306 GDI USAGE ERROR 307 name=http://crbug.com/109963 c 308 system call NtGdiDeleteObjectApp 309 GDI32.dll!DeleteDC 310 content.dll!* 311 312 GDI USAGE ERROR 313 name=http://crbug.com/109963 d 314 system call NtGdiDeleteObjectApp 315 GDI32.dll!DeleteDC 316 *!base::internal::RunnableAdapter* 317 318 # GDI usage errors in 3rd-party components 319 GDI USAGE ERROR 320 name=http://crbug.com/119552 a 321 system call NtGdiDeleteObjectApp 322 ... 323 *!OmniboxViewWin::* 324 325 GDI USAGE ERROR 326 name=http://crbug.com/119552 b 327 system call Nt* 328 ... 329 *!ATL::* 330 331 GDI USAGE ERROR 332 name=http://crbug.com/119552 c 333 # optional gdi32.dll frame followed by user32.dll 334 # TODO(bruening): once have 335 # http://code.google.com/p/drmemory/issues/detail?id=846 336 # I would do "gdi32.dll!...\nuser32.dll!*" 337 *32.dll!* 338 ... 339 shell32.dll!SHGetFileInfoW 340 *!IconLoader::ReadIcon 341 342 GDI USAGE ERROR 343 name=http://crbug.com/119552 d 344 system call NtGdiDeleteObjectApp 345 gdi32.dll!DeleteObject 346 riched20.dll!* 347 riched20.dll!* 348 riched20.dll!* 349 350 GDI USAGE ERROR 351 name=http://crbug.com/120157 352 # "ReleaseDC called from different thread than GetDC" 353 system call NtUserCallOneParam.RELEASEDC 354 *!*FontCache::CacheElement::~CacheElement 355 356 GDI USAGE ERROR 357 name=http://crbug.com/158090 358 # "DC created by one thread and used by another" 359 ... 360 content.dll!content::*::FontCache::PreCacheFont 361 content.dll!content::FontCacheDispatcher::OnPreCacheFont 362 content.dll!DispatchToMethod<content::FontCacheDispatcher* 363 364 GDI USAGE ERROR 365 name=http://crbug.com/158090 c#4 366 # ReleaseDC for DC called from different thread than the thread that called GetDC 367 system call NtUserCallOneParam.RELEASEDC 368 ui.dll!gfx::ReadColorProfile 369 ui.dll!gfx::GetColorProfile 370 content.dll!content::RenderMessageFilter::OnGetMonitorColorProfile 371 content.dll!DispatchToMethod* 372 373 INVALID HEAP ARGUMENT 374 name=http://crbug.com/158350 375 # allocated with operator new[], freed with operator delete 376 *!* 377 *!* 378 *!* 379 *!* 380 *!* 381 content.dll!* 382 content.dll!* 383 content.dll!* 384 content.dll!* 385 content.dll!* 386 *!* 387 *!* 388 *!* 389 *!* 390 *!* 391 KERNEL32.dll!* 392 ntdll.dll!* 393 ntdll.dll!* 394 395 WARNING 396 name=Security test (new oveflow) 397 MSVCR100D.dll!operator new 398 *!operator new 399 *!operator new[] 400 *!`anonymous namespace'::SecurityTest_NewOverflow_Test::TestBody 401 *!testing::internal::HandleExceptionsInMethodIfSupported<testing::Test,void> 402 403 WARNING 404 name=Security test (calloc overflow) 405 *!`anonymous namespace'::CallocReturnsNull 406 *!`anonymous namespace'::SecurityTest_CallocOverflow_Test::TestBody 407 *!testing::internal::HandleExceptionsInMethodIfSupported<testing::Test,void> 408 409 GDI USAGE ERROR 410 name=http://crbug.com/234484 411 # "DC created by one thread and used by another" 412 ... 413 *!chrome::`anonymous namespace'::SetOverlayIcon 414 415 INVALID HEAP ARGUMENT 416 name=http://crbug.com/262088 417 drmemorylib.dll!av_dup_packet 418 msvcrt.dll!wcsrchr 419 ntdll.dll!RtlIsCurrentThreadAttachExempt 420 ntdll.dll!LdrShutdownThread 421 ntdll.dll!RtlExitUserThread 422 423 GDI USAGE ERROR 424 name=http://crbug.com/266484 425 skia.dll!HDCOffscreen::draw 426 skia.dll!SkScalerContext_GDI::generateImage 427 skia.dll!SkScalerContext::getImage 428 skia.dll!SkGlyphCache::findImage 429 skia.dll!D1G_NoBounder_RectClip 430 skia.dll!SkDraw::drawText 431