Home | History | Annotate | Download | only in drmemory
      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=RendererCrashTest.Crash 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 chrome.dll!HandleRendererErrorTestParameters
    224 
    225 UNADDRESSABLE ACCESS
    226 name=NPAPITesterBase.NoHangIfInitCrashes deliberate crash
    227 # function is small, little risk for false negative in rest of it
    228 # TODO(bruening): switch to annotation once have support for that
    229 npapi_test_plugin.dll!NPAPIClient::PluginClient::Initialize
    230 
    231 # Deliberate NULL deref to crash the child process
    232 UNADDRESSABLE ACCESS
    233 name=CrashingChildProcess deliberate crash
    234 *!CrashingChildProcess
    235 
    236 UNADDRESSABLE ACCESS
    237 name=::Crasher::Run deliberate crash
    238 *!base::`anonymous namespace'::Crasher::Run
    239 
    240 ############################
    241 # Benign issues in Chromium
    242 
    243 WARNING
    244 name=http://crbug.com/72463 - prefetches in generated MemCopy
    245 instruction=prefetch*
    246 <not in a module>
    247 chrome.dll!v8::internal::CopyChars*
    248 
    249 WARNING
    250 name=prefetches in NVD3DUM.dll
    251 instruction=prefetch*
    252 NVD3DUM.dll!*
    253 
    254 WARNING
    255 name=prefetches in igdumd32.dll
    256 instruction=prefetch*
    257 igdumd32.dll!*
    258 
    259 UNADDRESSABLE ACCESS
    260 name=http://code.google.com/p/drmemory/issues/detail?id=582 bizarre cl-generated read-beyond-TOS
    261 instruction=mov    0xfffffffc(%esp) -> %eax
    262 chrome.dll!WebCore::RenderStyle::resetBorder*
    263 
    264 INVALID HEAP ARGUMENT
    265 name=http://crbug.com/101537
    266 *!scoped_ptr<_TOKEN_USER>*
    267 
    268 INVALID HEAP ARGUMENT
    269 name=http://crbug.com/101717 (1)
    270 *!scoped_ptr<_TOKEN_DEFAULT_DACL>*
    271 
    272 INVALID HEAP ARGUMENT
    273 name=http://crbug.com/101717 (2)
    274 *!sandbox::PolicyBase::~PolicyBase
    275 
    276 INVALID HEAP ARGUMENT
    277 name=http://crbug.com/101717 (3)
    278 *!scoped_ptr<_UNICODE_STRING>::~scoped_ptr<_UNICODE_STRING>
    279 *!sandbox::GetHandleName
    280 
    281 INVALID HEAP ARGUMENT
    282 name=http://crbug.com/101717 (4)
    283 *!scoped_ptr<_OBJECT_NAME_INFORMATION>::~scoped_ptr<_OBJECT_NAME_INFORMATION>
    284 *!sandbox::GetPathFromHandle
    285 
    286 GDI USAGE ERROR
    287 name=http://code.google.com/p/drmemory/issues/detail?id=899 deleting bitmap which is probably safe
    288 system call NtGdiDeleteObjectApp
    289 *!skia::`anonymous namespace'::Bitmap::~Bitmap
    290 *!skia::`anonymous namespace'::Bitmap::`scalar deleting destructor'
    291 
    292 ############################
    293 # Real issues in Chromium
    294 
    295 UNADDRESSABLE ACCESS
    296 name=http://crbug.com/88213
    297 *!base::win::ObjectWatcher::StopWatching
    298 *!base::win::ObjectWatcher::WillDestroyCurrentMessageLoop
    299 *!MessageLoop::~MessageLoop
    300 
    301 UNADDRESSABLE ACCESS
    302 name=http://crbug.com/96010
    303 *!TestingProfile::FinishInit
    304 *!TestingProfile::TestingProfile
    305 *!BrowserAboutHandlerTest_WillHandleBrowserAboutURL_Test::TestBody
    306 
    307 UNADDRESSABLE ACCESS
    308 name=http://crbug.com/106522
    309 npapi_test_plugin.dll!NPAPIClient::PluginTest::id
    310 npapi_test_plugin.dll!NPAPIClient::ExecuteGetJavascriptUrlTest::TimerProc
    311 
    312 # Bad GDI teardown sequence.
    313 GDI USAGE ERROR
    314 name=http://crbug.com/109963 a
    315 system call NtGdiDeleteObjectApp
    316 # usually one or two GDI32.dll frames here but sometimes in light mode
    317 # there are zero.  still pretty narrow b/c of frames on either side.
    318 ...
    319 *!skia::BitmapPlatformDevice::BitmapPlatformDeviceData::~BitmapPlatformDeviceData
    320 
    321 GDI USAGE ERROR
    322 name=http://crbug.com/109963 b
    323 system call NtGdiDeleteObjectApp
    324 # usually one or two GDI32.dll frames here but sometimes in light mode
    325 # there are zero.  still pretty narrow b/c of frames on either side.
    326 ...
    327 *!skia::BitmapPlatformDevice::BitmapPlatformDeviceData::ReleaseBitmapDC
    328 
    329 GDI USAGE ERROR
    330 name=http://crbug.com/109963 c
    331 system call NtGdiDeleteObjectApp
    332 GDI32.dll!DeleteDC
    333 content.dll!*
    334 
    335 GDI USAGE ERROR
    336 name=http://crbug.com/109963 d
    337 system call NtGdiDeleteObjectApp
    338 GDI32.dll!DeleteDC
    339 *!base::internal::RunnableAdapter*
    340 
    341 # GDI usage errors in 3rd-party components
    342 GDI USAGE ERROR
    343 name=http://crbug.com/119552 a
    344 system call NtGdiDeleteObjectApp
    345 ...
    346 *!OmniboxViewWin::*
    347 
    348 GDI USAGE ERROR
    349 name=http://crbug.com/119552 b
    350 system call Nt*
    351 ...
    352 *!ATL::*
    353 
    354 GDI USAGE ERROR
    355 name=http://crbug.com/119552 c
    356 # optional gdi32.dll frame followed by user32.dll
    357 # TODO(bruening): once have
    358 # http://code.google.com/p/drmemory/issues/detail?id=846
    359 # I would do "gdi32.dll!...\nuser32.dll!*"
    360 *32.dll!*
    361 ...
    362 shell32.dll!SHGetFileInfoW
    363 *!IconLoader::ReadIcon
    364 
    365 GDI USAGE ERROR
    366 name=http://crbug.com/119552 d
    367 system call NtGdiDeleteObjectApp
    368 gdi32.dll!DeleteObject
    369 riched20.dll!*
    370 riched20.dll!*
    371 riched20.dll!*
    372 
    373 GDI USAGE ERROR
    374 name=http://crbug.com/120157
    375 # "ReleaseDC called from different thread than GetDC"
    376 system call NtUserCallOneParam.RELEASEDC
    377 *!*FontCache::CacheElement::~CacheElement
    378 
    379 GDI USAGE ERROR
    380 name=http://crbug.com/158090
    381 # "DC created by one thread and used by another"
    382 ...
    383 content.dll!content::*::FontCache::PreCacheFont
    384 content.dll!content::FontCacheDispatcher::OnPreCacheFont
    385 content.dll!DispatchToMethod<content::FontCacheDispatcher*
    386 
    387 GDI USAGE ERROR
    388 name=http://crbug.com/158090 c#4
    389 # ReleaseDC for DC called from different thread than the thread that called GetDC
    390 system call NtUserCallOneParam.RELEASEDC
    391 ui.dll!gfx::ReadColorProfile
    392 ui.dll!gfx::GetColorProfile
    393 content.dll!content::RenderMessageFilter::OnGetMonitorColorProfile
    394 content.dll!DispatchToMethod*
    395 
    396 INVALID HEAP ARGUMENT
    397 name=http://crbug.com/158350
    398 # allocated with operator new[], freed with operator delete
    399 *!*
    400 *!*
    401 *!*
    402 *!*
    403 *!*
    404 content.dll!*
    405 content.dll!*
    406 content.dll!*
    407 content.dll!*
    408 content.dll!*
    409 *!*
    410 *!*
    411 *!*
    412 *!*
    413 *!*
    414 KERNEL32.dll!*
    415 ntdll.dll!*
    416 ntdll.dll!*
    417 
    418 WARNING
    419 name=Security test (new oveflow)
    420 MSVCR100D.dll!operator new
    421 *!operator new
    422 *!operator new[]
    423 *!`anonymous namespace'::SecurityTest_NewOverflow_Test::TestBody
    424 *!testing::internal::HandleExceptionsInMethodIfSupported<testing::Test,void>
    425 
    426 WARNING
    427 name=Security test (calloc overflow)
    428 *!`anonymous namespace'::CallocReturnsNull
    429 *!`anonymous namespace'::SecurityTest_CallocOverflow_Test::TestBody
    430 *!testing::internal::HandleExceptionsInMethodIfSupported<testing::Test,void>
    431 
    432 GDI USAGE ERROR
    433 name=http://crbug.com/234484
    434 # "DC created by one thread and used by another"
    435 ...
    436 *!chrome::`anonymous namespace'::SetOverlayIcon
    437 
    438 INVALID HEAP ARGUMENT
    439 name=http://crbug.com/262088
    440 drmemorylib.dll!av_dup_packet
    441 msvcrt.dll!wcsrchr
    442 ntdll.dll!RtlIsCurrentThreadAttachExempt
    443 ntdll.dll!LdrShutdownThread
    444 ntdll.dll!RtlExitUserThread
    445 
    446 GDI USAGE ERROR
    447 name=http://crbug.com/266484
    448 skia.dll!HDCOffscreen::draw
    449 skia.dll!SkScalerContext_GDI::generateImage
    450 skia.dll!SkScalerContext::getImage
    451 skia.dll!SkGlyphCache::findImage
    452 skia.dll!D1G_NoBounder_RectClip
    453 skia.dll!SkDraw::drawText
    454 skia.dll!SkDevice::drawText
    455 skia.dll!SkCanvas::drawText
    456 media.dll!media::FakeVideoCaptureDevice::OnCaptureTask
    457