blob: 57d0b5dac4204df2a9a98456ad9d1fafe0f4680b (
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
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
|
{
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
}
{
# Possible NSS leak, see http://crbug.com/10750
bug_10750
Memcheck:Leak
fun:calloc
fun:PR_Calloc
...
fun:SECMOD_UnloadUserModule
}
{
# Leak reported by NSS but possibly our fault, see http://crbug/4609
bug_4609
Memcheck:Leak
...
fun:NSS_Shutdown
}
{
(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 epoll uninitialized data 1
Memcheck:Param
epoll_ctl(epfd)
fun:syscall
fun:event_add
}
{
FIXME epoll uninitialized data 2
Memcheck:Param
epoll_ctl(epfd)
fun:syscall
fun:event_del
}
{
FIXME epoll uninitialized data 3
Memcheck:Param
epoll_wait(epfd)
fun:syscall
fun:event_base_loop
}
{
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:sqlite3OsWrite
fun:writeJournalHdr
}
# Fixed in newer SQLite
# http://www.sqlite.org/cvstrac/tktview?tn=3326
# http://www.sqlite.org/cvstrac/tktview?tn=3575
# (Caller of sqlite3VdbeExec is either sqlite3Step or its wrapper sqlite3_step)
{
SQLite_bug_3326
Memcheck:Cond
fun:sqlite3VdbeMemShallowCopy
fun:sqlite3VdbeExec
fun:sqlite3*tep
}
# SQLite intentionally leaks a little memory in findLockInfo() in sqlite3_open
# Newer versions don't do this.
# See http://www.mail-archive.com/sqlite-users@sqlite.org/msg02334.html
# and http://www.mail-archive.com/sqlite-users@sqlite.org/msg30449.html
{
sqlite_open_leak
Memcheck:Leak
...
fun:findLockInfo
fun:unixOpen
fun:sqlite3OsOpen
}
{
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
}
{
# uitest's ResourceDispatcherTest.CrossSiteAfterCrash crashes on purpose
Intentional_crash
Memcheck:Addr4
fun:_ZN12AboutHandler10AboutCrashEv
}
{
# 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:_ZN2v88internal8FlagList18SetFlagsFromStringEPKci
}
######### 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
}
{
# See http://crbug.com/6522
bug_6522
Memcheck:Param
write(buf)
...
fun:fwrite
fun:_ZN12DownloadFile16AppendDataToFileEPKci
fun:_ZN19DownloadFileManager14UpdateDownloadEiP14DownloadBuffer
}
{
# Chromium flakily leaks tasks at shutdown, see
# http://crbug.com/6532
# http://codereview.chromium.org/20067
# http://codereview.chromium.org/42083
# To reproduce, run ipc tests
# This is the -O0 case
# In Purify, they don't even try to free them anymore.
# For now, in Valgrind, we'll add suppressions to ignore these leaks.
bug_6532
Memcheck:Leak
fun:_Znwj
fun:_Z17NewRunnableMethodIN3IPC12ChannelProxy7ContextEMS2_FvvEEP14CancelableTaskPT_T0_
}
{
# See http://crbug.com/6532
# This is the -O1 case
bug_6532b
Memcheck:Leak
...
fun:_ZN3IPC12ChannelProxy7Context14OnChannelErrorEv
fun:_ZN3IPC7Channel11ChannelImpl28OnFileCanReadWithoutBlockingEi
}
{
# See http://crbug.com/9450
v8_bindings_leak_crbug_9450
Memcheck:Leak
fun:_Znwj
fun:_ZN7WebCore7V8Proxy20RegisterGlobalHandleENS_16GlobalHandleTypeEPvN2v810PersistentINS3_5ValueEEE
}
{
# Font memory leak. See http://crbug.com/9475
bug_9475
Memcheck:Leak
fun:_Znwj
fun:_ZN7WebCore9FontCache22createFontPlatformDataERKNS_15FontDescriptionERKNS_12AtomicStringE
}
{
# V8 leak? See http://crbug.com/9458
bug_9458
Memcheck:Leak
fun:_Znwj
fun:_NPN_RegisterObject
fun:_Z25CreateV8ObjectForNPObjectP8NPObjectS0_
}
{
# webkit leak? See http://crbug.com/9503
bug_9503
Memcheck:Leak
...
fun:_ZN19TestWebViewDelegate24UpdateSelectionClipboardEb
}
{
# skia memory leak? See http://crbug.com/9757
bug_9757
Memcheck:Leak
fun:_Znwj
fun:_ZN10SkFontHost12FindTypefaceEPK10SkTypefacePKcNS0_5StyleE
fun:_ZN10SkTypeface6CreateEPKcNS_5StyleE
}
{
# real leak; see http://crbug.com/10738
bug_10738
Memcheck:Leak
...
fun:_ZN20NavigationController22NavigateToPendingEntryEb
fun:_ZN20NavigationController9LoadEntryEP15NavigationEntry
fun:_ZN20NavigationController7LoadURLERK4GURLS2_j
}
{
# see http://crbug.com/10737
bug_10737
Memcheck:Leak
fun:calloc
fun:g_malloc0
fun:g_closure_new_simple
fun:g_cclosure_new
fun:_ZN16BrowserWindowGtk19ConnectAcceleratorsEv
fun:_ZN16BrowserWindowGtkC1EP7Browser
fun:_ZN13BrowserWindow19CreateBrowserWindowEP7Browser
}
{
# see http://crbug.com/10747
bug_10747
Memcheck:Leak
fun:_Znwj
fun:_ZN18WebContentsViewGtk19CreateViewForWidgetEP16RenderWidgetHost
fun:_ZN11WebContents32CreateRenderViewForRenderManagerEP14RenderViewHost
}
{
# one more from http://crbug.com/10747
bug_10747b
Memcheck:Leak
fun:_Znwj
fun:_ZN18TabContentsViewGtk19CreateViewForWidgetEP16RenderWidgetHost
}
{
# see http://crbug.com/10748
bug_10748
Memcheck:Leak
fun:_Znwj
fun:_ZN22RendererSecurityPolicy3AddEi
fun:_ZN24BrowserRenderProcessHost4InitEv
fun:_ZN14RenderViewHost16CreateRenderViewEv
}
{
# See http://crbug.com/10755 (1/2)
bug_10755
Memcheck:Leak
fun:_Znwj
...
fun:_ZN12RenderThread12RemoveFilterEPN3IPC12ChannelProxy13MessageFilterE
}
{
# See http://crbug.com/10755 (2/2)
bug_10755b
Memcheck:Leak
fun:_Znwj
fun:_ZN3IPC12ChannelProxy5CloseEv
fun:_ZN3IPC11SyncChannelD0Ev
fun:_ZN11ChildThread7CleanUpEv
fun:_ZN12RenderThread7CleanUpEv
}
{
# See http://crbug.com/10758
bug_10758
Memcheck:Leak
fun:_Znwj
fun:_ZN14MetricsService17GetPluginListTask3RunEv
fun:_ZN11MessageLoop7RunTaskEP4Task
}
{
# See http://crbug.com/10871
bug_10871
Memcheck:Leak
fun:_Znwj
fun:_ZNSs4_Rep9_S_createEjjRKSaIcE
fun:_ZNSs4_Rep8_M_cloneERKSaIcEj
fun:_ZNSs7reserveEj
fun:_ZNK4GURL27ResolveWithCharsetConverterERKSsPN9url_canon16CharsetConverterE
fun:_ZNK4GURL7ResolveERKSs
fun:_ZN17URLRequestHttpJob18IsRedirectResponseEP4GURLPi
}
{
# See http://crbug.com/10873
bug_10873
Memcheck:Leak
fun:_Znwj
fun:_ZNSs4_Rep9_S_createEjjRKSaIcE
fun:_ZNSs4_Rep8_M_cloneERKSaIcEj
fun:_ZNSs7reserveEj
fun:_ZNK4GURL17ReplaceComponentsERKN9url_canon12ReplacementsIcEE
fun:_ZN13URLRequestJob21NotifyHeadersCompleteEv
fun:_ZN17URLRequestHttpJob21NotifyHeadersCompleteEv
fun:_ZN17URLRequestHttpJob16OnStartCompletedEi
}
{
# See http://crbug.com/10945
bug_10945
Memcheck:Leak
fun:malloc
fun:jpeg_get_small
fun:jinit_memory_mgr
fun:jpeg_CreateDecompress
fun:_ZN9JPEGCodec6DecodeEPKhjNS_11ColorFormatEPSt6vectorIhSaIhEEPiS7_
fun:_ZN30JPEGCodec_DecodeCorrupted_Test8TestBodyEv
}
{
# See http://crbug.com/11116
bug_11116a
Memcheck:Leak
fun:_Znwj
fun:_ZN11ChildThread21OnProcessFinalReleaseEv
}
{
# See http://crbug.com/11116
bug_11116b
Memcheck:Leak
fun:_Znwj
fun:_ZN11ChildThread14OnChannelErrorEv
fun:_ZN3IPC12ChannelProxy7Context15OnDispatchErrorEv
}
{
# See http://crbug.com/11117
bug_11117
Memcheck:Leak
fun:_Znwj
fun:_ZN3IPC12ChannelProxy4SendEPNS_7MessageE
...
fun:_ZN24RendererWebKitClientImpl24suddenTerminationChangedEb
}
{
# See http://crbug.com/11139
bug_11139
Memcheck:Leak
fun:_Znwj
fun:_ZN14ProcessWatcher23EnsureProcessTerminatedEi
}
{
# See http://crbug.com/11144
# This suppression is loose enough to match at least two message leaks
bug_11144
Memcheck:Leak
fun:_Znwj
fun:_ZN3IPC12ChannelProxy4SendEPNS_7MessageE
fun:_ZN3IPC11SyncChannel15SendWithTimeoutEPNS_7MessageEi
fun:_ZN3IPC11SyncChannel4SendEPNS_7MessageE
fun:_ZN11ChildThread4SendEPN3IPC7MessageE
fun:_ZN12RenderThread4SendEPN3IPC7MessageE
}
|