spice/server/tests/valgrind/spice.supp
Frediano Ziglio e39412644c ci: Ignore a leak in glib threading pool
The leak is detected by Valgrind on Fedora 34as:

==19603== 400 bytes in 1 blocks are possibly lost in loss record 2,296 of 2,441
==19603==    at 0x4845464: calloc (vg_replace_malloc.c:1117)
==19603==    by 0x40135FB: _dl_allocate_tls (in /usr/lib64/ld-2.33.so)
==19603==    by 0x57EB008: pthread_create@@GLIBC_2.2.5 (in /usr/lib64/libpthread-2.33.so)
==19603==    by 0x53A1130: UnknownInlinedFun (gthread-posix.c:1323)
==19603==    by 0x53A1130: g_thread_new_internal (gthread.c:931)
==19603==    by 0x53C4953: g_thread_pool_start_thread.constprop.0 (gthreadpool.c:477)
==19603==    by 0x53A2902: g_thread_pool_push (gthreadpool.c:691)
==19603==    by 0x519AE11: g_task_run_in_thread_sync (gtask.c:1593)
==19603==    by 0x80D8A74: ??? (in /usr/lib64/gio/modules/libgiolibproxy.so)
==19603==    by 0x5181966: g_proxy_address_enumerator_next (gproxyaddressenumerator.c:176)
==19603==    by 0x519281A: g_socket_client_connect (gsocketclient.c:1098)

Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
Acked-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-05-05 06:36:14 +01:00

138 lines
2.2 KiB
Plaintext

{
px_proxy_factory_get_proxies
Memcheck:Leak
fun:malloc
fun:tls_get_addr_tail
...
fun:px_proxy_factory_get_proxies
}
{
px_proxy_factory_get_proxies2
Memcheck:Leak
fun:malloc
...
fun:__tls_get_addr
...
fun:px_proxy_factory_get_proxies
}
{
gnutls_tls_rnd_leak
Memcheck:Leak
fun:malloc
...
fun:__tls_get_addr
...
fun:gnutls_rnd
}
{
gnutls_tls_p11_kit_leak
Memcheck:Leak
fun:malloc
...
fun:__tls_get_addr
...
fun:p11_kit_modules_load
}
{
gnutls_x509_ext_import_subject_alt_names
Memcheck:Cond
...
fun:gnutls_x509_ext_import_subject_alt_names
...
fun:gnutls_x509_crt_import
fun:gnutls_x509_trust_list_iter_get_ca
}
{
glib_g_socket_client_class_init
Memcheck:Leak
fun:calloc
...
fun:type_class_init_Wm
...
fun:g_socket_client_class_init
}
# One-time getaddrinfo() configuration loading
{
g-threaded-resolver-getaddrinfo-config2
Memcheck:Leak
match-leak-kinds:reachable,definite
fun:malloc
...
fun:__resolv_conf_allocate
...
fun:getaddrinfo
fun:do_lookup_by_name
}
# g_type_create_instance Valgrind malloc annotation, for
# some reason this has issues with Fedora 31 from test-listen test
{
g_type_create_instance-valgrind
Memcheck:Leak
fun:g_type_create_instance
...
fun:g_socket_client_connect
fun:fake_client_connect_tls
}
# suppressing several new "possible" loss coming with Fedora 33 on calloc
{
# this one is making most tests to fail (20 out of 21)
calloc-possibly-lost-from-dl_init
Memcheck:Leak
match-leak-kinds:possible
fun:calloc
fun:g_malloc0
...
fun:_dl_init
}
{
calloc-possibly-lost-from-fake_client_connect-fake_client_new
Memcheck:Leak
match-leak-kinds:possible
fun:calloc
fun:g_malloc0
...
fun:g_object_new
fun:fake_client_*
}
{
calloc-possibly-lost-from-g_output_stream
Memcheck:Leak
match-leak-kinds:possible
fun:calloc
...
fun:g_thread_pool_push
fun:g_task_run_in_thread
...
fun:g_output_stream_write_all
}
{
calloc-possibly-lost-from-g_thread_new
Memcheck:Leak
match-leak-kinds:possible
fun:calloc
...
fun:g_thread_new
}
{
g_thread_pool_leak
Memcheck:Leak
match-leak-kinds:possible
fun:calloc
...
fun:g_thread_new_internal
...
fun:g_thread_pool_push
}