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=http://code.google.com/p/drmemory/issues/detail?id=12 UNADDR
50 SHELL32.dll!SHFileOperation*
53 name=http://code.google.com/p/drmemory/issues/detail?id=40 UNADDR
58 name=http://code.google.com/p/drmemory/issues/detail?id=40 INVALID HEAP
63 name=http://code.google.com/p/drmemory/issues/detail?id=59
65 *!SetEnvironmentVariable*
68 name=http://code.google.com/p/drmemory/issues/detail?id=68 (UNADDR 1)
70 MSWSOCK.dll!WSPStartup
73 name=http://code.google.com/p/drmemory/issues/detail?id=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 http://code.google.com/p/drmemory/issues/detail?id=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 http://code.google.com/p/drmemory/issues/detail?id=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=http://code.google.com/p/drmemory/issues/detail?id=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=http://code.google.com/p/drmemory/issues/detail?id=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 # http://code.google.com/p/drmemory/issues/detail?id=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::drawText
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.dll!base::SharedMemory::Create
465 base.dll!base::SharedMemory::CreateAndMapAnonymous
466 content.dll!content::ChildThread::AllocateSharedMemory
467 content.dll!content::ChildSharedBitmapManager::AllocateSharedBitmap
468 cc.dll!cc::ResourceProvider::CreateBitmap
471 name=http://crbug.com/371357
472 system call NtCreateEvent
473 KERNELBASE.dll!CreateEventExW
474 KERNELBASE.dll!CreateEventW
477 name=http://crbug.com/371368
478 system call NtCreateNamedPipeFile
479 KERNELBASE.dll!CreateNamedPipeW
480 ipc.dll!IPC::Channel::ChannelImpl::CreatePipe
481 ipc.dll!IPC::Channel::ChannelImpl::ChannelImpl
482 ipc.dll!IPC::Channel::Channel
483 ipc.dll!IPC::ChannelProxy::Context::CreateChannel
486 name=http://crbug.com/371942
487 system call NtCreateThreadEx
488 KERNELBASE.dll!CreateRemoteThreadEx
489 KERNEL32.dll!CreateThread
492 name=http://crbug.com/371946
493 system call NtUserWindowFromPoint
494 content.dll!content::LegacyRenderWidgetHostHWND::OnMouseLeave
495 content.dll!content::LegacyRenderWidgetHostHWND::_ProcessWindowMessage
496 content.dll!content::LegacyRenderWidgetHostHWND::ProcessWindowMessage
497 content.dll!ATL::CWindowImplBaseT<>::WindowProc
498 USER32.dll!gapfnScSendMessage
499 USER32.dll!GetThreadDesktop
501 USER32.dll!DispatchMessageW
502 base.dll!base::MessagePumpForUI::ProcessMessageHelper
503 base.dll!base::MessagePumpForUI::ProcessNextWindowsMessage
506 name=http://crbug.com/372177
507 NPCTRL.dll!DllGetClassObject
508 NPCTRL.dll!DllGetClassObject
509 NPCTRL.dll!DllGetClassObject
510 NPCTRL.dll!DllGetClassObject
513 name=http://crbug.com/373333
514 system call NtGdiCreateCompatibleDC
516 *!SkScalerContext_GDI::SkScalerContext_GDI
517 *!LogFontTypeface::onCreateScalerContext
518 *!SkTypeface::createScalerContext
519 *!SkGlyphCache::VisitCache
521 *!SkPaint::descriptorProc
523 *!blink::RenderBlockFlow::layoutBlockFlow
524 *!blink::RenderBlockFlow::layoutBlock
525 *!blink::RenderBlock::layout
528 name=https://code.google.com/p/drmemory/issues/detail?id=1545
529 system call NtGdiCreateCompatibleDC
530 GDI32.dll!CreateCompatibleDC
531 skia.dll!LogFontTypeface::onGetTableData
534 name=http://crbug.com/379000
535 system call NtCreate*
537 *!disk_cache::MappedFile::Init
538 *!disk_cache::BlockFiles::OpenBlockFile
539 *!disk_cache::BlockFiles::Init
540 *!disk_cache::BackendImpl::SyncInit
541 *!disk_cache::BackendIO::ExecuteBackendOperation
542 *!base::internal::Invoker<>::Run
543 *!base::MessageLoop::RunTask
544 *!base::MessageLoop::DeferOrRunPendingTask
545 *!base::MessageLoop::DoWork
546 *!base::MessagePumpForIO::DoRunLoop
547 *!base::MessagePumpWin::Run
548 *!base::MessageLoop::RunHandler
550 *!content::BrowserThreadImpl::CacheThreadRun
551 *!content::BrowserThreadImpl::Run
554 name=http://crbug.com/379204
556 *!WTF::MessageQueue<>::waitForMessageWithTimeout
557 *!blink::WorkerRunLoop::run
558 *!blink::WorkerRunLoop::run
559 *!blink::WorkerThread::workerThread
560 *!WTF::threadEntryPoint
564 system call NtUserCallOneParam.RELEASEDC
566 *!std::_Tree<>::_Erase
567 *!std::_Tree<>::erase
568 *!DefaultSingletonTraits<>::Delete
569 *!Singleton<>::OnExit
570 *!base::AtExitManager::ProcessCallbacksNow
571 *!base::AtExitManager::~AtExitManager
572 *!base::TestSuite::~TestSuite
575 name=http://crbug.com/382784
576 *!content::PepperMediaStreamAudioTrackHost::AudioSink::OnData
577 *!content::MediaStreamAudioSinkOwner::OnData
578 *!content::WebRtcLocalAudioTrack::Capture
579 *!content::WebRtcAudioCapturer::Capture
580 *!media::AudioInputDevice::AudioThreadCallback::Process
581 *!media::AudioDeviceThread::Thread::Run
582 *!media::AudioDeviceThread::Thread::ThreadMain
585 name=http://crbug.com/383408
586 system call NtCreateEvent
588 *!base::internal::LockImpl::Lock
589 *!mojo::system::MessagePipe::RemoveWaiter
590 *!mojo::system::MessagePipeDispatcher::RemoveWaiterImplNoLock
591 *!mojo::system::Dispatcher::RemoveWaiter
592 *!mojo::system::Core::WaitManyInternal
593 *!mojo::system::Core::WaitMany
597 name=IntentionalCrashPluginTest.plugin_client.cc
598 npapi_test_plugin.dll!NP_Initialize
600 *!content::PluginLib::NP_Initialize
601 *!content::PluginThread::PluginThread
602 *!content::PluginMain
605 name=http://crbug.com/313788
606 *!InProcessBrowserTest::AddBlankTabAndShow
607 *!InProcessBrowserTest::CreateBrowser
608 *!*::RunTestOnMainThread
609 *!InProcessBrowserTest::RunTestOnMainThreadLoop
610 *!ChromeBrowserMainParts::PreMainMessageLoopRunImpl
611 *!ChromeBrowserMainParts::PreMainMessageLoopRun
613 # This suppression is deliberately general, as bugs reported in
614 # v8 generated code are difficult to track down. Xref Dr. Memory issue
615 # https://code.google.com/p/drmemory/issues/detail?id=1582
617 name=https://code.google.com/p/drmemory/issues/detail?id=1582
619 *!v8::internal::Invoke
620 *!v8::internal::Execution::Call
624 name=http://crbug.com/387394
625 system call NtCreateTimer
626 KERNELBASE.dll!CreateWaitableTimerExW
627 KERNEL32.dll!CreateWaitableTimerW
628 *!rtc::Timing::Timing
630 *!content::RenderProcessHostImpl::CreateMessageFilters
631 *!content::RenderProcessHostImpl::Init
632 *!content::RenderViewHostImpl::CreateRenderView
635 name=http://code.google.com/p/dynamorio/issues/detail?id=1443
639 name=http://crbug.com/400495
640 aura.dll!aura::Window::Contains
641 aura.dll!aura::WindowEventDispatcher::OnWindowHidden
642 aura.dll!aura::WindowEventDispatcher::OnPostNotifiedWindowDestroying
643 aura.dll!aura::Window::~Window
646 name=http://crbug.com/400511
647 content.dll!content::WebThreadBase::TaskObserverAdapter::WillProcessTask
648 base.dll!base::MessageLoop::RunTask
649 base.dll!base::Thread::StopSoon
650 base.dll!base::MessageLoop::DeferOrRunPendingTask
653 name=http://crbug.com/414675
654 blink_web.dll!blink::toCoreFrame
655 blink_web.dll!blink::RemoteFrameClient::firstChild
656 blink_web.dll!blink::WebRemoteFrameImpl::~WebRemoteFrameImpl
657 blink_web.dll!blink::WebRemoteFrameImpl::close
658 content.dll!content::RenderFrameProxy::~RenderFrameProxy
661 name=http://crbug.com/420311
662 blink_web.dll!blink::Frame::deprecatedLocalOwner
663 blink_web.dll!blink::Document::topDocument
664 blink_web.dll!blink::Document::axObjectCacheOwner
665 blink_web.dll!blink::Document::existingAXObjectCache
666 blink_web.dll!blink::FrameView::removeFromAXObjectCache
667 blink_web.dll!blink::FrameView::prepareForDetach
668 blink_web.dll!blink::LocalFrame::setView
669 blink_web.dll!blink::FrameTree::~FrameTree