[at-spi2-core: 3/6] Add a suppressions file for address-sanitizer
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-core: 3/6] Add a suppressions file for address-sanitizer
- Date: Thu, 7 Jul 2022 22:43:57 +0000 (UTC)
commit e2c9fce57f17b661226e2b31fa2e1e24a4df4eef
Author: Federico Mena Quintero <federico gnome org>
Date: Thu Jul 7 14:52:22 2022 -0500
Add a suppressions file for address-sanitizer
Looks like the leak in
https://gitlab.freedesktop.org/dbus/dbus/-/issues/326 is being
caught.
.gitlab-ci.yml | 5 +++++
ci/address-sanitizer.supp | 5 +++++
2 files changed, 10 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 77a80056..962946a1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -119,6 +119,11 @@ asan-build:
needs: ['opensuse-container@x86_64']
variables:
MESON_EXTRA_FLAGS: "--buildtype=debug -Db_sanitize=address -Db_lundef=false -Dintrospection=no
-Ddocs=false"
+ # Add a suppressions file for address-sanitizer. Looks like libdbus has a minor leak that is hurting
+ # the tests while run with asan. Hopefully this will go away once we convert everything to gdbus.
+ #
+ # https://gitlab.freedesktop.org/dbus/dbus/-/issues/326
+ LSAN_OPTIONS: "suppressions=${CI_PROJECT_DIR}/ci/address-sanitizer.supp"
script:
- CC=clang meson setup ${MESON_EXTRA_FLAGS} --prefix /usr _build .
- meson compile -C _build
diff --git a/ci/address-sanitizer.supp b/ci/address-sanitizer.supp
new file mode 100644
index 00000000..55ead47a
--- /dev/null
+++ b/ci/address-sanitizer.supp
@@ -0,0 +1,5 @@
+# Leak in __dbus_pending_call_new_unlocked
+# https://gitlab.freedesktop.org/dbus/dbus/-/issues/326
+leak:libdbus
+
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]