[gjs] gjs.supp: Update valgrind suppression file



commit 7e76cc619fc462e9e79b7bc23637077bd38f78c5
Author: Colin Walters <walters verbum org>
Date:   Fri Jun 17 10:11:49 2011 -0400

    gjs.supp: Update valgrind suppression file
    
    Don't use absolute paths, so it still works with jhbuilt glib.
    
    Also use the ... operator to better ignore intervening frames.
    
    This cuts out pretty much all of the GType noise.

 test/gjs.supp |   52 +++++++++++++++++++++++-----------------------------
 1 files changed, 23 insertions(+), 29 deletions(-)
---
diff --git a/test/gjs.supp b/test/gjs.supp
index 5865a29..3506812 100644
--- a/test/gjs.supp
+++ b/test/gjs.supp
@@ -1,41 +1,35 @@
 {
-   gjs-unit test filenames never freed
+   g_type_init_with_debug_flags never freed
    Memcheck:Leak
-   fun:realloc
-   fun:g_realloc
-   obj:/usr/lib/libglib-2.0.so.0.*.*
-   fun:g_string_insert_len
-   fun:g_string_append_len
-   obj:/usr/lib/libglib-2.0.so.0.*.*
-   fun:g_build_filename
-   fun:main
+   fun:calloc
+   ...
+   fun:g_type_init_with_debug_flags
+   ...
 }
 
 {
-   g_type_init_with_debug_flags never freed
+   g_type_register_static malloc
    Memcheck:Leak
-   fun:calloc
-   fun:g_malloc0
-   obj:/usr/lib/libgobject-2.0.so.0.*.*
-   obj:/usr/lib/libgobject-2.0.so.0.*.*
-   fun:g_type_init_with_debug_flags
-   fun:g_type_init
-   fun:main
+   fun:malloc
+   ...
+   fun:g_type_register_static
+   ...
+}
+
+{
+   g_type_register_static realloc
+   Memcheck:Leak
+   fun:realloc
+   ...
+   fun:g_type_register_static
+   ...
 }
 
 {
-   xulrunner internal allocations never freed
+   g_type_register_fundamental never freed
    Memcheck:Leak
    fun:malloc
-   obj:/usr/lib/xulrunner*/libmozjs.so
-   obj:/usr/lib/xulrunner*/libmozjs.so
-   obj:/usr/lib/xulrunner*/libmozjs.so
-   fun:gjs_context_constructor
-   fun:g_object_newv
-   fun:g_object_new_valist
-   fun:g_object_new
-   fun:gjs_context_new_with_search_path
-   fun:setup
-   obj:/usr/lib/libglib-2.0.so.0.*.*
-   obj:/usr/lib/libglib-2.0.so.0.*.*
+   ...
+   fun:g_type_register_fundamental
+   ...
 }



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