From 7f97e5e0fa3f56b4f38efb142a28f687dea16529 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Wed, 18 Oct 2023 16:08:58 +0900 Subject: [PATCH] .gitlab-ci.yml: Add LSan suppressions file This adds a suppression file for Leak Sanitizer to ignore known leaks in libgio-2.0.so. Signed-off-by: Daiki Ueno --- .gitlab-ci.yml | 1 + build/lsan.supp | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 build/lsan.supp diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 27eafb1..35c1f1b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -26,6 +26,7 @@ fedora:asan: before_script: - dbus-uuidgen --ensure script: + - export LSAN_OPTIONS=suppressions=$PWD/build/lsan.supp - meson _build -Db_sanitize=address -Dgtk_doc=false -Dintrospection=false - meson compile -C _build - eval `dbus-launch --sh-syntax` diff --git a/build/lsan.supp b/build/lsan.supp new file mode 100644 index 0000000..665a172 --- /dev/null +++ b/build/lsan.supp @@ -0,0 +1,2 @@ +# https://gitlab.gnome.org/GNOME/glib/-/issues/2312 +leak:async_initable_init_first