]> Pileus Git - grits/commitdiff
Update valgrind suppressions
authorAndy Spencer <andy753421@gmail.com>
Tue, 24 May 2011 05:23:10 +0000 (05:23 +0000)
committerAndy Spencer <andy753421@gmail.com>
Tue, 24 May 2011 05:24:14 +0000 (05:24 +0000)
src/Makefile.am
src/gtk.suppression

index 28d2978e091f7cb6c7199d16f5f20535274448a8..9cb7454686386f3370978def49aedc56b4ba2fdf 100644 (file)
@@ -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
index b7d9a31dbcf96eb90b905a1562424027a8566516..4365b951e980971d9c5161ece5f93e8e8e68fef1 100644 (file)
@@ -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
        ...
        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+
 {
        ...
        fun:gtk_init
 }
+{
+       gtk_init
+       Memcheck:Addr4
+       ...
+       fun:gtk_init
+}
 {
        gtk_style_new
        Memcheck:Leak