summaryrefslogtreecommitdiffstats
path: root/tools/valgrind/suppressions.txt
blob: 96b2708511f683227a244b46ae4b81d4798105bb (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
{
   Uninitialized value in deflate
   Memcheck:Cond
   fun:longest_match
   fun:deflate_slow
   fun:MOZ_Z_deflate
}
{
   gtk developers don't like cleaning up one-time leaks.  See http://mail.gnome.org/archives/gtk-devel-list/2004-April/msg00230.html
   Memcheck:Leak
   ...
   fun:gtk_init_check
}
{
   Fontconfig leak?
   Memcheck:Leak
   ...
   fun:XML_ParseBuffer
   fun:FcConfigParseAndLoad
}
{
   bug_9245_FcConfigAppFontAddFile_leak
   Memcheck:Leak
   ...
   fun:FcConfigAppFontAddFile
}
{
   dlopen invalid read, probably a bug in glibc.  TODO(dkegel): file glibc bug
   Memcheck:Value4
   ...
   fun:dlopen@@GLIBC_2.1
   fun:PR_LoadLibraryWithFlags
}
{
   NSS/glibc leak.  See also http://sources.redhat.com/bugzilla/show_bug.cgi?id=2451
   Memcheck:Leak
   ...
   fun:dlopen@@GLIBC_2.1
   fun:PR_LoadLibraryWithFlags
}
{
   Pure NSS leak, does not involve glibc.  TODO(dkegel): track down and fix or file bug.
   Memcheck:Leak
   ...
   fun:NSS_NoDB_Init
}
{
   Another pure NSS leak, does not involve glibc.  TODO(dkegel): track down and fix or file bug.  Shows up under --show-reachable=yes.
   Memcheck:Leak
   ...
   fun:SECMOD_LoadUserModule
}
{
   (Probable memory leak in Skia)
   Memcheck:Leak
   fun:_Znwj
   fun:_ZN10SkFontHost15ResolveTypefaceEj
   fun:_ZN24SkScalerContext_FreeType9setupSizeEv
   fun:_ZN24SkScalerContext_FreeType19generateFontMetricsEPN7SkPaint11FontMetricsES2_
   fun:_ZN15SkScalerContext14getFontMetricsEPN7SkPaint11FontMetricsES2_
   fun:_ZN12SkGlyphCacheC1EPK12SkDescriptor
   fun:_ZN12SkGlyphCache10VisitCacheEPK12SkDescriptorPFbPKS_PvES5_
}
{
   Another possible skia leak
   Memcheck:Leak
   fun:_Znwj
   fun:_ZN10SkFontHost15ResolveTypefaceEj
   fun:_ZN24SkScalerContext_FreeType9setupSizeEv
   fun:_ZN24SkScalerContext_FreeType15generateMetricsEP7SkGlyph
   fun:_ZN24SkScalerContext_FreeType15generateAdvanceEP7SkGlyph
   fun:_ZN15SkScalerContext10getAdvanceEP7SkGlyph
   fun:_ZN12SkGlyphCache13lookupMetricsEjNS_11MetricsTypeE
   fun:_ZN12SkGlyphCache17getGlyphIDAdvanceEt
   fun:_Z24sk_getAdvance_glyph_nextP12SkGlyphCachePPKc
   fun:_ZNK7SkPaint12measure_textEP12SkGlyphCachePKcjPiP6SkRect
   fun:_ZNK7SkPaint11measureTextEPKvjP6SkRectf
   fun:_ZNK7SkPaint11measureTextEPKvj
   fun:_ZNK7WebCore14SimpleFontData21platformWidthForGlyphEt
}
{
   Error in ICU
   Memcheck:Overlap
   fun:memcpy
   fun:init_resb_result
}

{
   libc
   Memcheck:Cond
   obj:/lib/ld-2.*.so
   obj:/lib/ld-2.*.so
}

{
   libc
   Memcheck:Addr4
   obj:/lib/ld-2.*.so
   obj:/lib/ld-2.*.so
}

{
   FIXME IPCing uninitialized data
   Memcheck:Param
   socketcall.sendmsg(msg.msg_iov[i])
   fun:sendmsg
   fun:_ZN3IPC7Channel11ChannelImpl4SendEPNS_7MessageE
}

{
   # There is a fix in mainline, http://www.sqlite.org/cvstrac/chngview?cn=5968
   # See also http://article.gmane.org/gmane.comp.db.sqlite.general/43177
   SQLite write
   Memcheck:Param
   write(buf)
   ...
   fun:unixWrite
   fun:sqlite3OsWrite
   fun:writeJournalHdr
}

{
   SQLite (when creating a new database) ?
   Memcheck:Cond
   fun:sqlite3VdbeMemShallowCopy
   fun:sqlite3VdbeExec
   fun:sqlite3Step
}
{
   libevent does not provide a way to clean up unused oneshot timers at exit
   Memcheck:Leak
   fun:calloc
   fun:event_base_once
   fun:event_base_loopexit
   fun:_ZN4base19MessagePumpLibevent3RunEPNS_11MessagePump8DelegateE
}
{
   logging::InitLogging never frees filename. It would be hard to free properly.
   Memcheck:Leak
   ...
   fun:_ZN7logging11InitLoggingEPKcNS_18LoggingDestinationENS_15LogLockingStateENS_20OldFileDeletionStateE
}
{
   Linux tests don't bother to undo net::TestServerLauncher::LoadTestRootCert().
   Memcheck:Leak
   ...
   fun:_ZN3net18TestServerLauncher16LoadTestRootCertEv
}
{
   # Minor commandline options leak in v8
   # See http://code.google.com/p/v8/issues/detail?id=275
   v8_bug_275
   Memcheck:Leak
   fun:_Znaj
   fun:_ZN2v88internal8NewArrayIcEEPT_i
   fun:_ZN2v88internal8FlagList18SetFlagsFromStringEPKci
   fun:_ZN2v82V818SetFlagsFromStringEPKci
}
######### Baseline leaks -- just here to get test_shell_tests green -- fix later ######
{
   # src/webkit/tools/test_shell/node_leak_test.cc:44
   NodeLeakTest_leak_todo
   Memcheck:Leak
   fun:_Znwj
   ...
   fun:_ZN9file_util12AppendToPathEPSbIwSt11char_traitsIwESaIwEERKS3_
   fun:*src_webkit_tools_test_shell_node_leak_test.cc*NodeLeakTest5SetUpEv
   fun:_ZN7testing4Test3RunEv
}
{
   # http://crbug.com/9246
   webcore_renderText_leak_todo
   Memcheck:Leak
   fun:_Znwj
   fun:_ZN10SkFontHost15ResolveTypefaceEj
   fun:_ZN24SkScalerContext_FreeType9setupSizeEv
   fun:_ZN24SkScalerContext_FreeType15generateMetricsEP7SkGlyph
   fun:_ZN24SkScalerContext_FreeType15generateAdvanceEP7SkGlyph
   fun:_ZN15SkScalerContext10getAdvanceEP7SkGlyph
   fun:_ZN12SkGlyphCache13lookupMetricsEjNS_11MetricsTypeE
   fun:_ZN12SkGlyphCache17getGlyphIDAdvanceEt
   fun:_Z24sk_getAdvance_glyph_nextP12SkGlyphCachePPKc
   fun:_ZNK7SkPaint12measure_textEP12SkGlyphCachePKcjPiP6SkRect
   fun:_ZNK7SkPaint11measureTextEPKvjP6SkRectf
   fun:_ZNK7SkPaint11measureTextEPKvj
   fun:_ZNK7WebCore14SimpleFontData21platformWidthForGlyphEt
   fun:_ZNK7WebCore14SimpleFontData13widthForGlyphEt
   fun:_ZN7WebCore13WidthIterator7advanceEiPNS_11GlyphBufferE
   fun:_ZNK7WebCore4Font23floatWidthForSimpleTextERKNS_7TextRunEPNS_11GlyphBufferE
   fun:_ZNK7WebCore4Font10floatWidthERKNS_7TextRunE
   fun:_ZNK7WebCore4Font5widthERKNS_7TextRunE
   fun:_ZNK7WebCore10RenderText14widthFromCacheERKNS_4FontEiii
   fun:_ZN7WebCore10RenderText14calcPrefWidthsEi
   fun:_ZNK7WebCore10RenderText12maxPrefWidthEv
   fun:_ZNK7WebCore10RenderText5widthEjjRKNS_4FontEi
   fun:_ZN7WebCore9textWidthEPNS_10RenderTextEjjRKNS_4FontEibb
   fun:_ZN7WebCore11RenderBlock17findNextLineBreakERNS_12BidiResolverINS_14InlineIteratorENS_7BidiRunEEEbPNS_6EClearE
}
{
   webcore_parse_leak_todo
   Memcheck:Leak
   fun:_Znaj
   fun:_ZN7WebCore17CSSPrimitiveValue6createEdNS0_9UnitTypesE
   fun:_ZN7WebCore9CSSParser10parseValueEib
   fun:_ZN7WebCore9CSSParser12parse4ValuesEiPKib
   fun:_ZN7WebCore9CSSParser10parseValueEib
   fun:_Z10cssyyparsePv
   fun:_ZN7WebCore9CSSParser10parseSheetEPNS_13CSSStyleSheetERKNS_6StringE
   fun:_ZN7WebCore13CSSStyleSheet11parseStringERKNS_6StringEb
   fun:_ZN7WebCore12parseUASheetERKNS_6StringE
   fun:_ZN7WebCore12parseUASheetEPKcj
   fun:_ZN7WebCore22loadSimpleDefaultStyleEv
   fun:_ZN7WebCore16CSSStyleSelectorC1EPNS_8DocumentERKNS_6StringEPNS_14StyleSheetListEPNS_13CSSStyleSheetEbb
   fun:_ZN7WebCore8Document6attachEv
   fun:_ZN7WebCore5Frame11setDocumentEN3WTF10PassRefPtrINS_8DocumentEEE
   fun:_ZN7WebCore11FrameLoader5beginERKNS_4KURLEbPNS_14SecurityOriginE
   fun:_ZN7WebCore11FrameLoader4initEv
   fun:_ZN7WebCore5Frame4initEv
   fun:_ZN12WebFrameImpl13InitMainFrameEP11WebViewImpl
   fun:_ZN7WebView6CreateEP15WebViewDelegateRK14WebPreferences
   fun:_ZN11WebViewHost6CreateEP10_GtkWidgetP15WebViewDelegateRK14WebPreferences
   fun:_ZN9TestShell10InitializeERKSbIwSt11char_traitsIwESaIwEE
   fun:_ZN9TestShell15CreateNewWindowERKSbIwSt11char_traitsIwESaIwEEPPS_
   fun:_ZN13TestShellTest17CreateEmptyWindowEv
   fun:_ZN13TestShellTest5SetUpEv
}
{
   webcore_parse_leak_2_todo
   Memcheck:Leak
   fun:_Znaj
   fun:_ZN7WebCore17CSSPrimitiveValue16createIdentifierEi
   fun:_ZN7WebCore9CSSParser10parseValueEib
   fun:_Z10cssyyparsePv
   fun:_ZN7WebCore9CSSParser10parseSheetEPNS_13CSSStyleSheetERKNS_6StringE
   fun:_ZN7WebCore13CSSStyleSheet11parseStringERKNS_6StringEb
   fun:_ZN7WebCore12parseUASheetERKNS_6StringE
   fun:_ZN7WebCore12parseUASheetEPKcj
   fun:_ZN7WebCore22loadSimpleDefaultStyleEv
   fun:_ZN7WebCore16CSSStyleSelectorC1EPNS_8DocumentERKNS_6StringEPNS_14StyleSheetListEPNS_13CSSStyleSheetEbb
   fun:_ZN7WebCore8Document6attachEv
   fun:_ZN7WebCore5Frame11setDocumentEN3WTF10PassRefPtrINS_8DocumentEEE
   fun:_ZN7WebCore11FrameLoader5beginERKNS_4KURLEbPNS_14SecurityOriginE
   fun:_ZN7WebCore11FrameLoader4initEv
   fun:_ZN7WebCore5Frame4initEv
   fun:_ZN12WebFrameImpl13InitMainFrameEP11WebViewImpl
   fun:_ZN7WebView6CreateEP15WebViewDelegateRK14WebPreferences
   fun:_ZN11WebViewHost6CreateEP10_GtkWidgetP15WebViewDelegateRK14WebPreferences
   fun:_ZN9TestShell10InitializeERKSbIwSt11char_traitsIwESaIwEE
   fun:_ZN9TestShell15CreateNewWindowERKSbIwSt11char_traitsIwESaIwEEPPS_
   fun:_ZN13TestShellTest17CreateEmptyWindowEv
   fun:_ZN13TestShellTest5SetUpEv
}
{
   pango_font_leak_todo
   Memcheck:Leak
   ...
   fun:FcFontRenderPrepare
   obj:*
   fun:pango_font_map_load_fontset
   obj:*
   fun:pango_itemize_with_base_dir
}