From fe2cf40af8380d32d65479f0c97545c42ab9241c Mon Sep 17 00:00:00 2001 From: Andy Spencer Date: Tue, 24 May 2011 05:23:10 +0000 Subject: [PATCH] Update valgrind suppressions --- src/Makefile.am | 1 + src/gtk.suppression | 50 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/src/Makefile.am b/src/Makefile.am index 28d2978..9cb7454 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -98,5 +98,6 @@ memcheck: all --leak-resolution=high \ --num-callers=50 \ --suppressions=gtk.suppression \ + --suppressions=/usr/lib/valgrind/default.supp \ ./grits-test \ 2> valgrind.out diff --git a/src/gtk.suppression b/src/gtk.suppression index b7d9a31..4365b95 100644 --- a/src/gtk.suppression +++ b/src/gtk.suppression @@ -2,6 +2,22 @@ # # Valgrind suppression file for Gtk+ 2.16 +# ????? +{ + lib_ld_conds + Memcheck:Cond + obj:/lib/ld-2.11.2.so + obj:/lib/ld-2.11.2.so + obj:/lib/ld-2.11.2.so + obj:/lib/ld-2.11.2.so + obj:/lib/ld-2.11.2.so +} +{ + libGL_leaks + Memcheck:Leak + obj:/usr/lib/opengl/nvidia/lib/libGL.so.* +} + # GLib { g_type_register_static @@ -9,6 +25,12 @@ ... fun:g_type_register_static } +{ + g_type_add_interface_static + Memcheck:Leak + ... + fun:g_type_add_interface_static +} { g_param_spec Memcheck:Leak @@ -17,6 +39,28 @@ ... fun:g_object_new } +{ + g_module_open__addr + Memcheck:Addr4 + ... + fun:dlopen + fun:g_module_open +} +{ + g_module_open__leak + Memcheck:Leak + ... + fun:dlopen + fun:g_module_open +} +{ + g_module_open__sym + Memcheck:Addr4 + ... + fun:dlsym + fun:g_module_symbol + fun:g_module_open +} # GTK+ { @@ -25,6 +69,12 @@ ... fun:gtk_init } +{ + gtk_init + Memcheck:Addr4 + ... + fun:gtk_init +} { gtk_style_new Memcheck:Leak -- 2.43.2