master
txt 27 lines 1.02 KB
Raw
1 # SPDX-License-Identifier: GPL-2.0-or-later
2
3 # This is a set of suppressions for LeakSanitizer; you can use it by setting
4 # LSAN_OPTIONS="suppressions=/path/to/scripts/lsan_suppressions.txt"
5 # when running a QEMU built with the leak-sanitizer.
6
7 # The tcmalloc on Fedora37 confuses things
8 leak:/lib64/libtcmalloc_minimal.so.4
9
10 # libxkbcommon also leaks in qemu-keymap
11 leak:/lib64/libxkbcommon.so.0
12
13 # libfontconfig leaks are notorious, for ex
14 # https://gitlab.freedesktop.org/fontconfig/fontconfig/-/work_items/519
15 leak:libfontconfig.so
16
17 # g_set_user_dirs() deliberately leaks the previous cached g_get_user_*
18 # values. This is documented in upstream glib's valgrind-format
19 # suppression file:
20 # https://github.com/GNOME/glib/blob/main/tools/glib.supp
21 # This avoids false positive leak reports for the qga-ssh-test.
22 leak:g_set_user_dirs
23
24 # spice_server_add_interface allocates internal channel data that
25 # spice_server_destroy does not free
26 # https://gitlab.freedesktop.org/spice/spice/-/merge_requests/246
27 leak:spice_server_add_interface