From e333733d634a2425fc42c8a2c5ddac2c7659602a Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Sat, 9 Mar 2024 09:30:27 +0100 Subject: [PATCH] tests: Add valgrind suppression for new linker write8 error on Debian testing --- meson.build | 1 + src/valgrind.supp | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 src/valgrind.supp diff --git a/meson.build b/meson.build index f77f7ea..8e3b287 100644 --- a/meson.build +++ b/meson.build @@ -255,6 +255,7 @@ add_test_setup('default', add_test_setup('valgrind', exe_wrapper: [srcdir / 'umockdev-wrapper', 'valgrind', '-q', '--leak-check=full', '--show-possibly-lost=no', + '--gen-suppressions=all', '--suppressions=' + srcdir / 'valgrind.supp', '--errors-for-leak-kinds=definite', '--error-exitcode=33', '--trace-children=yes', '--trace-children-skip=/bin*,/usr/bin/*,/usr/local/bin/*'], timeout_multiplier: 10, diff --git a/src/valgrind.supp b/src/valgrind.supp new file mode 100644 index 0000000..69d55e2 --- /dev/null +++ b/src/valgrind.supp @@ -0,0 +1,11 @@ +# started on Debian testing in March 2024 +{ + dyn_linker_invalid_write + Memcheck:Addr8 + obj:/usr/lib/x86_64-linux-gnu/liblzma.so.5.6.0 + ... + fun:elf_machine_rela + fun:elf_dynamic_do_Rela + fun:_dl_relocate_object + ... +}