summaryrefslogtreecommitdiffstats
path: root/tools/wine_valgrind/chromium-valgrind-suppressions
blob: 40d791e56ceb50a75e8efe66ec255cd5e9cc0431 (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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
# Chromium-specific suppressions
{
   dont_valgrind_python_1
   Memcheck:Cond
   ...
   obj:*python*
}
{
   dont_valgrind_python_2
   Memcheck:Value4
   ...
   obj:*python*
}
{
   dont_valgrind_python_3
   Memcheck:Addr4
   ...
   obj:*python*
}
{
   wine_bug_20551_as_seen_by_chromium
   Memcheck:Leak
   ...
   fun:RtlAllocateHeap
   ...
   fun:GlobalAlloc
   ...
   fun:Clipboard::WriteObjects
}
{
   suppress_chromium_crasher
   Memcheck:Addr1
   ...
   fun:*Test_Crasher*
}
{
   ignore_mozilla_errors
   Memcheck:Cond
   obj:*/ImporterTest/profile/mozcrt19.dll
}
{
   ignore_mozilla_errors2
   Memcheck:Cond
   obj:*/chrome/test/data/firefox3_nss/mozcrt19.dll
}
{
   ignore_gears_errors
   Memcheck:Addr4
   obj:*/gears.dll
}
{
   ignore_nss_decryptor_init_errors
   Memcheck:Leak
   fun:RtlAllocateHeap
   ...
   fun:NSSDecryptor::Init
}
{
   # cannot reproduce this one locally, not sure why this is happening in libstdc++.
   ignore_error_in_std_locale
   Memcheck:Addr4
   ...
   fun:std::locale::~locale
   ...
   fun:testing::Message::~Message
   fun:testing::AssertionResult::operator<<<enum net::LoadLog::EventPhase>
   fun:net::LogContains
   fun:SSLClientSocketTest_ConnectExpired_Test::TestBody
}
# Not sure why Valgrind started to think everything happening in the
# usr1_handler is invalid. Can't seem to reproduce these locally.
# This happens in URLFetcherTest.SameThreadsTest.
{
   ignore_wine_ntdll_usr1_handler_a
   Memcheck:Addr1
   ...
   fun:usr1_handler
}
{
   ignore_wine_ntdll_usr1_handler_b
   Memcheck:Addr2
   ...
   fun:usr1_handler
}
{
   ignore_wine_ntdll_usr1_handler_c
   Memcheck:Addr4
   ...
   fun:usr1_handler
}
{
   # This occurs at the same time as the usr1_handler errors above.
   ignore_wine_ntdll_no_symbol
   Memcheck:Addr4
   obj:.*ntdll.dll.so
}
{
   # mysterious leaks in rsaenh.dll.so, no symbols / incorrect symbols.
   ignore_wine_rsaenh_no_symbols
   Memcheck:Leak
   fun:RtlAllocateHeap
   obj:*rsaenh.dll.so

}
{
   # Maybe a leak in _strtoi64() ?? StringToInt64() seems to be leak free.
   ignore_strtio64_leak
   Memcheck:Leak
   fun:RtlAllocateHeap
   ...
   fun:StringToInt64
   fun:net::HttpResponseHeaders::ParseStatusLine
}
{
   # A leak in _wfopen_s() ?? ReadFileToString() behaves correctly.
   ignore_wfopen_s_leak
   Memcheck:Leak
   fun:RtlAllocateHeap
   ...
   fun:_wfopen_s
   fun:file_util::ReadFileToString
   fun:FileReader::ReadFileOnBackgroundThread
}
{
   # Leaking an 8 byte Clipboard object in the test code.
   ignore_get_clipboard
   Memcheck:Leak
   fun:RtlAllocateHeap
   ...
   fun:operator new
   fun:TestViewsDelegate::GetClipboard
   fun:views::NativeTextfieldWin::OnCopy
}
{
   wine_bug_20692_a
   Memcheck:Leak
   ...
   fun:CryptImportKey
   fun:CRYPT_ImportRsaPublicKeyInfoEx
   fun:CryptImportPublicKeyInfoEx
   fun:CryptImportPublicKeyInfo
   fun:base::SignatureVerifier::VerifyInit
}
{
   wine_bug_20692_b
   Memcheck:Leak
   ...
   fun:CryptGenKey
   fun:base::RSAPrivateKey::Create
}
{
   wine_bug_21260
   Memcheck:Leak
   fun:RtlAllocateHeap
   ...
   fun:ranges_add
   fun:set_main_item
   fun:LISTVIEW_SetItemT
   fun:LISTVIEW_SetItemState

}
{
   # Boy, oh, boy do we need a better way to deal with this.
   # See https://bugs.kde.org/show_bug.cgi?id=190660
   valgrind_bug_190660
   Memcheck:Addr4
   fun:strlen
}
{
   # Boy, oh, boy do we need a better way to deal with this.
   # See https://bugs.kde.org/show_bug.cgi?id=190660
   valgrind_bug_190660
   Memcheck:Addr4
   fun:strcmp
}
{
   # Boy, oh, boy do we need a better way to deal with this.
   # See https://bugs.kde.org/show_bug.cgi?id=190660
   valgrind_bug_190660
   Memcheck:Addr4
   fun:strchr
}
{
   # Boy, oh, boy do we need a better way to deal with this.
   # See https://bugs.kde.org/show_bug.cgi?id=190660
   valgrind_bug_190660
   Memcheck:Addr4
   fun:strcat
}
{
   # Boy, oh, boy do we need a better way to deal with this.
   # See https://bugs.kde.org/show_bug.cgi?id=190660
   valgrind_bug_190660
   Memcheck:Addr4
   fun:strncpy
}
{
   # Same leak exists in src/tools/valgrind/memcheck/suppressions.txt
   # with a mangled stack signature.
   intentional_ChromeThreadTest_NotReleasedIfTargetThreadNonExistent_Test_leak
   Memcheck:Leak
   ...
   fun:operator new
   fun:ChromeThreadTest_NotReleasedIfTargetThreadNonExistent_Test::TestBody
   fun:testing::Test::Run
}
# From src/tools/valgrind/memcheck/suppressions.txt
# TODO(thestig) dedup / merge
{
   Uninitialized value in deflate
   Memcheck:Cond
   ...
   fun:MOZ_Z_deflate
}
{
   bug_15276
   Memcheck:Cond
   fun:cld::OctaHashV3Lookup4
   fun:cld::DoOctaScoreV3
   fun:ScoreQuadgrams
   fun:CompactLangDetImpl::DetectLanguageSummaryV25
   fun:CompactLangDet::DetectLanguage
}
{
   bug_20653a
   Memcheck:Param
   write(buf)
   ...
   fun:sqlite3OsWrite
   fun:pager_write_pagelist
}
# End of suppressions that need de-duping.
{
   bug_30547
   Memcheck:Leak
   ...
   fun:operator new
   fun:ImportantFileWriter::WriteNow
   fun:BookmarkStorage::SaveNow
   fun:BookmarkStorage::BookmarkModelDeleted
}
{
   bug_30584
   Memcheck:Cond
   fun:IconUtil::PixelsHaveAlpha
   fun:IconUtil::CreateSkBitmapFromHICON
   fun:TaskManagerBrowserProcessResource::TaskManagerBrowserProcessResource
}
{
   bug_30614
   Memcheck:Cond
   fun:strncpy
   fun:AffixMgr::parse_affix
   ...
   fun:SpellCheck::InitializeHunspell
}
{
   bug_31640
   Memcheck:Leak
   fun:RtlAllocateHeap
   ...
   fun:xmlGetGlobalState
   fun:__xmlGenericError
   fun:ScopedXmlErrorFunc::ScopedXmlErrorFunc
   fun:UpdateManifest::Parse
}
{
   bug_31643
   Memcheck:Leak
   ...
   fun:operator new
   fun:browser_sync::BookmarkModelWorker::CallDoWorkFromModelSafeThreadAndWait
   fun:Syncer::SyncShare
}
{
   bug_31644
   Memcheck:Leak
   ...
   fun:operator new
   fun:NewRunnableMethod<ExtensionsServiceBackend,void (__thiscall ExtensionsServiceBackend::*)(void)>
   fun:ExtensionsService::ClearProvidersForTesting
}
{
   # TODO(thestig) investigate why this is happening
   todo_net_unittest1
   Memcheck:Leak
   ...
   fun:net::TCPClientSocketWin::Read
   fun:net::HttpStreamParser::DoReadHeaders
   ...
   fun:net::HttpNetworkTransaction::OnIOComplete
}
{
   # TODO(thestig) investigate why this is happening
   # This is a bit flaky, but it happens with both
   # FLAKY_FTPDirectoryListing_Test and FLAKY_FTPCacheLoginBoxCredentials_Test
   todo_net_unittest2
   Memcheck:Leak
   ...
   fun:net::TCPClientSocketWin::Read
   fun:net::FtpNetworkTransaction::DoCtrlRead
   fun:net::FtpNetworkTransaction::DoLoop
   fun:net::FtpNetworkTransaction::OnIOComplete
   fun:DispatchToMethod<net::FtpNetworkTransaction,void (__thiscall net::FtpNetworkTransaction::*)(int),int;>
}