[Spice-devel] [PATCH libcacard v2 12/35] Add valgrind supressions for NSS and glib

Jakub Jelen jjelen at redhat.com
Thu Aug 2 09:43:44 UTC 2018


Signed-off-by: Jakub Jelen <jjelen at redhat.com>
Reviewed-by: Robert Relyea <rrelyea at redhat.com>
---
 build-aux/glib.supp | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 build-aux/glib.supp

diff --git a/build-aux/glib.supp b/build-aux/glib.supp
new file mode 100644
index 0000000..ff2edbe
--- /dev/null
+++ b/build-aux/glib.supp
@@ -0,0 +1,35 @@
+{
+   _dl_init
+   Memcheck:Leak
+   match-leak-kinds: reachable
+   fun:*alloc
+   ...
+   fun:_dl_init
+   obj:/usr/lib64/ld-2.26.so
+   ...
+}
+{
+   g_rand_new_with_seed_array
+   Memcheck:Leak
+   match-leak-kinds: reachable
+   fun:calloc
+   fun:g_malloc0
+   fun:g_rand_new_with_seed_array
+   ...
+   fun:main
+}
+{
+   pthread_create
+   Memcheck:Leak
+   match-leak-kinds: possible
+   fun:calloc
+   fun:allocate_dtv
+   fun:_dl_allocate_tls
+   fun:pthread_create@@GLIBC_2.2.5
+   obj:/usr/lib64/libglib-2.0.so.0.5400.3
+   obj:/usr/lib64/libglib-2.0.so.0.5400.3
+   fun:g_thread_new
+   fun:libcacard_init
+   fun:main
+}
+
-- 
2.17.1



More information about the Spice-devel mailing list