forked from flutter/engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
lsan_suppressions.txt
70 lines (54 loc) · 2.7 KB
/
lsan_suppressions.txt
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
# For more information on how to add additional suppressions here go to
# https://github.com/google/sanitizers/wiki/AddressSanitizerLeakSanitizer#suppressions
# The Dart VM has incorrectly annotated false positives that we don't care
# about.
leak:dart::*
# Objective-C class definitions are not leaks.
leak:class_createInstance
# SkSurfaces from Embedder backing stores may not be collected on engine
# shutdown.
# https://github.com/flutter/flutter/issues/42172
leak:MakeSkSurfaceFromBackingStore
# dispatch_once blocks don't cleanup their contents.
leak:_dispatch_once_callout
# Message loops in TLS slots may not be collected.
# https://github.com/flutter/flutter/issues/42174
leak:fml::MessageLoop::EnsureInitializedForCurrentThread
# CFRunLoopSource in MessageLoopDarwin not being collected
# https://github.com/flutter/flutter/issues/42175
leak:wrap_dispatch_source_set_event_handler
# Dispatched platform message that are not handled due to isolate death are
# leaked.
# https://github.com/flutter/flutter/issues/42176
leak:flutter::PlatformViewEmbedder::HandlePlatformMessage
# Service ID platform message is leaked in case the isolate dies before the
# message is received by the same.
# https://github.com/flutter/flutter/issues/42178
leak:flutter::Engine::Run(flutter::RunConfiguration)
# Font families on are leaked when launching the shell.
# https://github.com/flutter/flutter/issues/42179
leak:txt::FontCollection::CreateMinikinFontFamily
leak:CGFontCreateFontsWithURL
leak:txt::GetDefaultFontFamily
# The RefCounted DebugChecks tests intentionally fail to wrap and manage heap
# allocated objects.
leak:RefCountedTest_DebugChecks_Test::TestBody
# Objects allocated by this mock API are intentionally not collected and are
# instead marked as released in order to explicitly assert double free attempts
# and allow some tests to inspect contents.
leak:*flutter/shell/platform/linux/testing/mock_engine.cc
# TODO(bdero): Fix FL leaks: https://github.com/flutter/flutter/issues/90155
leak:*flutter/shell/platform/linux/fl_keyboard_manager_test.cc*
leak:*flutter/shell/platform/linux/fl_key_channel_responder_test.cc*
leak:*flutter/shell/platform/linux/fl_basic_message_channel_test.cc*
leak:fl_message_codec_decode_message
# TODO(bdero): https://github.com/flutter/flutter/issues/90156
# Unfortunately, realloc calls originating from g_realloc effectively obscure
# the trace of the original allocation. Deeper investigation is required to
# identify the original allocation source for these.
# At the time of writing, this only amounts to 4 allocations totaling 512 bytes
# worth of leaks.
leak:g_realloc
# ANGLE's egl impelementation uses annotations that our LSAN setup does
# not respect. Ignore leaks from egl::*
leak:egl::*