mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-26 22:22:22 +00:00
tests: Add an address sanitizer suppression file
There are two places where we deliberately leak some memory. There are some cases which look like leaks in libostree but it's not impossible that we made a mistake in flatpak. Two other cases seem like issues in flatpak that I couldn't figure out.
This commit is contained in:
parent
dad0160eee
commit
5fc86a865c
10
tests/flatpak-asan.supp
Normal file
10
tests/flatpak-asan.supp
Normal file
@ -0,0 +1,10 @@
|
||||
# GOnce, deliberately leaking once per process
|
||||
leak:flatpak_get_user_base_dir_location
|
||||
leak:flatpak_get_system_default_base_dir_location
|
||||
# external (libostree)
|
||||
leak:static_delta_part_execute_thread
|
||||
leak:_ostree_static_delta_part_open
|
||||
# Bugs in our code
|
||||
# Take a look at them and try to figure out what's going on!
|
||||
leak:flatpak_authenticator_request_proxy_new_for_bus_sync
|
||||
leak:flatpak_authenticator_proxy_new_for_bus_sync
|
||||
@ -37,7 +37,7 @@ tests_environment_prepend = {
|
||||
'PATH' : project_build_root / 'app',
|
||||
}
|
||||
|
||||
lsan_options = 'log_threads=1'
|
||||
lsan_options = 'log_threads=1:suppressions=' + meson.current_source_dir() / 'flatpak-asan.supp'
|
||||
|
||||
if get_option('installed_tests')
|
||||
configure_file(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user