blob: d6891ae3cf12f2a374b26a24c2b2a16ca92cfedc [file] [log] [blame]
# 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::*