[grits] Update valgrind suppressions



commit fe2cf40af8380d32d65479f0c97545c42ab9241c
Author: Andy Spencer <andy753421 gmail com>
Date:   Tue May 24 05:23:10 2011 +0000

    Update valgrind suppressions

 src/Makefile.am     |    1 +
 src/gtk.suppression |   50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 51 insertions(+), 0 deletions(-)
---
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
@@ -10,6 +26,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+
 {
@@ -26,6 +70,12 @@
 	fun:gtk_init
 }
 {
+	gtk_init
+	Memcheck:Addr4
+	...
+	fun:gtk_init
+}
+{
 	gtk_style_new
 	Memcheck:Leak
 	...



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]