1 # This file contains suppressions for the Dr.Memory tool, see
2 # http://dev.chromium.org/developers/how-tos/using-drmemory
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),
9 ############################
10 # Known reports on the third party we have no control over.
12 # Reports from Sophos antivirus
28 # Reports from Micorosft RDP ActiveX control (mstscax.dll)
31 name=crbug.com/177832: mstscax.dll causes "GDI USAGE ERROR" errors.
36 name=crbug.com/177832: mstscax.dll causes "UNADDRESSABLE ACCESS" errors.
40 ############################
41 # Suppress some false reports due to bugs in Dr.Memory like wrong analysis
42 # assumptions or unhandled syscalls
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
48 name=https://github.com/DynamoRIO/drmemory/issues/12 UNADDR
50 SHELL32.dll!SHFileOperation*
53 name=https://github.com/DynamoRIO/drmemory/issues/40 UNADDR
58 name=https://github.com/DynamoRIO/drmemory/issues/40 INVALID HEAP
63 name=https://github.com/DynamoRIO/drmemory/issues/59
65 *!SetEnvironmentVariable*
68 name=https://github.com/DynamoRIO/drmemory/issues/68 (UNADDR 1)
70 MSWSOCK.dll!WSPStartup
73 name=https://github.com/DynamoRIO/drmemory/issues/68 (UNADDR 2)
75 ntdll.dll!RtlValidateUnicodeString
77 ############################
78 # TODO(timurrrr): investigate these
80 name=TODO SHParseDisplayName
85 name=TODO GetCanonicalPathInfo
87 *!GetCanonicalPathInfo*
94 # This one looks interesting
98 KERNEL32.dll!ExitProcess
100 INVALID HEAP ARGUMENT
101 name=http://crbug.com/103365 (a)
105 *!base::internal::RunnableAdapter<*>::Run
107 INVALID HEAP ARGUMENT
108 name=http://crbug.com/103365 (b)
112 *!PP_RunCompletionCallback
114 *!base::internal::RunnableAdapter<*>::Run
116 INVALID HEAP ARGUMENT
117 name=http://crbug.com/107567 intentional mismatch in _DebugHeapDelete, no frame
118 *!std::numpunct<*>::_Tidy
119 *!std::numpunct<*>::~numpunct<*>
121 # TODO(rbultje): Investigate if code fix is required instead.
123 name=http://crbug.com/223255 - prefetches in vp8
124 instruction=prefetch*
125 ffmpegsumo.dll!ff_prefetch_mmxext
127 ############################
128 # Intentional errors in Chromium tests (ToolsSanityTests)
130 name=sanity test 01 (memory leak)
131 base_unittests.exe!operator new
132 base_unittests.exe!operator new[]
133 base_unittests.exe!base::ToolsSanityTest_MemoryLeak_Test::TestBody
135 # "..." is needed due to https://github.com/DynamoRIO/drmemory/issues/666
137 name=sanity test 02 (malloc/read left)
138 base_unittests.exe!*ReadValueOutOfArrayBoundsLeft
140 base_unittests.exe!base::ToolsSanityTest_AccessesToMallocMemory_Test::TestBody
143 name=sanity test 03 (malloc/read right)
144 base_unittests.exe!*ReadValueOutOfArrayBoundsRight
145 base_unittests.exe!*MakeSomeErrors
146 base_unittests.exe!base::ToolsSanityTest_AccessesToMallocMemory_Test::TestBody
149 name=sanity test 04 (malloc/write left)
150 base_unittests.exe!*WriteValueOutOfArrayBoundsLeft
151 base_unittests.exe!*MakeSomeErrors
152 base_unittests.exe!base::ToolsSanityTest_AccessesToMallocMemory_Test::TestBody
155 name=sanity test 05 (malloc/write right)
156 base_unittests.exe!*WriteValueOutOfArrayBoundsRight
157 base_unittests.exe!*MakeSomeErrors
158 base_unittests.exe!base::ToolsSanityTest_AccessesToMallocMemory_Test::TestBody
160 # "..." is needed due to https://github.com/DynamoRIO/drmemory/issues/666
162 name=sanity test 06 (new/read left)
163 base_unittests.exe!*ReadValueOutOfArrayBoundsLeft
165 base_unittests.exe!base::ToolsSanityTest_AccessesToNewMemory_Test::TestBody
168 name=sanity test 07 (new/read right)
169 base_unittests.exe!*ReadValueOutOfArrayBoundsRight
170 base_unittests.exe!*MakeSomeErrors
171 base_unittests.exe!base::ToolsSanityTest_AccessesToNewMemory_Test::TestBody
174 name=sanity test 08 (new/write left)
175 base_unittests.exe!*WriteValueOutOfArrayBoundsLeft
176 base_unittests.exe!*MakeSomeErrors
177 base_unittests.exe!base::ToolsSanityTest_AccessesToNewMemory_Test::TestBody
180 name=sanity test 09 (new/write right)
181 base_unittests.exe!*WriteValueOutOfArrayBoundsRight
182 base_unittests.exe!*MakeSomeErrors
183 base_unittests.exe!base::ToolsSanityTest_AccessesToNewMemory_Test::TestBody
186 name=sanity test 10 (write after free)
187 base_unittests.exe!base::ToolsSanityTest_AccessesToMallocMemory_Test::TestBody
190 name=sanity test 11 (write after delete)
191 base_unittests.exe!base::ToolsSanityTest_AccessesToNewMemory_Test::TestBody
193 INVALID HEAP ARGUMENT
194 name=sanity test 12 (array deleted without [])
195 base_unittests.exe!base::ToolsSanityTest_ArrayDeletedWithoutBraces_Test::TestBody
197 INVALID HEAP ARGUMENT
198 name=sanity test 13 (single element deleted with [])
199 base_unittests.exe!base::ToolsSanityTest_SingleElementDeletedWithBraces_Test::TestBody
202 name=sanity test 14 (malloc/read uninit)
203 base_unittests.exe!*ReadUninitializedValue
205 base_unittests.exe!*MakeSomeErrors
206 base_unittests.exe!base::ToolsSanityTest_AccessesToMallocMemory_Test::TestBody
209 name=sanity test 15 (new/read uninit)
210 base_unittests.exe!*ReadUninitializedValue
212 base_unittests.exe!*MakeSomeErrors
213 base_unittests.exe!base::ToolsSanityTest_AccessesToNewMemory_Test::TestBody
216 name=AboutHandler::AboutCrash deliberate crash
217 # TODO(bruening): switch to annotation once have support for that
218 chrome.dll!AboutHandler::AboutCrash
221 name=NPAPITesterBase.NoHangIfInitCrashes deliberate crash
222 # function is small, little risk for false negative in rest of it
223 # TODO(bruening): switch to annotation once have support for that
224 npapi_test_plugin.dll!NPAPIClient::PluginClient::Initialize
226 # Deliberate NULL deref to crash the child process
228 name=CrashingChildProcess deliberate crash
229 *!CrashingChildProcess
232 name=::Crasher::Run deliberate crash
233 *!base::`anonymous namespace'::Crasher::Run
235 ############################
236 # Benign issues in Chromium
239 name=http://crbug.com/72463 - prefetches in generated MemCopy
240 instruction=prefetch*
242 chrome.dll!v8::internal::CopyChars*
245 name=prefetches in NVD3DUM.dll
246 instruction=prefetch*
250 name=prefetches in igdumd32.dll
251 instruction=prefetch*
255 name=https://github.com/DynamoRIO/drmemory/issues/582 bizarre cl-generated read-beyond-TOS
256 instruction=mov 0xfffffffc(%esp) -> %eax
257 chrome.dll!blink::RenderStyle::resetBorder*
259 INVALID HEAP ARGUMENT
260 name=http://crbug.com/101717 (1)
261 *!sandbox::PolicyBase::~PolicyBase
263 INVALID HEAP ARGUMENT
264 name=http://crbug.com/101717 (2)
265 *!scoped_ptr<>::~scoped_ptr<>
266 *!sandbox::GetHandleName
268 INVALID HEAP ARGUMENT
269 name=http://crbug.com/101717 (3)
270 *!scoped_ptr<>::~scoped_ptr<>
271 *!sandbox::GetPathFromHandle
274 name=https://github.com/DynamoRIO/drmemory/issues/899 deleting bitmap which is probably safe
275 system call NtGdiDeleteObjectApp
276 *!skia::`anonymous namespace'::Bitmap::~Bitmap
277 *!skia::`anonymous namespace'::Bitmap::`scalar deleting destructor'
279 ############################
280 # Real issues in Chromium
283 name=http://crbug.com/88213
284 *!base::win::ObjectWatcher::StopWatching
285 *!base::win::ObjectWatcher::WillDestroyCurrentMessageLoop
286 *!MessageLoop::~MessageLoop
289 name=http://crbug.com/96010
290 *!TestingProfile::FinishInit
291 *!TestingProfile::TestingProfile
292 *!BrowserAboutHandlerTest_WillHandleBrowserAboutURL_Test::TestBody
295 name=http://crbug.com/106522
296 npapi_test_plugin.dll!NPAPIClient::PluginTest::id
297 npapi_test_plugin.dll!NPAPIClient::ExecuteGetJavascriptUrlTest::TimerProc
300 name=http://crbug.com/109963 c
301 system call NtGdiDeleteObjectApp
306 name=http://crbug.com/109963 d
307 system call NtGdiDeleteObjectApp
309 *!base::internal::RunnableAdapter*
311 # GDI usage errors in 3rd-party components
313 name=http://crbug.com/119552 a
314 system call NtGdiDeleteObjectApp
319 name=http://crbug.com/119552 b
325 name=http://crbug.com/119552 c
326 # optional gdi32.dll frame followed by user32.dll
327 # TODO(bruening): once have
328 # https://github.com/DynamoRIO/drmemory/issues/846
329 # I would do "gdi32.dll!...\nuser32.dll!*"
332 shell32.dll!SHGetFileInfoW
333 *!IconLoader::ReadIcon
336 name=http://crbug.com/119552 d
337 system call NtGdiDeleteObjectApp
338 gdi32.dll!DeleteObject
344 name=http://crbug.com/120157
345 # "ReleaseDC called from different thread than GetDC"
346 system call NtUserCallOneParam.RELEASEDC
347 *!*FontCache::CacheElement::~CacheElement
350 name=http://crbug.com/158090
351 # "DC created by one thread and used by another"
353 content.dll!content::*::FontCache::PreCacheFont
354 content.dll!content::FontCacheDispatcher::OnPreCacheFont
355 content.dll!DispatchToMethod<>
358 name=http://crbug.com/158090 c#4
359 # ReleaseDC for DC called from different thread than the thread that called GetDC
360 system call NtUserCallOneParam.RELEASEDC
361 ui.dll!gfx::ReadColorProfile
362 ui.dll!gfx::GetColorProfile
363 content.dll!content::RenderMessageFilter::OnGetMonitorColorProfile
364 content.dll!DispatchToMethod*
366 INVALID HEAP ARGUMENT
367 name=http://crbug.com/158350
368 # allocated with operator new[], freed with operator delete
389 name=Security test (new oveflow)
390 MSVCR100D.dll!operator new
393 *!`anonymous namespace'::SecurityTest_NewOverflow_Test::TestBody
394 *!testing::internal::HandleExceptionsInMethodIfSupported<>
397 name=Security test (calloc overflow)
398 *!`anonymous namespace'::CallocReturnsNull
399 *!`anonymous namespace'::SecurityTest_CallocOverflow_Test::TestBody
400 *!testing::internal::HandleExceptionsInMethodIfSupported<>
403 name=http://crbug.com/234484
404 # "DC created by one thread and used by another"
406 *!chrome::`anonymous namespace'::SetOverlayIcon
408 INVALID HEAP ARGUMENT
409 name=http://crbug.com/262088
410 drmemorylib.dll!av_dup_packet
412 ntdll.dll!RtlIsCurrentThreadAttachExempt
413 ntdll.dll!LdrShutdownThread
414 ntdll.dll!RtlExitUserThread
417 name=http://crbug.com/266484
418 skia.dll!HDCOffscreen::draw
420 skia.dll!SkScalerContext::getImage
421 skia.dll!SkGlyphCache::findImage
422 skia.dll!D1G_RectClip
423 skia.dll!SkDraw::draw*
426 name=http://crbug.com/346842
427 system call NtGdiCreateDIBSection
430 *!SkScalerContext_GDI::generateImage
431 *!SkScalerContext::getImage
432 *!SkGlyphCache::findImage
434 *!SkDraw::drawPosText
435 *!SkBitmapDevice::drawPosText
438 name=http://crbug.com/346993
439 system call NtDuplicateObject
440 KERNELBASE.dll!DuplicateHandle
441 KERNEL32.dll!DuplicateHandle*
442 base.dll!base::`anonymous namespace'::ThreadFunc
443 KERNEL32.dll!BaseThreadInitThunk
446 name=http://crbug.com/42043-uninit
451 name=http://crbug.com/42043-gdi
456 name=IntentionalCrash
457 *!content::*::*Crash*
458 *!content::*::MaybeHandleDebugURL
461 name=http://crbug.com/371348
462 system call NtCreateSection
463 KERNELBASE.dll!CreateFileMappingW
464 *!base::SharedMemory::Create
465 *!base::SharedMemory::CreateAnonymous
466 *!content::ChildThreadImpl::AllocateSharedMemory
468 *!content::ChildSharedBitmapManager::AllocateSharedBitmap
469 *!cc::ResourceProvider::CreateBitmap
472 name=http://crbug.com/371357
473 system call NtCreateEvent
474 KERNELBASE.dll!CreateEventExW
475 KERNELBASE.dll!CreateEventW
478 name=http://crbug.com/371368
479 system call NtCreateNamedPipeFile
480 KERNELBASE.dll!CreateNamedPipeW
481 ipc.dll!IPC::ChannelWin::CreatePipe
482 ipc.dll!IPC::ChannelWin::ChannelWin
485 name=http://crbug.com/371942
486 system call NtCreateThreadEx
487 KERNELBASE.dll!CreateRemoteThreadEx
488 KERNEL32.dll!CreateThread
491 name=http://crbug.com/371946
492 system call NtUserWindowFromPoint
493 content.dll!content::LegacyRenderWidgetHostHWND::OnMouseLeave
494 content.dll!content::LegacyRenderWidgetHostHWND::_ProcessWindowMessage
495 content.dll!content::LegacyRenderWidgetHostHWND::ProcessWindowMessage
496 content.dll!ATL::CWindowImplBaseT<>::WindowProc
497 USER32.dll!gapfnScSendMessage
498 USER32.dll!GetThreadDesktop
500 USER32.dll!DispatchMessageW
501 base.dll!base::MessagePumpForUI::ProcessMessageHelper
502 base.dll!base::MessagePumpForUI::ProcessNextWindowsMessage
505 name=http://crbug.com/372177
506 NPCTRL.dll!DllGetClassObject
507 NPCTRL.dll!DllGetClassObject
508 NPCTRL.dll!DllGetClassObject
509 NPCTRL.dll!DllGetClassObject
512 name=http://crbug.com/373333
513 system call NtGdiCreateCompatibleDC
515 *!SkScalerContext_GDI::SkScalerContext_GDI
516 *!LogFontTypeface::onCreateScalerContext
517 *!SkTypeface::createScalerContext
518 *!SkGlyphCache::VisitCache
520 *!SkPaint::descriptorProc
522 *!blink::RenderBlockFlow::layoutBlockFlow
523 *!blink::RenderBlockFlow::layoutBlock
524 *!blink::RenderBlock::layout
527 name=https://github.com/DynamoRIO/drmemory/issues/1545
528 system call NtGdiCreateCompatibleDC
529 GDI32.dll!CreateCompatibleDC
530 skia.dll!LogFontTypeface::onGetTableData
533 name=http://crbug.com/379000
534 system call NtCreate*
536 *!disk_cache::MappedFile::Init
537 *!disk_cache::BlockFiles::OpenBlockFile
538 *!disk_cache::BlockFiles::Init
539 *!disk_cache::BackendImpl::SyncInit
540 *!disk_cache::BackendIO::ExecuteBackendOperation
541 *!base::internal::Invoker<>::Run
542 *!base::MessageLoop::RunTask
543 *!base::MessageLoop::DeferOrRunPendingTask
544 *!base::MessageLoop::DoWork
545 *!base::MessagePumpForIO::DoRunLoop
546 *!base::MessagePumpWin::Run
547 *!base::MessageLoop::RunHandler
549 *!content::BrowserThreadImpl::CacheThreadRun
550 *!content::BrowserThreadImpl::Run
554 system call NtUserCallOneParam.RELEASEDC
556 *!std::_Tree<>::_Erase
557 *!std::_Tree<>::erase
558 *!DefaultSingletonTraits<>::Delete
559 *!Singleton<>::OnExit
560 *!base::AtExitManager::ProcessCallbacksNow
561 *!base::AtExitManager::~AtExitManager
562 *!base::TestSuite::~TestSuite
565 name=http://crbug.com/382784
566 *!content::PepperMediaStreamAudioTrackHost::AudioSink::OnData
567 *!content::MediaStreamAudioSinkOwner::OnData
568 *!content::WebRtcLocalAudioTrack::Capture
569 *!content::WebRtcAudioCapturer::Capture
570 *!media::AudioInputDevice::AudioThreadCallback::Process
571 *!media::AudioDeviceThread::Thread::Run
572 *!media::AudioDeviceThread::Thread::ThreadMain
575 name=IntentionalCrashPluginTest.plugin_client.cc
576 npapi_test_plugin.dll!NP_Initialize
578 *!content::PluginLib::NP_Initialize
579 *!content::PluginThread::PluginThread
580 *!content::PluginMain
583 name=http://crbug.com/313788
584 *!InProcessBrowserTest::AddBlankTabAndShow
585 *!InProcessBrowserTest::CreateBrowser
586 *!*::RunTestOnMainThread
587 *!InProcessBrowserTest::RunTestOnMainThreadLoop
588 *!ChromeBrowserMainParts::PreMainMessageLoopRunImpl
589 *!ChromeBrowserMainParts::PreMainMessageLoopRun
591 # This suppression is deliberately general, as bugs reported in
592 # v8 generated code are difficult to track down. Xref Dr. Memory issue
593 # https://github.com/DynamoRIO/drmemory/issues/1582
595 name=https://github.com/DynamoRIO/drmemory/issues/1582
597 *!v8::internal::Invoke
598 *!v8::internal::Execution::Call
602 name=http://crbug.com/387394
603 system call NtCreateTimer
604 KERNELBASE.dll!CreateWaitableTimerExW
605 KERNEL32.dll!CreateWaitableTimerW
606 *!rtc::Timing::Timing
608 *!content::RenderProcessHostImpl::CreateMessageFilters
609 *!content::RenderProcessHostImpl::Init
610 *!content::RenderViewHostImpl::CreateRenderView
613 name=https://github.com/DynamoRIO/dynamorio/issues/1443
617 name=https://github.com/DynamoRIO/dynamorio/issues/1443 (another instance)
621 name=http://crbug.com/400495
622 aura.dll!aura::Window::Contains
623 aura.dll!aura::WindowEventDispatcher::OnWindowHidden
624 aura.dll!aura::WindowEventDispatcher::OnPostNotifiedWindowDestroying
625 aura.dll!aura::Window::~Window
628 name=http://crbug.com/400511
629 content.dll!content::WebThreadBase::TaskObserverAdapter::WillProcessTask
630 base.dll!base::MessageLoop::RunTask
631 base.dll!base::Thread::StopSoon
632 base.dll!base::MessageLoop::DeferOrRunPendingTask
635 name=http://crbug.com/414675
636 blink_web.dll!blink::toCoreFrame
637 blink_web.dll!blink::RemoteFrameClient::firstChild
638 blink_web.dll!blink::WebRemoteFrameImpl::~WebRemoteFrameImpl
639 blink_web.dll!blink::WebRemoteFrameImpl::close
640 content.dll!content::RenderFrameProxy::~RenderFrameProxy
643 name=http://crbug.com/420311
644 blink_web.dll!blink::Frame::deprecatedLocalOwner
645 blink_web.dll!blink::Document::topDocument
646 blink_web.dll!blink::Document::axObjectCacheOwner
647 blink_web.dll!blink::Document::existingAXObjectCache
648 blink_web.dll!blink::FrameView::removeFromAXObjectCache
649 blink_web.dll!blink::FrameView::prepareForDetach
650 blink_web.dll!blink::LocalFrame::setView
651 blink_web.dll!blink::FrameTree::~FrameTree
654 name=http://crbug.com/432070
655 blink_web.dll!blink::Frame::detach
656 content.dll!content::RenderFrameProxy::OnDeleteProxy
657 content.dll!content::RenderFrameProxy::OnMessageReceived
658 content.dll!content::MessageRouter::RouteMessage
661 name=http://crbug.com/441785
662 system call NtCreateSection
664 *!base::SharedMemory::Create
665 *!base::SharedMemory::CreateAnonymous
666 *!content::ChildThread::AllocateSharedMemory
667 *!content::ChildSharedBitmapManager::AllocateSharedMemoryBitmap
668 *!content::ChildSharedBitmapManager::AllocateSharedBitmap
669 *!cc::ResourceProvider::CreateBitmap
670 *!cc::ResourceProvider::Create*Resource
673 name=http://crbug.com/449989
674 system call NtOpenProcess
675 KERNELBASE.dll!OpenProcess
676 base.dll!base::Process::OpenWithExtraPrivileges
677 content.dll!content::BrowserMessageFilter::Internal::OnChannelConnected
680 name=http://crbug.com/455060
681 *!content::FrameAccessibility::GetParent
682 *!content::RenderFrameHostImpl::AccessibilityGetParentFrame
683 *!content::BrowserAccessibilityManager::GetDelegateFromRootManager
684 *!content::BrowserAccessibilityManager::OnWindowBlurred
686 *!content::RenderWidgetHostViewAura::Destroy
688 INVALID HEAP ARGUMENT
689 name=http://crbug.com/455994
690 drmemorylib.dll!replace_operator_delete
691 *!IPC::Listener::`vector deleting destructor'
692 *!content::RenderFrameImpl::~RenderFrameImpl
693 *!content::RenderFrameImpl::`vector deleting destructor'
694 *!content::RenderViewImpl::~RenderViewImpl
695 *!content::RenderViewImpl::`vector deleting destructor'
696 *!scoped_refptr<>::Release
697 *!base::internal::BindState<>::`scalar deleting destructor'
698 *!scoped_refptr<>::Release
699 *!base::internal::CallbackBase::~CallbackBase
700 *!base::MessagePumpDefault::Run
701 *!base::MessageLoop::RunHandler
702 *!base::MessageLoop::Run
703 *!content::RendererMain
704 *!content::RunNamedProcessTypeMain
705 *!content::ContentMainRunnerImpl::Run
706 *!content::ContentMain
707 *!content::LaunchTests
710 name=http://crbug.com/463204
712 skia.dll!SkPaint::measure_text
713 skia.dll!SkPaint::measureText
714 content.dll!content::DoPreSandboxWarmupForTypeface
715 content.dll!content::`anonymous namespace'::WarmupDirectWrite
718 name=http://crbug.com/487500
719 system call NtCreateEvent
720 ntdll.dll!RtlDosPathNameToNtPathName_U_WithStatus
721 ntdll.dll!RtlDosPathNameToNtPathName_U_WithStatus
722 ntdll.dll!RtlIntegerToUnicodeString
725 name=http://crbug.com/487500b
726 system call NtCreateEvent
727 ntdll.dll!RtlDosPathNameToNtPathName_U_WithStatus
728 ntdll.dll!RtlDosPathNameToNtPathName_U_WithStatus
729 ntdll.dll!RtlEncodePointer