[Spice-devel] [PATCH spice-server 2/2] ci: Add some needed Valgrind suppression rule
Christophe Fergeau
cfergeau at redhat.com
Tue Jun 5 13:40:46 UTC 2018
Acked-by: Christophe Fergeau <cfergeau at redhat.com>
On Tue, Jun 05, 2018 at 02:06:01PM +0100, Frediano Ziglio wrote:
> From Gitlab CI:
>
> =17955== 16 bytes in 1 blocks are possibly lost in loss record 725 of 2,079
> ==17955== at 0x4C2DBAB: malloc (vg_replace_malloc.c:299)
> ==17955== by 0x4011D17: tls_get_addr_tail.isra.0 (in /usr/lib64/ld-2.27.so)
> ==17955== by 0x4017997: __tls_get_addr (in /usr/lib64/ld-2.27.so)
> ==17955== by 0xEE4534B: gnutls_rnd (in /usr/lib64/libgnutls.so.30.20.2)
> ==17955== by 0xEE1F254: ??? (in /usr/lib64/libgnutls.so.30.20.2)
> ==17955== by 0xEE1F947: ??? (in /usr/lib64/libgnutls.so.30.20.2)
> ==17955== by 0xEE231B5: ??? (in /usr/lib64/libgnutls.so.30.20.2)
> ==17955== by 0xEE24D67: gnutls_handshake (in /usr/lib64/libgnutls.so.30.20.2)
> ==17955== by 0xEBD4FEA: ??? (in /usr/lib64/gio/modules/libgiognutls.so)
> ==17955== by 0x7463936: g_task_thread_pool_thread (gtask.c:1331)
> ==17955== by 0x7A3E932: g_thread_pool_thread_proxy (gthreadpool.c:307)
> ==17955== by 0x7A3DF29: g_thread_proxy (gthread.c:784)
> ==17955== by 0x8284563: start_thread (in /usr/lib64/libpthread-2.27.so)
> ==17955== by 0x859631E: clone (in /usr/lib64/libc-2.27.so)
> ==17955==
> ==17955== 32 bytes in 1 blocks are possibly lost in loss record 1,234 of 2,079
> ==17955== at 0x4C2DBAB: malloc (vg_replace_malloc.c:299)
> ==17955== by 0x4011D17: tls_get_addr_tail.isra.0 (in /usr/lib64/ld-2.27.so)
> ==17955== by 0x4017997: __tls_get_addr (in /usr/lib64/ld-2.27.so)
> ==17955== by 0xCAA5173: __cxa_get_globals (in /usr/lib64/libstdc++.so.6.0.25)
> ==17955== by 0xCAA6186: __cxa_throw (in /usr/lib64/libstdc++.so.6.0.25)
> ==17955== by 0xC601457: ??? (in /usr/lib64/libproxy.so.1.0.0)
> ==17955== by 0xC5F6BB6: ??? (in /usr/lib64/libproxy.so.1.0.0)
> ==17955== by 0xC5F7089: ??? (in /usr/lib64/libproxy.so.1.0.0)
> ==17955== by 0xC5F7470: px_proxy_factory_get_proxies (in /usr/lib64/libproxy.so.1.0.0)
> ==17955== by 0xC3E64E3: ??? (in /usr/lib64/gio/modules/libgiolibproxy.so)
> ==17955== by 0x7463936: g_task_thread_pool_thread (gtask.c:1331)
> ==17955== by 0x7A3E932: g_thread_pool_thread_proxy (gthreadpool.c:307)
> ==17955== by 0x7A3DF29: g_thread_proxy (gthread.c:784)
> ==17955== by 0x8284563: start_thread (in /usr/lib64/libpthread-2.27.so)
> ==17955== by 0x859631E: clone (in /usr/lib64/libc-2.27.so)
>
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
> server/tests/valgrind/glib.supp | 20 ++++++++++++++++++++
> 1 file changed, 20 insertions(+)
>
> Successful result at:
> https://gitlab.freedesktop.org/freddy77/spice/-/jobs/1109
> (hash is different due to comments/reordering)
>
> diff --git a/server/tests/valgrind/glib.supp b/server/tests/valgrind/glib.supp
> index b5b540f5..fb2cb4a7 100644
> --- a/server/tests/valgrind/glib.supp
> +++ b/server/tests/valgrind/glib.supp
> @@ -520,3 +520,23 @@
> ...
> 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
> +}
> --
> 2.17.1
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20180605/3d9d3004/attachment.sig>
More information about the Spice-devel
mailing list