From d074e910df8324142a97e67881b8b229117d3ed0 Mon Sep 17 00:00:00 2001 From: Matan Breizman Date: Thu, 8 Jun 2023 14:14:15 +0000 Subject: [PATCH] qa/lsan.supp: update heap_profiler suppression and ASAN_OPTIONS In continuation to: 8c099a534044bf7182e04f250e342aab76bc3e54 Regsiter singleton leak seems to be replaced by: ``` ----------------------------------------------------- Suppressions used: count bytes template 1 8 ^InitModule ----------------------------------------------------- ``` In similarity to Crimson's suppression: 6ed8d839b421442a64410444ca8f88f157ae28b3 Signed-off-by: Matan Breizman --- qa/lsan.supp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qa/lsan.supp b/qa/lsan.supp index 545e76ad1fa27..f63c4cf0e1e47 100644 --- a/qa/lsan.supp +++ b/qa/lsan.supp @@ -1,10 +1,11 @@ # leak suppressions needed to run vstart.sh with WITH_ASAN=ON # to enable, add this to the environment: # LSAN_OPTIONS="suppressions=../qa/lsan.supp" +# export ASAN_OPTIONS="detect_odr_violation=0" # from perfglue/heap_profiler.cc # gperftools allocates a singleton and never frees it -leak:^MallocExtension::Register +leak:^InitModule # from src/ceph.in # python3.6 -- 2.39.5