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
126 ffmpegsumo.dll!vp8_decode_mb_row_no_filter
128 ############################
129 # Intentional errors in Chromium tests (ToolsSanityTests)
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
136 # "..." is needed due to http://code.google.com/p/drmemory/issues/detail?id=666
138 name=sanity test 02 (malloc/read left)
139 base_unittests.exe!*ReadValueOutOfArrayBoundsLeft
141 base_unittests.exe!base::ToolsSanityTest_AccessesToMallocMemory_Test::TestBody
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
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
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
161 # "..." is needed due to http://code.google.com/p/drmemory/issues/detail?id=666
163 name=sanity test 06 (new/read left)
164 base_unittests.exe!*ReadValueOutOfArrayBoundsLeft
166 base_unittests.exe!base::ToolsSanityTest_AccessesToNewMemory_Test::TestBody
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
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
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
187 name=sanity test 10 (write after free)
188 base_unittests.exe!base::ToolsSanityTest_AccessesToMallocMemory_Test::TestBody
191 name=sanity test 11 (write after delete)
192 base_unittests.exe!base::ToolsSanityTest_AccessesToNewMemory_Test::TestBody
194 INVALID HEAP ARGUMENT
195 name=sanity test 12 (array deleted without [])
196 base_unittests.exe!base::ToolsSanityTest_ArrayDeletedWithoutBraces_Test::TestBody
198 INVALID HEAP ARGUMENT
199 name=sanity test 13 (single element deleted with [])
200 base_unittests.exe!base::ToolsSanityTest_SingleElementDeletedWithBraces_Test::TestBody
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
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
215 name=AboutHandler::AboutCrash deliberate crash
216 # TODO(bruening): switch to annotation once have support for that
217 chrome.dll!AboutHandler::AboutCrash
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
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
231 # Deliberate NULL deref to crash the child process
233 name=CrashingChildProcess deliberate crash
234 *!CrashingChildProcess
237 name=::Crasher::Run deliberate crash
238 *!base::`anonymous namespace'::Crasher::Run
240 ############################
241 # Benign issues in Chromium
244 name=http://crbug.com/72463 - prefetches in generated MemCopy
245 instruction=prefetch*
247 chrome.dll!v8::internal::CopyChars*
250 name=prefetches in NVD3DUM.dll
251 instruction=prefetch*
255 name=prefetches in igdumd32.dll
256 instruction=prefetch*
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*
264 INVALID HEAP ARGUMENT
265 name=http://crbug.com/101537
266 *!scoped_ptr<_TOKEN_USER>*
268 INVALID HEAP ARGUMENT
269 name=http://crbug.com/101717 (1)
270 *!scoped_ptr<_TOKEN_DEFAULT_DACL>*
272 INVALID HEAP ARGUMENT
273 name=http://crbug.com/101717 (2)
274 *!sandbox::PolicyBase::~PolicyBase
276 INVALID HEAP ARGUMENT
277 name=http://crbug.com/101717 (3)
278 *!scoped_ptr<_UNICODE_STRING>::~scoped_ptr<_UNICODE_STRING>
279 *!sandbox::GetHandleName
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
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'
292 ############################
293 # Real issues in Chromium
296 name=http://crbug.com/88213
297 *!base::win::ObjectWatcher::StopWatching
298 *!base::win::ObjectWatcher::WillDestroyCurrentMessageLoop
299 *!MessageLoop::~MessageLoop
302 name=http://crbug.com/96010
303 *!TestingProfile::FinishInit
304 *!TestingProfile::TestingProfile
305 *!BrowserAboutHandlerTest_WillHandleBrowserAboutURL_Test::TestBody
308 name=http://crbug.com/106522
309 npapi_test_plugin.dll!NPAPIClient::PluginTest::id
310 npapi_test_plugin.dll!NPAPIClient::ExecuteGetJavascriptUrlTest::TimerProc
312 # Bad GDI teardown sequence.
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.
319 *!skia::BitmapPlatformDevice::BitmapPlatformDeviceData::~BitmapPlatformDeviceData
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.
327 *!skia::BitmapPlatformDevice::BitmapPlatformDeviceData::ReleaseBitmapDC
330 name=http://crbug.com/109963 c
331 system call NtGdiDeleteObjectApp
336 name=http://crbug.com/109963 d
337 system call NtGdiDeleteObjectApp
339 *!base::internal::RunnableAdapter*
341 # GDI usage errors in 3rd-party components
343 name=http://crbug.com/119552 a
344 system call NtGdiDeleteObjectApp
349 name=http://crbug.com/119552 b
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!*"
362 shell32.dll!SHGetFileInfoW
363 *!IconLoader::ReadIcon
366 name=http://crbug.com/119552 d
367 system call NtGdiDeleteObjectApp
368 gdi32.dll!DeleteObject
374 name=http://crbug.com/120157
375 # "ReleaseDC called from different thread than GetDC"
376 system call NtUserCallOneParam.RELEASEDC
377 *!*FontCache::CacheElement::~CacheElement
380 name=http://crbug.com/158090
381 # "DC created by one thread and used by another"
383 content.dll!content::*::FontCache::PreCacheFont
384 content.dll!content::FontCacheDispatcher::OnPreCacheFont
385 content.dll!DispatchToMethod<content::FontCacheDispatcher*
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*
396 INVALID HEAP ARGUMENT
397 name=http://crbug.com/158350
398 # allocated with operator new[], freed with operator delete
419 name=Security test (new oveflow)
420 MSVCR100D.dll!operator new
423 *!`anonymous namespace'::SecurityTest_NewOverflow_Test::TestBody
424 *!testing::internal::HandleExceptionsInMethodIfSupported<testing::Test,void>
427 name=Security test (calloc overflow)
428 *!`anonymous namespace'::CallocReturnsNull
429 *!`anonymous namespace'::SecurityTest_CallocOverflow_Test::TestBody
430 *!testing::internal::HandleExceptionsInMethodIfSupported<testing::Test,void>
433 name=http://crbug.com/234484
434 # "DC created by one thread and used by another"
436 *!chrome::`anonymous namespace'::SetOverlayIcon
438 INVALID HEAP ARGUMENT
439 name=http://crbug.com/262088
440 drmemorylib.dll!av_dup_packet
442 ntdll.dll!RtlIsCurrentThreadAttachExempt
443 ntdll.dll!LdrShutdownThread
444 ntdll.dll!RtlExitUserThread
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