summary refs log tree commit diff
path: root/valgrind.suppressions
diff options
context:
space:
mode:
Diffstat (limited to 'valgrind.suppressions')
-rw-r--r--valgrind.suppressions60
1 files changed, 60 insertions, 0 deletions
diff --git a/valgrind.suppressions b/valgrind.suppressions
index 05ac7da7..5a345fd9 100644
--- a/valgrind.suppressions
+++ b/valgrind.suppressions
@@ -108,6 +108,23 @@
    obj:/*/ld-*.so
 }
 {
+   # added on Fedora 22
+   # This happens when setting LD_LIBRARY_PATH and the linker is searching the libraries to load.
+   # for example:
+   # LD_LIBRARY_PATH=./././././././././././././././././libnm/.libs:./libnm-util/.libs:./libnm-glib/.libs
+   _dl_expand_dynamic_string_token
+   Memcheck:Cond
+   fun:index
+   fun:expand_dynamic_string_token
+   ...
+   fun:dl_main
+   fun:_dl_sysdep_start
+   fun:_dl_start_final
+   fun:_dl_start
+   obj:/*/ld-*.so
+   ...
+}
+{
     all_gobject_init_ctor
     Memcheck:Leak
     ...
@@ -396,3 +413,46 @@
    ...
 }
 
+###############################################################
+# libnl3
+###############################################################
+
+{
+   # fixed by https://github.com/thom311/libnl/commit/d65c32a7205e679c7fc13f0e4565b13e698ba906
+   # Same issue as libnl_rtnl_link_set_type_01, but different backtrace by calling nl_msg_parse().
+   libnl_rtnl_link_set_type_02
+   Memcheck:Leak
+   match-leak-kinds: definite
+   fun:calloc
+   fun:vlan_alloc
+   fun:rtnl_link_set_type
+   fun:link_msg_parser
+   fun:nl_cache_parse
+   fun:nl_msg_parse
+   ...
+}
+
+# disable the following suppression. I cannot remember why it was needed,
+# maybe it's wrong.
+#
+# {
+#    libnl_02
+#    libnl_rtnl_link_alloc_cache
+#    Memcheck:Leak
+#    match-leak-kinds: definite
+#    fun:calloc
+#    fun:nl_object_alloc
+#    fun:link_msg_parser
+#    fun:nl_cache_parse
+#    fun:update_msg_parser
+#    fun:nl_cb_call
+#    fun:recvmsgs
+#    fun:nl_recvmsgs_report
+#    fun:nl_recvmsgs
+#    fun:__cache_pickup
+#    fun:nl_cache_pickup
+#    fun:nl_cache_refill
+#    fun:rtnl_link_alloc_cache
+#    ...
+# }
+