From 6ac64c02618cdabf394abdd0963f5aefc84a9af7 Mon Sep 17 00:00:00 2001 From: Leonard Grey <lgrey@chromium.org> Date: Wed, 3 May 2023 21:04:14 +0000 Subject: [PATCH] Mac LSAN: Add some (temporary?) suppressions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It's not clear yet if these two are fixable or not, but we are positive that they're not *Chromium*'s fault, so let's not clutter up the FYI bot with their failures. Bug: 1320449 Change-Id: I05c4283aed832fb52707c2436b551be9a93cc09e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4504097 Auto-Submit: Leonard Grey <lgrey@chromium.org> Commit-Queue: Leonard Grey <lgrey@chromium.org> Reviewed-by: Peter Boström <pbos@chromium.org> Cr-Commit-Position: refs/heads/main@{#1139106} --- build/sanitizers/lsan_suppressions.cc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build/sanitizers/lsan_suppressions.cc b/build/sanitizers/lsan_suppressions.cc index 82e5df1711b91..13ce3c4cf89d1 100644 --- a/build/sanitizers/lsan_suppressions.cc +++ b/build/sanitizers/lsan_suppressions.cc @@ -101,6 +101,14 @@ char kLSanDefaultSuppressions[] = // Suppress leak in DelayedCallbackGroup test. crbug.com/1279563 "leak:DelayedCallbackGroup_TimeoutAndRun_Test\n" #endif +#if BUILDFLAG(IS_MAC) + // These are caused by the system, but not yet clear if they are false + // positives or bugs in the Mac LSAN runtime. Suppress while investigating. + // TODO(https://crbug.com/1320449): Remove these if/when fixed in macOS + // or the runtime. + "leak:_ensureAuxServiceAwareOfHostApp\n" + "leak:cssmErrorString\n" +#endif // PLEASE READ ABOVE BEFORE ADDING NEW SUPPRESSIONS.