summaryrefslogtreecommitdiffstats
path: root/tools/lsan/suppressions.txt
blob: 2755c6673fcc9bb4269f4ae0bf4517482593bcae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
# HeapCheck sanity test
leak:base::ToolsSanityTest_MemoryLeak_Test::TestBody

#### Third-party leaks ####

# False positives in libfontconfig. http://crbug.com/39050
leak:libfontconfig

# V8 leak, expect 1024 bytes leaked per process. http://crbug.com/99304
leak:v8::internal::V8::Initialize

# V8 GC issues in ProxyResolver tests, probably harmless. http://crbug.com/67378
leak:net::ProxyResolverV8::SetPacScript
leak:net::(anonymous namespace)::ProxyResolverV8WithMockBindings::SetPacScriptFromDisk
leak:net::(anonymous namespace)::InitResolver
leak:net::ProxyResolverScriptData::FromUTF8

# A small string is leaked here (57 bytes per process). http://crbug.com/46571#c9
leak:WebCore::V8GCController::collectGarbage

# Intentional leak in Blink. http://crbug.com/121729
# TODO(earthdok): annotate it.
leak:WebCore::parseUASheet

# http://crbug.com/270180
leak:net::ProxyResolverV8::Context::ResolveProxy

# NSS leaks in CertDatabaseNSSTest tests. http://crbug.com/51988
leak:net::NSSCertDatabase::ImportFromPKCS12
leak:net::NSSCertDatabase::ListCerts
leak:net::NSSCertDatabase::DeleteCertAndKey
leak:crypto::ScopedTestNSSDB::ScopedTestNSSDB
# Another leak due to not shutting down NSS properly. http://crbug.com/124445
leak:error_get_my_stack

# XRandR has several one time leaks.
leak:libxrandr

# The NSS suppressions above will not fire when the fast stack unwinder is used,
# because it can't unwind through NSS libraries. Apply blanket suppressions for
# now.
leak:libnssutil3
leak:libnspr4
leak:libnss3
leak:libplds4
leak:libnssckbi

# Skia leaks. http://crbug.com/189170
leak:FontConfigTypeface::LegacyCreateTypeface

# Skia leaks GrGpuGL::ProgramCache::Entry. http://crbug.com/262934
leak:GrGpuGL::flushGraphicsState

# xrandr leak. http://crbug.com/119677
leak:XRRFindDisplay

#### Actual bugs in Chromium code ####
# PLEASE DO NOT ADD NEW SUPPRESSIONS TO THIS SECTION. Instead, commits that
# introduce memory leaks should be reverted.

# Small test-only leak in ppapi_unittests. http://crbug.com/258113
leak:ppapi::proxy::PPP_Instance_Private_ProxyTest_PPPInstancePrivate_Test

# Leak in base_unittests. http://crbug.com/268267
leak:base::WeakPtrTest_MoveOwnershipAfterInvalidate_Test::TestBody

# Leak in cc_unittests. http://crbug.com/285174
leak:gpu::gles2::GLES2DecoderImpl::DoBindRenderbuffer
leak:gpu::gles2::GLES2DecoderImpl::DoRenderbufferStorage

# Leak in cc_unittests. http://crbug.com/317965
leak:cc::ThreadProxy::ReadyToFinalizeTextureUpdates

# Leak in cc_unittests. http://crbug.com/317966
leak:cc::TileManager::InitializeTilesWithResourcesForTesting

# Leak in cc_unittests. http://crbug.com/317969
leak:cc::TileManager::ManageTiles

# Leak in cc_unittests. http://crbug.com/317970
leak:cc::FakeTileManager::AssignMemoryToTiles

# Leak in unit_tests. http://crbug.com/309468
leak:TranslateBubbleViewTest::SetUp

# GTK leaks. GTK is deprecated, so we won't be fixing these.
# Most of them should apply to the full browser process only.
leak:StatusIconGtk::UpdatePlatformContextMenu
leak:GlobalMenuBar::GlobalMenuBar
leak:BookmarkBubbleGtk::InitFolderComboModel
leak:TranslateInfoBarBase::CreateLanguageCombobox
leak:GtkNativeViewManager
leak:_gdk_x11_window_get_toplevel
leak:gtk_util::*AppModal

# Infobar-related leaks in browser tests.
# TODO(earthdok): Retriage them once http://crbug.com/62154 is fixed.
leak:chrome::ShowBadFlagsPrompt
leak:TranslateInfoBarDelegate::Create
leak:TranslateLanguageList::TranslateLanguageList
leak:SimpleAlertInfoBarDelegate::Create

# Small shutdown-only leak in browser tests (24 bytes). http://crbug.com/317116
# TODO(earthdok): Either annotate or narrow down the suppression.
leak:content::RenderViewTest::TearDown

# http://crbug.com/318221
leak:base::EnsureProcessTerminated

# PLEASE DO NOT ADD NEW SUPPRESSIONS HERE. See the comment above.