r18625 - gnucash/trunk - Move valgrind suppression rules to debug subdirectory
Geert Janssens
gjanssens at code.gnucash.org
Mon Feb 8 12:30:21 EST 2010
Author: gjanssens
Date: 2010-02-08 12:30:21 -0500 (Mon, 08 Feb 2010)
New Revision: 18625
Trac: http://svn.gnucash.org/trac/changeset/18625
Added:
gnucash/trunk/src/debug/
gnucash/trunk/src/debug/Makefile.am
gnucash/trunk/src/debug/valgrind/
gnucash/trunk/src/debug/valgrind/Makefile.am
gnucash/trunk/src/debug/valgrind/valgrind-gdk.supp
gnucash/trunk/src/debug/valgrind/valgrind-glib.supp
gnucash/trunk/src/debug/valgrind/valgrind-gnucash.supp
gnucash/trunk/src/debug/valgrind/valgrind-libfontconfig.supp
gnucash/trunk/src/debug/valgrind/valgrind-libgda.supp
gnucash/trunk/src/debug/valgrind/valgrind-libguile.supp
gnucash/trunk/src/debug/valgrind/valgrind-x11.supp
gnucash/trunk/src/doc/callgrind.txt
Removed:
gnucash/trunk/src/doc/valgrind.txt
gnucash/trunk/src/valgrind-gdk.supp
gnucash/trunk/src/valgrind-glib.supp
gnucash/trunk/src/valgrind-gnucash.supp
gnucash/trunk/src/valgrind-libfontconfig.supp
gnucash/trunk/src/valgrind-libgda.supp
gnucash/trunk/src/valgrind-libguile.supp
gnucash/trunk/src/valgrind-x11.supp
Modified:
gnucash/trunk/HACKING
gnucash/trunk/configure.in
gnucash/trunk/src/Makefile.am
gnucash/trunk/src/bin/Makefile.am
gnucash/trunk/src/bin/gnucash-valgrind.in
gnucash/trunk/src/doc/Makefile.am
Log:
Move valgrind suppression rules to debug subdirectory
This will require a new run of configure as some makefiles have changed
Modified: gnucash/trunk/HACKING
===================================================================
--- gnucash/trunk/HACKING 2010-02-08 10:22:29 UTC (rev 18624)
+++ gnucash/trunk/HACKING 2010-02-08 17:30:21 UTC (rev 18625)
@@ -139,8 +139,11 @@
guile bugs, some g_hash_table bugs, and then the program exited prematurely
for no apparent reason. :-(
-For the moment, use the suppressions in src/valgrind-gnucash.supp
+For the moment, gnucash-valgrind uses the suppressions in
+src/debug/valgrind/valgrind-*.supp
+For valgrind-gnucash.supp, this comment was made (but is perhaps outdated
+by now ?):
This file needs to be cleaned up in two ways:
1/ There are a bunch of duplicate suppressions in the file.
Modified: gnucash/trunk/configure.in
===================================================================
--- gnucash/trunk/configure.in 2010-02-08 10:22:29 UTC (rev 18624)
+++ gnucash/trunk/configure.in 2010-02-08 17:30:21 UTC (rev 18625)
@@ -1549,7 +1549,9 @@
src/bin/test/Makefile
src/core-utils/Makefile
src/calculation/Makefile
- src/calculation/test/Makefile
+ src/calculation/test/Makefile
+ src/debug/Makefile
+ src/debug/valgrind/Makefile
src/doc/Makefile
src/doc/design/Makefile
src/doc/xml/Makefile
Modified: gnucash/trunk/src/Makefile.am
===================================================================
--- gnucash/trunk/src/Makefile.am 2010-02-08 10:22:29 UTC (rev 18624)
+++ gnucash/trunk/src/Makefile.am 2010-02-08 17:30:21 UTC (rev 18625)
@@ -1,5 +1,6 @@
NONGUI_SUBDIRS = \
libqof \
+ debug \
doc \
pixmaps \
core-utils \
@@ -51,6 +52,5 @@
base-typemaps.i \
README.modules \
gnc-test-env \
- valgrind-gnucash.supp \
guile-mappings.h \
glib-compat.h
Modified: gnucash/trunk/src/bin/Makefile.am
===================================================================
--- gnucash/trunk/src/bin/Makefile.am 2010-02-08 10:22:29 UTC (rev 18624)
+++ gnucash/trunk/src/bin/Makefile.am 2010-02-08 17:30:21 UTC (rev 18625)
@@ -57,7 +57,7 @@
rm -f $@.tmp
sed < $< > $@.tmp \
-e 's#@-BIN_DIR-@#${bindir}#g' \
- -e "s#@-TOP_SRC_DIR-@#`pwd`/${top_srcdir}#g" \
+ -e "s#@-TOP_SRC_DIR-@#${abs_top_srcdir}#g" \
-e "s#@-GNUCASH_SETUP_ENV_INSTALL_NAME-@#${GNUCASH_SETUP_ENV_INSTALL_NAME}#g" \
-e "s#@-GNUCASH_BIN_INSTALL_NAME-@#${GNUCASH_BIN_INSTALL_NAME}#g"
mv $@.tmp $@
Modified: gnucash/trunk/src/bin/gnucash-valgrind.in
===================================================================
--- gnucash/trunk/src/bin/gnucash-valgrind.in 2010-02-08 10:22:29 UTC (rev 18624)
+++ gnucash/trunk/src/bin/gnucash-valgrind.in 2010-02-08 17:30:21 UTC (rev 18625)
@@ -10,13 +10,13 @@
export G_SLICE=always-malloc
export G_DEBUG=gc-friendly
exec valgrind -v \
- --suppressions=${TOP_SRC_DIR}/src/valgrind-gnucash.supp \
- --suppressions=${TOP_SRC_DIR}/src/valgrind-glib.supp \
- --suppressions=${TOP_SRC_DIR}/src/valgrind-libfontconfig.supp \
- --suppressions=${TOP_SRC_DIR}/src/valgrind-libgda.supp \
- --suppressions=${TOP_SRC_DIR}/src/valgrind-libguile.supp \
- --num-callers=25 \
+ --suppressions=${TOP_SRC_DIR}/src/debug/valgrind/valgrind-gnucash.supp \
+ --suppressions=${TOP_SRC_DIR}/src/debug/valgrind/valgrind-glib.supp \
+ --suppressions=${TOP_SRC_DIR}/src/debug/valgrind/valgrind-libfontconfig.supp \
+ --suppressions=${TOP_SRC_DIR}/src/debug/valgrind/valgrind-libgda.supp \
+ --suppressions=${TOP_SRC_DIR}/src/debug/valgrind/valgrind-libguile.supp \
+ --num-callers=25 \
--error-limit=no \
--tool=memcheck \
- --leak-check=full \
+ --leak-check=full \
@-GNUCASH_BIN_INSTALL_NAME-@ "$@"
Property changes on: gnucash/trunk/src/debug
___________________________________________________________________
Added: svn:ignore
+ Makefile
Makefile.in
Added: gnucash/trunk/src/debug/Makefile.am
===================================================================
--- gnucash/trunk/src/debug/Makefile.am (rev 0)
+++ gnucash/trunk/src/debug/Makefile.am 2010-02-08 17:30:21 UTC (rev 18625)
@@ -0,0 +1,3 @@
+
+SUBDIRS = \
+ valgrind
\ No newline at end of file
Property changes on: gnucash/trunk/src/debug/valgrind
___________________________________________________________________
Added: svn:ignore
+ Makefile
Makefile.in
Added: gnucash/trunk/src/debug/valgrind/Makefile.am
===================================================================
--- gnucash/trunk/src/debug/valgrind/Makefile.am (rev 0)
+++ gnucash/trunk/src/debug/valgrind/Makefile.am 2010-02-08 17:30:21 UTC (rev 18625)
@@ -0,0 +1,9 @@
+
+EXTRA_DIST = \
+ valgrind-gdk.supp \
+ valgrind-glib.supp \
+ valgrind-gnucash.supp \
+ valgrind-libfontconfig.supp \
+ valgrind-libgda.supp \
+ valgrind-libguile.supp \
+ valgrind-x11.supp
\ No newline at end of file
Copied: gnucash/trunk/src/debug/valgrind/valgrind-gdk.supp (from rev 18623, gnucash/trunk/src/valgrind-gdk.supp)
===================================================================
--- gnucash/trunk/src/debug/valgrind/valgrind-gdk.supp (rev 0)
+++ gnucash/trunk/src/debug/valgrind/valgrind-gdk.supp 2010-02-08 17:30:21 UTC (rev 18625)
@@ -0,0 +1,99 @@
+{
+ qtcurve Cond
+ Memcheck:Cond
+ obj:/usr/lib/kde3/plugins/styles/qtcurve.so
+ fun:drawArrow
+ obj:/usr/lib/gtk-2.0/*/engines/libqtengine.so
+ fun:gtk_paint_arrow
+}
+{
+ qtcurve Cond #2
+ Memcheck:Cond
+ obj:/usr/lib/libkdefx.so*
+ obj:/usr/lib/kde3/plugins/styles/qtcurve.so
+ fun:drawArrow
+ obj:/usr/lib/gtk-2.0/*/engines/libqtengine.so
+ fun:gtk_paint_arrow
+}
+{
+ qtcurve Cond #3
+ Memcheck:Cond
+ obj:/usr/lib/libqt-mt.so*
+ obj:/usr/lib/libkdefx.so*
+ obj:/usr/lib/kde3/plugins/styles/qtcurve.so
+ fun:drawArrow
+ obj:/usr/lib/gtk-2.0/*/engines/libqtengine.so
+ fun:gtk_paint_arrow
+}
+{
+ <insert some suppression name here>
+ Memcheck:Leak
+ fun:malloc
+ fun:*
+ fun:*
+ obj:/usr/lib/libgdk-x11-2.0.so.0.400.14
+}
+{
+ <insert a suppression name here>
+ Memcheck:Leak
+ fun:calloc
+ fun:XkbGetMap
+ obj:/usr/lib/libgdk-x11-2.0.so.0.400.14
+ fun:gdk_keymap_translate_keyboard_state
+}
+
+{
+ <insert a suppression name here>
+ Memcheck:Leak
+ fun:malloc
+ fun:XAddConnectionWatch
+ fun:gdk_display_open
+ fun:gdk_display_open_default_libgtk_only
+}
+
+{
+ <insert a suppression name here>
+ Memcheck:Leak
+ fun:malloc
+ fun:*
+ obj:/usr/lib/libgdk-x11-2.0.so.0.400.14
+ obj:/usr/lib/libgdk-x11-2.0.so.0.400.14
+}
+
+{
+ <insert a suppression name here>
+ Memcheck:Leak
+ fun:malloc
+ fun:_X11TransConnectDisplay
+ fun:XOpenDisplay
+ fun:gdk_display_open
+}
+{
+ <insert a suppression name here>
+ Memcheck:Leak
+ fun:malloc
+ obj:/usr/lib/libgdk-x11-2.0.so.0.400.14
+ obj:/usr/lib/libgdk-x11-2.0.so.0.400.14
+}
+{
+ <insert a suppression name here>
+ Memcheck:Leak
+ obj:/usr/lib/libgdk-x11-2.0.so.0.400.14
+}
+
+{
+ <insert a suppression name here>
+ Memcheck:Leak
+ fun:malloc
+ fun:XOpenDisplay
+ fun:gdk_display_open
+ fun:gdk_display_open_default_libgtk_only
+}
+{
+ <insert a suppression name here>
+ Memcheck:Leak
+ fun:calloc
+ fun:XOpenDisplay
+ fun:gdk_display_open
+ fun:gdk_display_open_default_libgtk_only
+}
Copied: gnucash/trunk/src/debug/valgrind/valgrind-glib.supp (from rev 18623, gnucash/trunk/src/valgrind-glib.supp)
===================================================================
--- gnucash/trunk/src/debug/valgrind/valgrind-glib.supp (rev 0)
+++ gnucash/trunk/src/debug/valgrind/valgrind-glib.supp 2010-02-08 17:30:21 UTC (rev 18625)
@@ -0,0 +1,91 @@
+
+# FILE: valgrind-gnucash.supp
+#
+# FUNCTION: This file is a valgrind 'suppression' file, used to
+# get valgrind to not report certain errors that we aren't
+# interested in.
+#
+# valgrind is a memory allocation debugging tool. See the
+# file ./HACKING for instructions on how to run gnucash with
+# valgrind
+#
+# HISTORY: created aug 2003 linas vepstas
+
+
+##----------------------------------------------------------------------##
+
+# Format of this file is:
+# {
+# name_of_suppression
+# skin_name:supp_kind
+# (optional extra info for some suppression types)
+# caller0 name, or /name/of/so/file.so
+# caller1 name, or ditto
+# (optionally: caller2 name)
+# (optionally: caller3 name)
+# }
+#
+# For memcheck, the supp_kinds are:
+#
+# Param Value1 Value2 Value4 Value8 Value16
+# Free Addr1 Addr2 Addr4 Addr8 Addr16
+# Cond (previously known as Value0)
+# Leak
+#
+# and the optional extra info is:
+# if Param: name of system call param
+# if Free: name of free-ing fn)
+
+{
+ g_thread_init Leak
+ Memcheck:Leak
+ fun:memalign
+ fun:posix_memalign
+ obj:/usr/lib/libglib-2.0.so.0.1600.3
+ fun:g_slice_alloc
+ fun:g_array_sized_new
+ fun:g_array_new
+ fun:g_static_private_set
+ fun:g_get_filename_charsets
+}
+{
+ g_get_tmp_dir leak
+ Memcheck:Leak
+ fun:malloc
+ obj:/lib/tls/i686/cmov/libc-2.7.so
+ fun:__nss_database_lookup
+ obj:*
+ obj:*
+ fun:getpwnam_r
+ obj:*libglib-2.0*
+ fun:g_get_tmp_dir
+}
+{
+ g_option_context_parse leak
+ Memcheck:Leak
+ fun:calloc
+ fun:g_malloc0
+ obj:*libgobject*
+ obj:*libgobject*
+ fun:g_type_init_with_debug_flags
+ fun:g_type_init
+ fun:gdk_pre_parse_libgtk_only
+ obj:*libgtk-x11-2.0*
+ fun:g_option_context_parse
+}
+{
+ g_child_watch_add lean
+ Memcheck:Leak
+ fun:calloc (vg_replace_malloc.c:397)
+ obj:*
+ fun:_dl_allocate_tls
+ fun:pthread_create*
+ obj:*libgthread-2.0*
+ fun:g_thread_create_full
+ obj:*libglib-2.0*
+ fun:g_child_watch_source_new
+ fun:g_child_watch_add_full
+ fun:g_child_watch_add
+}
+
+# ##----------------------------------------------------------------------##
Copied: gnucash/trunk/src/debug/valgrind/valgrind-gnucash.supp (from rev 18623, gnucash/trunk/src/valgrind-gnucash.supp)
===================================================================
--- gnucash/trunk/src/debug/valgrind/valgrind-gnucash.supp (rev 0)
+++ gnucash/trunk/src/debug/valgrind/valgrind-gnucash.supp 2010-02-08 17:30:21 UTC (rev 18625)
@@ -0,0 +1,294 @@
+
+# FILE: valgrind-gnucash.supp
+#
+# FUNCTION: This file is a valgrind 'suppression' file, used to
+# get valgrind to not report certain errors that we aren't
+# interested in.
+#
+# valgrind is a memory allocation debugging tool. See the
+# file ./HACKING for instructions on how to run gnucash with
+# valgrind
+#
+# HISTORY: created aug 2003 linas vepstas
+
+
+##----------------------------------------------------------------------##
+
+# Format of this file is:
+# {
+# name_of_suppression
+# skin_name:supp_kind
+# (optional extra info for some suppression types)
+# caller0 name, or /name/of/so/file.so
+# caller1 name, or ditto
+# (optionally: caller2 name)
+# (optionally: caller3 name)
+# }
+#
+# For memcheck, the supp_kinds are:
+#
+# Param Value1 Value2 Value4 Value8 Value16
+# Free Addr1 Addr2 Addr4 Addr8 Addr16
+# Cond (previously known as Value0)
+# Leak
+#
+# and the optional extra info is:
+# if Param: name of system call param
+# if Free: name of free-ing fn)
+
+{
+ libld-2.7(Addr4)
+ Memcheck:Addr4
+ obj:/lib/ld-2.7.so
+ obj:/lib/ld-2.7.so
+}
+{
+ libld-2.7(Addr4 #2)
+ Memcheck:Addr4
+ obj:/lib/ld-2.7.so
+ obj:/lib/ld-2.7.so
+ obj:/lib/tls/i686/cmov/libc-2.7.so
+ obj:/lib/ld-2.7.so
+ obj:/lib/tls/i686/cmov/libc-2.7.so
+}
+{
+ libld-2.7(Addr4 #3)
+ Memcheck:Addr4
+ obj:/lib/ld-2.7.so
+ obj:/lib/tls/i686/cmov/libc-2.7.so
+ fun:_dl_sym
+}
+{
+ libld-2.7(Addr4 #4)
+ Memcheck:Addr4
+ obj:/lib/ld-2.7.so
+ obj:/lib/tls/i686/cmov/libdl-2.7.so
+ obj:/lib/ld-2.7.so
+ obj:/lib/tls/i686/cmov/libdl-2.7.so
+}
+{
+ libld-2.7(Cond)
+ Memcheck:Cond
+ obj:/lib/ld-2.7.so
+ obj:/lib/tls/i686/cmov/libc-2.7.so
+ fun:_dl_sym
+}
+{
+ libld-2.7(Cond #2)
+ Memcheck:Cond
+ obj:/lib/ld-2.7.so
+ obj:/lib/ld-2.7.so
+ obj:/lib/tls/i686/cmov/libc-2.7.so
+ obj:/lib/ld-2.7.so
+ obj:/lib/tls/i686/cmov/libc-2.7.so
+}
+{
+ libld-2.7(Cond #3)
+ Memcheck:Cond
+ obj:/lib/ld-2.7.so
+ obj:/lib/ld-2.7.so
+ obj:/lib/tls/i686/cmov/libdl-2.7.so
+ obj:/lib/ld-2.7.so
+ obj:/lib/tls/i686/cmov/libdl-2.7.so
+}
+{
+ libld-2.7(Cond #4)
+ Memcheck:Cond
+ obj:/lib/ld-2.7.so
+ obj:/lib/tls/i686/cmov/libdl-2.7.so
+ obj:/lib/ld-2.7.so
+ obj:/lib/tls/i686/cmov/libdl-2.7.so
+}
+{
+ libglib-1.2.so.0(Value4)
+ Memcheck:Value4
+ fun:g_hash_table_lookup
+ fun:g_hash_table_insert
+ fun:g_hash_table_lookup_extended
+}
+{
+ write(buf) Param
+ Memcheck:Param
+ write(buf)
+ obj:/lib/libpthread-2.5.so
+ fun:_X11TransWrite
+}
+{
+ writev(vector) ORBit Param #1
+ Memcheck:Param
+ writev(vector[...])
+ fun:do_writev
+ fun:writev
+ obj:*libORBit-2.so*
+ fun:link_connection_writev
+ fun:giop_send_buffer_write
+}
+{
+ writev(vector) ORBit Param #2
+ Memcheck:Param
+ writev(vector[...])
+ fun:do_writev
+ obj:*libORBit-2.so*
+ fun:link_connection_writev
+ fun:giop_send_buffer_write
+}
+#{
+# pthread_mutex_lock PThread
+# core:PThread
+# fun:pthread_mutex_lock
+# fun:_IO_flockfile
+# fun:pango_read_line
+# fun:pango_find_map
+#}
+{
+ writev(vector) X11 Param
+ Memcheck:Param
+ writev(vector[...])
+ fun:writev
+ obj:/usr/X11R6/lib/libX11.so.6.2
+ fun:_X11TransWritev
+ fun:_XSend
+}
+{
+ register_state Leak
+ Memcheck:Leak
+ fun:malloc
+ fun:register_state
+ fun:create_cd_newstate
+ fun:re_compile_internal
+}
+{
+ poptGetContext Leak
+ Memcheck:Leak
+ fun:*
+ fun:poptGetContext
+ fun:gnome_program_preinit
+ obj:/usr/lib/libgnome-2.so.0.800.0
+}
+{
+ IceAddConnectionWatch Leak
+ Memcheck:Leak
+ fun:malloc
+ fun:IceAddConnectionWatch
+ fun:gnome_ice_init
+ obj:/usr/lib/libgnomeui-2.so.0.800.0
+}
+{
+ CORBA_string_dup Leak
+ Memcheck:Leak
+ fun:malloc
+ fun:g_malloc
+ fun:ORBit_alloc_string
+ fun:CORBA_string_dup
+}
+{
+ iconv_open Leak
+ Memcheck:Leak
+ fun:malloc
+ fun:__gconv_open
+ fun:iconv_open
+ obj:/usr/lib/libglib-2.0.so.0.400.8
+}
+{
+ openaux Leak
+ Memcheck:Leak
+ fun:malloc
+ fun:_dl_map_object_from_fd
+ fun:_dl_map_object
+ fun:openaux
+}
+{
+ FcInitLoadConfigAndFonts Leak
+ Memcheck:Leak
+ fun:malloc
+ fun:FcFontSetCreate
+ fun:FcConfigBuildFonts
+ fun:FcInitLoadConfigAndFonts
+}
+{
+ libfontconfig.so Leak
+ Memcheck:Leak
+ fun:malloc
+ fun:*
+ obj:/usr/lib/libfontconfig.so.1.0.4
+}
+{
+ XftInitFtLibrary Leak
+ Memcheck:Leak
+ fun:malloc
+ fun:FT_New_Memory
+ fun:FT_Init_FreeType
+ fun:XftInitFtLibrary
+}
+{
+ _XftDisplayInfoGet Leak
+ Memcheck:Leak
+ fun:malloc
+ fun:XRenderFindDisplay
+ fun:XRenderQueryExtension
+ fun:_XftDisplayInfoGet
+}
+{
+ libXft Leak
+ Memcheck:Leak
+ fun:malloc
+ obj:/usr/X11R6/lib/libXft.so.2.1.2
+}
+{
+ /usr/bin/esd calloc Leak
+ Memcheck:Leak
+ fun:calloc
+ obj:/usr/bin/esd
+}
+{
+ /usr/bin/esd malloc Leak
+ Memcheck:Leak
+ fun:malloc
+ obj:/usr/bin/esd
+}
+{
+ /lib/libasound Leak
+ Memcheck:Leak
+ fun:malloc
+ obj:/lib/libasound.so.2.0.0
+}
+{
+ esd_open_sound Leak
+ Memcheck:Leak
+ fun:malloc
+ fun:esd_get_socket_dirname
+ fun:esd_get_socket_name
+ fun:esd_open_sound
+}
+{
+ snd_pcm_open Leak
+ Memcheck:Leak
+ fun:calloc
+ fun:snd_config_update_r
+ fun:snd_config_update
+ fun:snd_pcm_open
+}
+{
+ snd_output_stdio_attach Leak
+ Memcheck:Leak
+ fun:calloc
+ fun:snd_output_stdio_attach
+ fun:esd_audio_open
+ obj:/usr/bin/esd
+}
+{
+ esd_get_socket_name Leak
+ Memcheck:Leak
+ fun:malloc
+ fun:esd_get_socket_name
+ fun:esd_open_sound
+ obj:/usr/lib/libgnome-2.so.0.800.0
+}
+{
+ /lib/libcrypto realloc Leak
+ Memcheck:Leak
+ fun:realloc
+ obj:/lib/libcrypto.so.0.9.7a
+}
+
+# ##----------------------------------------------------------------------##
Copied: gnucash/trunk/src/debug/valgrind/valgrind-libfontconfig.supp (from rev 18623, gnucash/trunk/src/valgrind-libfontconfig.supp)
===================================================================
--- gnucash/trunk/src/debug/valgrind/valgrind-libfontconfig.supp (rev 0)
+++ gnucash/trunk/src/debug/valgrind/valgrind-libfontconfig.supp 2010-02-08 17:30:21 UTC (rev 18625)
@@ -0,0 +1,57 @@
+# FILE: valgrind-libfontconfig.supp
+#
+# FUNCTION: This file is a valgrind 'suppression' file, used to
+# get valgrind to not report certain errors that we aren't
+# interested in.
+#
+# valgrind is a memory allocation debugging tool. See the
+# file ./HACKING for instructions on how to run gnucash with
+# valgrind
+#
+# HISTORY: created aug 2003 linas vepstas
+
+
+##----------------------------------------------------------------------##
+
+# Format of this file is:
+# {
+# name_of_suppression
+# skin_name:supp_kind
+# (optional extra info for some suppression types)
+# caller0 name, or /name/of/so/file.so
+# caller1 name, or ditto
+# (optionally: caller2 name)
+# (optionally: caller3 name)
+# }
+#
+# For memcheck, the supp_kinds are:
+#
+# Param Value1 Value2 Value4 Value8 Value16
+# Free Addr1 Addr2 Addr4 Addr8 Addr16
+# Cond (previously known as Value0)
+# Leak
+#
+# and the optional extra info is:
+# if Param: name of system call param
+# if Free: name of free-ing fn)
+
+{
+ libfontconfig realloc Leak
+ Memcheck:Leak
+ fun:realloc
+ obj:/usr/lib/libfontconfig.so.1.3.0
+}
+{
+ libfontconfig malloc Leak #1
+ Memcheck:Leak
+ fun:malloc
+ obj:/usr/lib/libfontconfig.so.1.3.0
+}
+{
+ libfontconfig malloc Leak #2
+ fun:malloc
+ fun:FcStrCopy
+}
+
+
+# ##----------------------------------------------------------------------##
Copied: gnucash/trunk/src/debug/valgrind/valgrind-libgda.supp (from rev 18623, gnucash/trunk/src/valgrind-libgda.supp)
===================================================================
--- gnucash/trunk/src/debug/valgrind/valgrind-libgda.supp (rev 0)
+++ gnucash/trunk/src/debug/valgrind/valgrind-libgda.supp 2010-02-08 17:30:21 UTC (rev 18625)
@@ -0,0 +1,51 @@
+
+# FILE: valgrind-gnucash.supp
+#
+# FUNCTION: This file is a valgrind 'suppression' file, used to
+# get valgrind to not report certain errors that we aren't
+# interested in.
+#
+# valgrind is a memory allocation debugging tool. See the
+# file ./HACKING for instructions on how to run gnucash with
+# valgrind
+#
+# HISTORY: created aug 2003 linas vepstas
+
+
+##----------------------------------------------------------------------##
+
+# Format of this file is:
+# {
+# name_of_suppression
+# skin_name:supp_kind
+# (optional extra info for some suppression types)
+# caller0 name, or /name/of/so/file.so
+# caller1 name, or ditto
+# (optionally: caller2 name)
+# (optionally: caller3 name)
+# }
+#
+# For memcheck, the supp_kinds are:
+#
+# Param Value1 Value2 Value4 Value8 Value16
+# Free Addr1 Addr2 Addr4 Addr8 Addr16
+# Cond (previously known as Value0)
+# Leak
+#
+# and the optional extra info is:
+# if Param: name of system call param
+# if Free: name of free-ing fn)
+
+{
+ libgda permanant memory for gda_paramlist_dtd
+ Memcheck:Leak
+ fun:malloc
+ fun:xmlStrndup
+ fun:xmlStrdup
+ fun:xmlNewDtd
+ fun:xmlSAXParseDTD
+ fun:xmlParseDTD
+ fun:gda_init
+}
+
+# ##----------------------------------------------------------------------##
Copied: gnucash/trunk/src/debug/valgrind/valgrind-libguile.supp (from rev 18623, gnucash/trunk/src/valgrind-libguile.supp)
===================================================================
--- gnucash/trunk/src/debug/valgrind/valgrind-libguile.supp (rev 0)
+++ gnucash/trunk/src/debug/valgrind/valgrind-libguile.supp 2010-02-08 17:30:21 UTC (rev 18625)
@@ -0,0 +1,91 @@
+
+# FILE: valgrind-gnucash.supp
+#
+# FUNCTION: This file is a valgrind 'suppression' file, used to
+# get valgrind to not report certain errors that we aren't
+# interested in.
+#
+# valgrind is a memory allocation debugging tool. See the
+# file ./HACKING for instructions on how to run gnucash with
+# valgrind
+#
+# HISTORY: created aug 2003 linas vepstas
+
+
+##----------------------------------------------------------------------##
+
+# Format of this file is:
+# {
+# name_of_suppression
+# skin_name:supp_kind
+# (optional extra info for some suppression types)
+# caller0 name, or /name/of/so/file.so
+# caller1 name, or ditto
+# (optionally: caller2 name)
+# (optionally: caller3 name)
+# }
+#
+# For memcheck, the supp_kinds are:
+#
+# Param Value1 Value2 Value4 Value8 Value16
+# Free Addr1 Addr2 Addr4 Addr8 Addr16
+# Cond (previously known as Value0)
+# Leak
+#
+# and the optional extra info is:
+# if Param: name of system call param
+# if Free: name of free-ing fn)
+
+{
+ libguile.so(Cond)
+ Memcheck:Cond
+ obj:*libguile.so.*
+}
+{
+ libguile.so(Value4)
+ Memcheck:Value4
+ obj:*libguile.so*
+}
+{
+ libguile.so(Leak)
+ Memcheck:Leak
+ fun:malloc
+ obj:*libguile.so*
+ obj:*libguile.so*
+ obj:*libguile.so*
+}
+{
+ scm_make_port_type Leak
+ Memcheck:Leak
+ fun:realloc
+ fun:scm_make_port_type
+ fun:scm_init_vports
+ obj:*libguile.so*
+}
+{
+ scm_gc_for_newcell Leak
+ Memcheck:Leak
+ fun:malloc
+ obj:*libguile.so*
+ fun:scm_gc_for_newcell
+ fun:scm_acons
+}
+{
+ scm_dynamic_link leak
+ Memcheck:Leak
+ fun:malloc
+ obj:*libguile-ltdl*
+ obj:*libguile-ltdl*
+ obj:*libguile-ltdl*
+ fun:scm_lt_dlopenext
+ fun:scm_dynamic_link
+}
+{
+ scm_deval leak
+ Memcheck:Leak
+ fun:malloc
+ fun:_wrap_*
+ fun:scm_deval
+}
+
+# ##----------------------------------------------------------------------##
Copied: gnucash/trunk/src/debug/valgrind/valgrind-x11.supp (from rev 18623, gnucash/trunk/src/valgrind-x11.supp)
===================================================================
--- gnucash/trunk/src/debug/valgrind/valgrind-x11.supp (rev 0)
+++ gnucash/trunk/src/debug/valgrind/valgrind-x11.supp 2010-02-08 17:30:21 UTC (rev 18625)
@@ -0,0 +1,125 @@
+{
+ <Hopefully ignore lots of X11 leaks>
+ Memcheck:Leak
+ fun:malloc
+ obj:/usr/X11R6/lib/libX11.so.6.2
+}
+{
+ <Hopefully ignore lots of X11 leaks>
+ Memcheck:Leak
+ fun:malloc
+ fun:*
+ fun:*
+ obj:/usr/X11R6/lib/libX11.so.6.2
+}
+{
+ <insert a suppression name here>
+ Memcheck:Leak
+ fun:malloc
+ obj:/usr/X11R6/lib/libX11.so.6.2
+ obj:/usr/X11R6/lib/libX11.so.6.2
+}
+{
+ <insert a suppression name here>
+ Memcheck:Leak
+ fun:calloc
+ obj:/usr/X11R6/lib/libX11.so.6.2
+ obj:/usr/X11R6/lib/libX11.so.6.2
+}
+{
+ <insert a suppression name here>
+ Memcheck:Leak
+ fun:malloc
+ fun:_XiGetExtensionVersion
+ fun:_XiCheckExtInit
+ fun:XListInputDevices
+}
+{
+ <insert a suppression name here>
+ Memcheck:Leak
+ fun:malloc
+ fun:XextAddDisplay
+ obj:/usr/X11R6/lib/libXext.so.6.4
+}
+{
+ <insert a suppression name here>
+ Memcheck:Leak
+ fun:malloc
+ fun:XextCreateExtension
+ fun:XInput_find_display
+ fun:XListInputDevices
+}
+
+{
+ <insert a suppression name here>
+ Memcheck:Leak
+ fun:malloc
+ fun:_XOpenLC
+ fun:_XlcCurrentLC
+ fun:XSupportsLocale
+}
+
+{
+ <insert a suppression name here>
+ Memcheck:Leak
+ fun:malloc
+ fun:_XlcCreateLC
+ fun:_XlcUtf8Loader
+ fun:_XlcDynamicLoad
+}
+
+{
+ <insert a suppression name here>
+ Memcheck:Leak
+ fun:malloc
+ obj:/usr/X11R6/lib/libX11.so.6.2
+ fun:_XlcCreateLC
+ fun:_XlcUtf8Loader
+}
+
+{
+ <>
+ Memcheck:Leak
+ fun:malloc
+ fun:_XcursorGetDisplayInfo
+}
+{
+ <insert a suppression name here>
+ Memcheck:Leak
+ fun:malloc
+ obj:/usr/X11R6/lib/libX11.so.6.2
+ fun:_X11TransConnect
+ fun:_X11TransConnectDisplay
+}
+{
+ <insert a suppression name here>
+ Memcheck:Leak
+ fun:malloc
+ obj:/usr/X11R6/lib/libX11.so.6.2
+ obj:/usr/X11R6/lib/libX11.so.6.2
+ fun:_X11TransConnectDisplay
+}
+{
+ <insert a suppression name here>
+ Memcheck:Leak
+ fun:realloc
+ obj:/usr/X11R6/lib/libX11.so.6.2
+ obj:/usr/X11R6/lib/libX11.so.6.2
+ obj:/usr/X11R6/lib/libX11.so.6.2
+}
+{
+ <insert a suppression name here>
+ Memcheck:Leak
+ fun:malloc
+ fun:_XlcAddCT
+ fun:_XlcInitCTInfo
+ obj:/usr/X11R6/lib/libX11.so.6.2
+}
+{
+ <insert a suppression name here>
+ Memcheck:Leak
+ fun:malloc
+ fun:_XrmInternalStringToQuark
+ fun:XrmStringToQuark
+ fun:_XlcGetCharSet
+}
Modified: gnucash/trunk/src/doc/Makefile.am
===================================================================
--- gnucash/trunk/src/doc/Makefile.am 2010-02-08 10:22:29 UTC (rev 18624)
+++ gnucash/trunk/src/doc/Makefile.am 2010-02-08 17:30:21 UTC (rev 18625)
@@ -7,6 +7,7 @@
README \
backup.txt \
budget.txt \
+ callgrind.txt \
constderv.html \
finderv.html \
finutil.html \
@@ -26,7 +27,6 @@
netlogin.txt \
guid.txt \
qif.txt \
- valgrind.txt \
generic-druid-framework.txt \
user-prefs-howto.txt
Copied: gnucash/trunk/src/doc/callgrind.txt (from rev 18623, gnucash/trunk/src/doc/valgrind.txt)
===================================================================
--- gnucash/trunk/src/doc/callgrind.txt (rev 0)
+++ gnucash/trunk/src/doc/callgrind.txt 2010-02-08 17:30:21 UTC (rev 18625)
@@ -0,0 +1,41 @@
+In order to debug with callgrind, you need to add a couple of code
+fragments around the section of code you are profiling. This is
+easiest if you can find the function that invokes the routine(s) you
+want to profile, add the following code around the function call of
+interest.
+
+Add the following to the start of the file:
+
+ #include <valgrind/callgrind.h>
+
+Add the following to the start of the calling function:
+
+ static GTimeVal start, end;
+
+Add the following just before the function of interest:
+
+ g_print("Start timing.\n");
+ g_get_current_time(&start);
+ CALLGRIND_START_INSTRUMENTATION();
+ CALLGRIND_TOGGLE_COLLECT();
+
+Add the following just after the function of interest:
+
+ CALLGRIND_TOGGLE_COLLECT();
+ CALLGRIND_STOP_INSTRUMENTATION();
+ g_get_current_time(&end);
+ if (start.tv_usec > end.tv_usec) {
+ end.tv_usec += 1000000;
+ end.tv_sec -= 1;
+ }
+ g_print("Callgrind enabled for %d.%6d seconds.\n",
+ (int)(end.tv_sec - start.tv_sec),
+ (int)(end.tv_usec - start.tv_usec));
+
+You will need to recompile, and then run the 'gnucash-valgrind'
+wrapper script instead of the normal 'gnucash' script.
+
+NOTE: Version 3.2 of valgrind has changed the above macros to no
+longer take an argument. In order to compile with this version of
+valgrind you will need to remove the trailing parentheses and
+semicolon.
Deleted: gnucash/trunk/src/doc/valgrind.txt
===================================================================
--- gnucash/trunk/src/doc/valgrind.txt 2010-02-08 10:22:29 UTC (rev 18624)
+++ gnucash/trunk/src/doc/valgrind.txt 2010-02-08 17:30:21 UTC (rev 18625)
@@ -1,41 +0,0 @@
-In order to debug with callgrind, you need to add a couple of code
-fragments around the section of code you are profiling. This is
-easiest if you can find the function that invokes the routine(s) you
-want to profile, add the following code around the function call of
-interest.
-
-Add the following to the start of the file:
-
- #include <valgrind/callgrind.h>
-
-Add the following to the start of the calling function:
-
- static GTimeVal start, end;
-
-Add the following just before the function of interest:
-
- g_print("Start timing.\n");
- g_get_current_time(&start);
- CALLGRIND_START_INSTRUMENTATION();
- CALLGRIND_TOGGLE_COLLECT();
-
-Add the following just after the function of interest:
-
- CALLGRIND_TOGGLE_COLLECT();
- CALLGRIND_STOP_INSTRUMENTATION();
- g_get_current_time(&end);
- if (start.tv_usec > end.tv_usec) {
- end.tv_usec += 1000000;
- end.tv_sec -= 1;
- }
- g_print("Callgrind enabled for %d.%6d seconds.\n",
- (int)(end.tv_sec - start.tv_sec),
- (int)(end.tv_usec - start.tv_usec));
-
-You will need to recompile, and then run the 'gnucash-valgrind'
-wrapper script instead of the normal 'gnucash' script.
-
-NOTE: Version 3.2 of valgrind has changed the above macros to no
-longer take an argument. In order to compile with this version of
-valgrind you will need to remove the trailing parentheses and
-semicolon.
Deleted: gnucash/trunk/src/valgrind-gdk.supp
===================================================================
--- gnucash/trunk/src/valgrind-gdk.supp 2010-02-08 10:22:29 UTC (rev 18624)
+++ gnucash/trunk/src/valgrind-gdk.supp 2010-02-08 17:30:21 UTC (rev 18625)
@@ -1,99 +0,0 @@
-{
- qtcurve Cond
- Memcheck:Cond
- obj:/usr/lib/kde3/plugins/styles/qtcurve.so
- fun:drawArrow
- obj:/usr/lib/gtk-2.0/*/engines/libqtengine.so
- fun:gtk_paint_arrow
-}
-{
- qtcurve Cond #2
- Memcheck:Cond
- obj:/usr/lib/libkdefx.so*
- obj:/usr/lib/kde3/plugins/styles/qtcurve.so
- fun:drawArrow
- obj:/usr/lib/gtk-2.0/*/engines/libqtengine.so
- fun:gtk_paint_arrow
-}
-{
- qtcurve Cond #3
- Memcheck:Cond
- obj:/usr/lib/libqt-mt.so*
- obj:/usr/lib/libkdefx.so*
- obj:/usr/lib/kde3/plugins/styles/qtcurve.so
- fun:drawArrow
- obj:/usr/lib/gtk-2.0/*/engines/libqtengine.so
- fun:gtk_paint_arrow
-}
-{
- <insert some suppression name here>
- Memcheck:Leak
- fun:malloc
- fun:*
- fun:*
- obj:/usr/lib/libgdk-x11-2.0.so.0.400.14
-}
-{
- <insert a suppression name here>
- Memcheck:Leak
- fun:calloc
- fun:XkbGetMap
- obj:/usr/lib/libgdk-x11-2.0.so.0.400.14
- fun:gdk_keymap_translate_keyboard_state
-}
-
-{
- <insert a suppression name here>
- Memcheck:Leak
- fun:malloc
- fun:XAddConnectionWatch
- fun:gdk_display_open
- fun:gdk_display_open_default_libgtk_only
-}
-
-{
- <insert a suppression name here>
- Memcheck:Leak
- fun:malloc
- fun:*
- obj:/usr/lib/libgdk-x11-2.0.so.0.400.14
- obj:/usr/lib/libgdk-x11-2.0.so.0.400.14
-}
-
-{
- <insert a suppression name here>
- Memcheck:Leak
- fun:malloc
- fun:_X11TransConnectDisplay
- fun:XOpenDisplay
- fun:gdk_display_open
-}
-{
- <insert a suppression name here>
- Memcheck:Leak
- fun:malloc
- obj:/usr/lib/libgdk-x11-2.0.so.0.400.14
- obj:/usr/lib/libgdk-x11-2.0.so.0.400.14
-}
-{
- <insert a suppression name here>
- Memcheck:Leak
- obj:/usr/lib/libgdk-x11-2.0.so.0.400.14
-}
-
-{
- <insert a suppression name here>
- Memcheck:Leak
- fun:malloc
- fun:XOpenDisplay
- fun:gdk_display_open
- fun:gdk_display_open_default_libgtk_only
-}
-{
- <insert a suppression name here>
- Memcheck:Leak
- fun:calloc
- fun:XOpenDisplay
- fun:gdk_display_open
- fun:gdk_display_open_default_libgtk_only
-}
Deleted: gnucash/trunk/src/valgrind-glib.supp
===================================================================
--- gnucash/trunk/src/valgrind-glib.supp 2010-02-08 10:22:29 UTC (rev 18624)
+++ gnucash/trunk/src/valgrind-glib.supp 2010-02-08 17:30:21 UTC (rev 18625)
@@ -1,91 +0,0 @@
-
-# FILE: valgrind-gnucash.supp
-#
-# FUNCTION: This file is a valgrind 'suppression' file, used to
-# get valgrind to not report certain errors that we aren't
-# interested in.
-#
-# valgrind is a memory allocation debugging tool. See the
-# file ./HACKING for instructions on how to run gnucash with
-# valgrind
-#
-# HISTORY: created aug 2003 linas vepstas
-
-
-##----------------------------------------------------------------------##
-
-# Format of this file is:
-# {
-# name_of_suppression
-# skin_name:supp_kind
-# (optional extra info for some suppression types)
-# caller0 name, or /name/of/so/file.so
-# caller1 name, or ditto
-# (optionally: caller2 name)
-# (optionally: caller3 name)
-# }
-#
-# For memcheck, the supp_kinds are:
-#
-# Param Value1 Value2 Value4 Value8 Value16
-# Free Addr1 Addr2 Addr4 Addr8 Addr16
-# Cond (previously known as Value0)
-# Leak
-#
-# and the optional extra info is:
-# if Param: name of system call param
-# if Free: name of free-ing fn)
-
-{
- g_thread_init Leak
- Memcheck:Leak
- fun:memalign
- fun:posix_memalign
- obj:/usr/lib/libglib-2.0.so.0.1600.3
- fun:g_slice_alloc
- fun:g_array_sized_new
- fun:g_array_new
- fun:g_static_private_set
- fun:g_get_filename_charsets
-}
-{
- g_get_tmp_dir leak
- Memcheck:Leak
- fun:malloc
- obj:/lib/tls/i686/cmov/libc-2.7.so
- fun:__nss_database_lookup
- obj:*
- obj:*
- fun:getpwnam_r
- obj:*libglib-2.0*
- fun:g_get_tmp_dir
-}
-{
- g_option_context_parse leak
- Memcheck:Leak
- fun:calloc
- fun:g_malloc0
- obj:*libgobject*
- obj:*libgobject*
- fun:g_type_init_with_debug_flags
- fun:g_type_init
- fun:gdk_pre_parse_libgtk_only
- obj:*libgtk-x11-2.0*
- fun:g_option_context_parse
-}
-{
- g_child_watch_add lean
- Memcheck:Leak
- fun:calloc (vg_replace_malloc.c:397)
- obj:*
- fun:_dl_allocate_tls
- fun:pthread_create*
- obj:*libgthread-2.0*
- fun:g_thread_create_full
- obj:*libglib-2.0*
- fun:g_child_watch_source_new
- fun:g_child_watch_add_full
- fun:g_child_watch_add
-}
-
-# ##----------------------------------------------------------------------##
Deleted: gnucash/trunk/src/valgrind-gnucash.supp
===================================================================
--- gnucash/trunk/src/valgrind-gnucash.supp 2010-02-08 10:22:29 UTC (rev 18624)
+++ gnucash/trunk/src/valgrind-gnucash.supp 2010-02-08 17:30:21 UTC (rev 18625)
@@ -1,294 +0,0 @@
-
-# FILE: valgrind-gnucash.supp
-#
-# FUNCTION: This file is a valgrind 'suppression' file, used to
-# get valgrind to not report certain errors that we aren't
-# interested in.
-#
-# valgrind is a memory allocation debugging tool. See the
-# file ./HACKING for instructions on how to run gnucash with
-# valgrind
-#
-# HISTORY: created aug 2003 linas vepstas
-
-
-##----------------------------------------------------------------------##
-
-# Format of this file is:
-# {
-# name_of_suppression
-# skin_name:supp_kind
-# (optional extra info for some suppression types)
-# caller0 name, or /name/of/so/file.so
-# caller1 name, or ditto
-# (optionally: caller2 name)
-# (optionally: caller3 name)
-# }
-#
-# For memcheck, the supp_kinds are:
-#
-# Param Value1 Value2 Value4 Value8 Value16
-# Free Addr1 Addr2 Addr4 Addr8 Addr16
-# Cond (previously known as Value0)
-# Leak
-#
-# and the optional extra info is:
-# if Param: name of system call param
-# if Free: name of free-ing fn)
-
-{
- libld-2.7(Addr4)
- Memcheck:Addr4
- obj:/lib/ld-2.7.so
- obj:/lib/ld-2.7.so
-}
-{
- libld-2.7(Addr4 #2)
- Memcheck:Addr4
- obj:/lib/ld-2.7.so
- obj:/lib/ld-2.7.so
- obj:/lib/tls/i686/cmov/libc-2.7.so
- obj:/lib/ld-2.7.so
- obj:/lib/tls/i686/cmov/libc-2.7.so
-}
-{
- libld-2.7(Addr4 #3)
- Memcheck:Addr4
- obj:/lib/ld-2.7.so
- obj:/lib/tls/i686/cmov/libc-2.7.so
- fun:_dl_sym
-}
-{
- libld-2.7(Addr4 #4)
- Memcheck:Addr4
- obj:/lib/ld-2.7.so
- obj:/lib/tls/i686/cmov/libdl-2.7.so
- obj:/lib/ld-2.7.so
- obj:/lib/tls/i686/cmov/libdl-2.7.so
-}
-{
- libld-2.7(Cond)
- Memcheck:Cond
- obj:/lib/ld-2.7.so
- obj:/lib/tls/i686/cmov/libc-2.7.so
- fun:_dl_sym
-}
-{
- libld-2.7(Cond #2)
- Memcheck:Cond
- obj:/lib/ld-2.7.so
- obj:/lib/ld-2.7.so
- obj:/lib/tls/i686/cmov/libc-2.7.so
- obj:/lib/ld-2.7.so
- obj:/lib/tls/i686/cmov/libc-2.7.so
-}
-{
- libld-2.7(Cond #3)
- Memcheck:Cond
- obj:/lib/ld-2.7.so
- obj:/lib/ld-2.7.so
- obj:/lib/tls/i686/cmov/libdl-2.7.so
- obj:/lib/ld-2.7.so
- obj:/lib/tls/i686/cmov/libdl-2.7.so
-}
-{
- libld-2.7(Cond #4)
- Memcheck:Cond
- obj:/lib/ld-2.7.so
- obj:/lib/tls/i686/cmov/libdl-2.7.so
- obj:/lib/ld-2.7.so
- obj:/lib/tls/i686/cmov/libdl-2.7.so
-}
-{
- libglib-1.2.so.0(Value4)
- Memcheck:Value4
- fun:g_hash_table_lookup
- fun:g_hash_table_insert
- fun:g_hash_table_lookup_extended
-}
-{
- write(buf) Param
- Memcheck:Param
- write(buf)
- obj:/lib/libpthread-2.5.so
- fun:_X11TransWrite
-}
-{
- writev(vector) ORBit Param #1
- Memcheck:Param
- writev(vector[...])
- fun:do_writev
- fun:writev
- obj:*libORBit-2.so*
- fun:link_connection_writev
- fun:giop_send_buffer_write
-}
-{
- writev(vector) ORBit Param #2
- Memcheck:Param
- writev(vector[...])
- fun:do_writev
- obj:*libORBit-2.so*
- fun:link_connection_writev
- fun:giop_send_buffer_write
-}
-#{
-# pthread_mutex_lock PThread
-# core:PThread
-# fun:pthread_mutex_lock
-# fun:_IO_flockfile
-# fun:pango_read_line
-# fun:pango_find_map
-#}
-{
- writev(vector) X11 Param
- Memcheck:Param
- writev(vector[...])
- fun:writev
- obj:/usr/X11R6/lib/libX11.so.6.2
- fun:_X11TransWritev
- fun:_XSend
-}
-{
- register_state Leak
- Memcheck:Leak
- fun:malloc
- fun:register_state
- fun:create_cd_newstate
- fun:re_compile_internal
-}
-{
- poptGetContext Leak
- Memcheck:Leak
- fun:*
- fun:poptGetContext
- fun:gnome_program_preinit
- obj:/usr/lib/libgnome-2.so.0.800.0
-}
-{
- IceAddConnectionWatch Leak
- Memcheck:Leak
- fun:malloc
- fun:IceAddConnectionWatch
- fun:gnome_ice_init
- obj:/usr/lib/libgnomeui-2.so.0.800.0
-}
-{
- CORBA_string_dup Leak
- Memcheck:Leak
- fun:malloc
- fun:g_malloc
- fun:ORBit_alloc_string
- fun:CORBA_string_dup
-}
-{
- iconv_open Leak
- Memcheck:Leak
- fun:malloc
- fun:__gconv_open
- fun:iconv_open
- obj:/usr/lib/libglib-2.0.so.0.400.8
-}
-{
- openaux Leak
- Memcheck:Leak
- fun:malloc
- fun:_dl_map_object_from_fd
- fun:_dl_map_object
- fun:openaux
-}
-{
- FcInitLoadConfigAndFonts Leak
- Memcheck:Leak
- fun:malloc
- fun:FcFontSetCreate
- fun:FcConfigBuildFonts
- fun:FcInitLoadConfigAndFonts
-}
-{
- libfontconfig.so Leak
- Memcheck:Leak
- fun:malloc
- fun:*
- obj:/usr/lib/libfontconfig.so.1.0.4
-}
-{
- XftInitFtLibrary Leak
- Memcheck:Leak
- fun:malloc
- fun:FT_New_Memory
- fun:FT_Init_FreeType
- fun:XftInitFtLibrary
-}
-{
- _XftDisplayInfoGet Leak
- Memcheck:Leak
- fun:malloc
- fun:XRenderFindDisplay
- fun:XRenderQueryExtension
- fun:_XftDisplayInfoGet
-}
-{
- libXft Leak
- Memcheck:Leak
- fun:malloc
- obj:/usr/X11R6/lib/libXft.so.2.1.2
-}
-{
- /usr/bin/esd calloc Leak
- Memcheck:Leak
- fun:calloc
- obj:/usr/bin/esd
-}
-{
- /usr/bin/esd malloc Leak
- Memcheck:Leak
- fun:malloc
- obj:/usr/bin/esd
-}
-{
- /lib/libasound Leak
- Memcheck:Leak
- fun:malloc
- obj:/lib/libasound.so.2.0.0
-}
-{
- esd_open_sound Leak
- Memcheck:Leak
- fun:malloc
- fun:esd_get_socket_dirname
- fun:esd_get_socket_name
- fun:esd_open_sound
-}
-{
- snd_pcm_open Leak
- Memcheck:Leak
- fun:calloc
- fun:snd_config_update_r
- fun:snd_config_update
- fun:snd_pcm_open
-}
-{
- snd_output_stdio_attach Leak
- Memcheck:Leak
- fun:calloc
- fun:snd_output_stdio_attach
- fun:esd_audio_open
- obj:/usr/bin/esd
-}
-{
- esd_get_socket_name Leak
- Memcheck:Leak
- fun:malloc
- fun:esd_get_socket_name
- fun:esd_open_sound
- obj:/usr/lib/libgnome-2.so.0.800.0
-}
-{
- /lib/libcrypto realloc Leak
- Memcheck:Leak
- fun:realloc
- obj:/lib/libcrypto.so.0.9.7a
-}
-
-# ##----------------------------------------------------------------------##
Deleted: gnucash/trunk/src/valgrind-libfontconfig.supp
===================================================================
--- gnucash/trunk/src/valgrind-libfontconfig.supp 2010-02-08 10:22:29 UTC (rev 18624)
+++ gnucash/trunk/src/valgrind-libfontconfig.supp 2010-02-08 17:30:21 UTC (rev 18625)
@@ -1,57 +0,0 @@
-# FILE: valgrind-libfontconfig.supp
-#
-# FUNCTION: This file is a valgrind 'suppression' file, used to
-# get valgrind to not report certain errors that we aren't
-# interested in.
-#
-# valgrind is a memory allocation debugging tool. See the
-# file ./HACKING for instructions on how to run gnucash with
-# valgrind
-#
-# HISTORY: created aug 2003 linas vepstas
-
-
-##----------------------------------------------------------------------##
-
-# Format of this file is:
-# {
-# name_of_suppression
-# skin_name:supp_kind
-# (optional extra info for some suppression types)
-# caller0 name, or /name/of/so/file.so
-# caller1 name, or ditto
-# (optionally: caller2 name)
-# (optionally: caller3 name)
-# }
-#
-# For memcheck, the supp_kinds are:
-#
-# Param Value1 Value2 Value4 Value8 Value16
-# Free Addr1 Addr2 Addr4 Addr8 Addr16
-# Cond (previously known as Value0)
-# Leak
-#
-# and the optional extra info is:
-# if Param: name of system call param
-# if Free: name of free-ing fn)
-
-{
- libfontconfig realloc Leak
- Memcheck:Leak
- fun:realloc
- obj:/usr/lib/libfontconfig.so.1.3.0
-}
-{
- libfontconfig malloc Leak #1
- Memcheck:Leak
- fun:malloc
- obj:/usr/lib/libfontconfig.so.1.3.0
-}
-{
- libfontconfig malloc Leak #2
- fun:malloc
- fun:FcStrCopy
-}
-
-
-# ##----------------------------------------------------------------------##
Deleted: gnucash/trunk/src/valgrind-libgda.supp
===================================================================
--- gnucash/trunk/src/valgrind-libgda.supp 2010-02-08 10:22:29 UTC (rev 18624)
+++ gnucash/trunk/src/valgrind-libgda.supp 2010-02-08 17:30:21 UTC (rev 18625)
@@ -1,51 +0,0 @@
-
-# FILE: valgrind-gnucash.supp
-#
-# FUNCTION: This file is a valgrind 'suppression' file, used to
-# get valgrind to not report certain errors that we aren't
-# interested in.
-#
-# valgrind is a memory allocation debugging tool. See the
-# file ./HACKING for instructions on how to run gnucash with
-# valgrind
-#
-# HISTORY: created aug 2003 linas vepstas
-
-
-##----------------------------------------------------------------------##
-
-# Format of this file is:
-# {
-# name_of_suppression
-# skin_name:supp_kind
-# (optional extra info for some suppression types)
-# caller0 name, or /name/of/so/file.so
-# caller1 name, or ditto
-# (optionally: caller2 name)
-# (optionally: caller3 name)
-# }
-#
-# For memcheck, the supp_kinds are:
-#
-# Param Value1 Value2 Value4 Value8 Value16
-# Free Addr1 Addr2 Addr4 Addr8 Addr16
-# Cond (previously known as Value0)
-# Leak
-#
-# and the optional extra info is:
-# if Param: name of system call param
-# if Free: name of free-ing fn)
-
-{
- libgda permanant memory for gda_paramlist_dtd
- Memcheck:Leak
- fun:malloc
- fun:xmlStrndup
- fun:xmlStrdup
- fun:xmlNewDtd
- fun:xmlSAXParseDTD
- fun:xmlParseDTD
- fun:gda_init
-}
-
-# ##----------------------------------------------------------------------##
Deleted: gnucash/trunk/src/valgrind-libguile.supp
===================================================================
--- gnucash/trunk/src/valgrind-libguile.supp 2010-02-08 10:22:29 UTC (rev 18624)
+++ gnucash/trunk/src/valgrind-libguile.supp 2010-02-08 17:30:21 UTC (rev 18625)
@@ -1,91 +0,0 @@
-
-# FILE: valgrind-gnucash.supp
-#
-# FUNCTION: This file is a valgrind 'suppression' file, used to
-# get valgrind to not report certain errors that we aren't
-# interested in.
-#
-# valgrind is a memory allocation debugging tool. See the
-# file ./HACKING for instructions on how to run gnucash with
-# valgrind
-#
-# HISTORY: created aug 2003 linas vepstas
-
-
-##----------------------------------------------------------------------##
-
-# Format of this file is:
-# {
-# name_of_suppression
-# skin_name:supp_kind
-# (optional extra info for some suppression types)
-# caller0 name, or /name/of/so/file.so
-# caller1 name, or ditto
-# (optionally: caller2 name)
-# (optionally: caller3 name)
-# }
-#
-# For memcheck, the supp_kinds are:
-#
-# Param Value1 Value2 Value4 Value8 Value16
-# Free Addr1 Addr2 Addr4 Addr8 Addr16
-# Cond (previously known as Value0)
-# Leak
-#
-# and the optional extra info is:
-# if Param: name of system call param
-# if Free: name of free-ing fn)
-
-{
- libguile.so(Cond)
- Memcheck:Cond
- obj:*libguile.so.*
-}
-{
- libguile.so(Value4)
- Memcheck:Value4
- obj:*libguile.so*
-}
-{
- libguile.so(Leak)
- Memcheck:Leak
- fun:malloc
- obj:*libguile.so*
- obj:*libguile.so*
- obj:*libguile.so*
-}
-{
- scm_make_port_type Leak
- Memcheck:Leak
- fun:realloc
- fun:scm_make_port_type
- fun:scm_init_vports
- obj:*libguile.so*
-}
-{
- scm_gc_for_newcell Leak
- Memcheck:Leak
- fun:malloc
- obj:*libguile.so*
- fun:scm_gc_for_newcell
- fun:scm_acons
-}
-{
- scm_dynamic_link leak
- Memcheck:Leak
- fun:malloc
- obj:*libguile-ltdl*
- obj:*libguile-ltdl*
- obj:*libguile-ltdl*
- fun:scm_lt_dlopenext
- fun:scm_dynamic_link
-}
-{
- scm_deval leak
- Memcheck:Leak
- fun:malloc
- fun:_wrap_*
- fun:scm_deval
-}
-
-# ##----------------------------------------------------------------------##
Deleted: gnucash/trunk/src/valgrind-x11.supp
===================================================================
--- gnucash/trunk/src/valgrind-x11.supp 2010-02-08 10:22:29 UTC (rev 18624)
+++ gnucash/trunk/src/valgrind-x11.supp 2010-02-08 17:30:21 UTC (rev 18625)
@@ -1,125 +0,0 @@
-{
- <Hopefully ignore lots of X11 leaks>
- Memcheck:Leak
- fun:malloc
- obj:/usr/X11R6/lib/libX11.so.6.2
-}
-{
- <Hopefully ignore lots of X11 leaks>
- Memcheck:Leak
- fun:malloc
- fun:*
- fun:*
- obj:/usr/X11R6/lib/libX11.so.6.2
-}
-{
- <insert a suppression name here>
- Memcheck:Leak
- fun:malloc
- obj:/usr/X11R6/lib/libX11.so.6.2
- obj:/usr/X11R6/lib/libX11.so.6.2
-}
-{
- <insert a suppression name here>
- Memcheck:Leak
- fun:calloc
- obj:/usr/X11R6/lib/libX11.so.6.2
- obj:/usr/X11R6/lib/libX11.so.6.2
-}
-{
- <insert a suppression name here>
- Memcheck:Leak
- fun:malloc
- fun:_XiGetExtensionVersion
- fun:_XiCheckExtInit
- fun:XListInputDevices
-}
-{
- <insert a suppression name here>
- Memcheck:Leak
- fun:malloc
- fun:XextAddDisplay
- obj:/usr/X11R6/lib/libXext.so.6.4
-}
-{
- <insert a suppression name here>
- Memcheck:Leak
- fun:malloc
- fun:XextCreateExtension
- fun:XInput_find_display
- fun:XListInputDevices
-}
-
-{
- <insert a suppression name here>
- Memcheck:Leak
- fun:malloc
- fun:_XOpenLC
- fun:_XlcCurrentLC
- fun:XSupportsLocale
-}
-
-{
- <insert a suppression name here>
- Memcheck:Leak
- fun:malloc
- fun:_XlcCreateLC
- fun:_XlcUtf8Loader
- fun:_XlcDynamicLoad
-}
-
-{
- <insert a suppression name here>
- Memcheck:Leak
- fun:malloc
- obj:/usr/X11R6/lib/libX11.so.6.2
- fun:_XlcCreateLC
- fun:_XlcUtf8Loader
-}
-
-{
- <>
- Memcheck:Leak
- fun:malloc
- fun:_XcursorGetDisplayInfo
-}
-{
- <insert a suppression name here>
- Memcheck:Leak
- fun:malloc
- obj:/usr/X11R6/lib/libX11.so.6.2
- fun:_X11TransConnect
- fun:_X11TransConnectDisplay
-}
-{
- <insert a suppression name here>
- Memcheck:Leak
- fun:malloc
- obj:/usr/X11R6/lib/libX11.so.6.2
- obj:/usr/X11R6/lib/libX11.so.6.2
- fun:_X11TransConnectDisplay
-}
-{
- <insert a suppression name here>
- Memcheck:Leak
- fun:realloc
- obj:/usr/X11R6/lib/libX11.so.6.2
- obj:/usr/X11R6/lib/libX11.so.6.2
- obj:/usr/X11R6/lib/libX11.so.6.2
-}
-{
- <insert a suppression name here>
- Memcheck:Leak
- fun:malloc
- fun:_XlcAddCT
- fun:_XlcInitCTInfo
- obj:/usr/X11R6/lib/libX11.so.6.2
-}
-{
- <insert a suppression name here>
- Memcheck:Leak
- fun:malloc
- fun:_XrmInternalStringToQuark
- fun:XrmStringToQuark
- fun:_XlcGetCharSet
-}
More information about the gnucash-changes
mailing list