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