r17173 - gnucash/branches/gda-dev2/src - 1) Fix compilation problem in dialog-database-connection.c

Phil Longstaff plongstaff at cvs.gnucash.org
Sun May 25 18:12:36 EDT 2008


Author: plongstaff
Date: 2008-05-25 18:12:35 -0400 (Sun, 25 May 2008)
New Revision: 17173
Trac: http://svn.gnucash.org/trac/changeset/17173

Added:
   gnucash/branches/gda-dev2/src/bin/gnucash-gdb.in
   gnucash/branches/gda-dev2/src/valgrind-glib.supp
   gnucash/branches/gda-dev2/src/valgrind-libfontconfig.supp
   gnucash/branches/gda-dev2/src/valgrind-libgda.supp
   gnucash/branches/gda-dev2/src/valgrind-libguile.supp
Modified:
   gnucash/branches/gda-dev2/src/bin/
   gnucash/branches/gda-dev2/src/bin/Makefile.am
   gnucash/branches/gda-dev2/src/bin/gnucash-valgrind.in
   gnucash/branches/gda-dev2/src/gnome-utils/dialog-database-connection.c
   gnucash/branches/gda-dev2/src/import-export/qif-import/schemas/
   gnucash/branches/gda-dev2/src/valgrind-gnucash.supp
Log:
1) Fix compilation problem in dialog-database-connection.c
2) Add some valgrind/gdb infrastructure
    - new gnucash-gdb command to run under gdb
    - split valgrind suppression file into different files for
    different libraries
    - change valgrind default to memcheck




Property changes on: gnucash/branches/gda-dev2/src/bin
___________________________________________________________________
Name: svn:ignore
   - .deps
.libs
*.diff
*.diffs
*.patch
*.log
*.xac.*.xac
Makefile
Makefile.in
gnucash
gnucash-bin
gnucash-env
gnucash-make-guids
gnucash-run-script
gnucash-valgrind
strsub
update-gnucash-gconf
semantic.cache
i18n.h
TAGS
*.exe

   + .deps
.libs
*.diff
*.diffs
*.patch
*.log
*.xac.*.xac
Makefile
Makefile.in
gnucash
gnucash-bin
gnucash-gdb
gnucash-env
gnucash-make-guids
gnucash-run-script
gnucash-valgrind
strsub
update-gnucash-gconf
semantic.cache
i18n.h
TAGS
*.exe


Modified: gnucash/branches/gda-dev2/src/bin/Makefile.am
===================================================================
--- gnucash/branches/gda-dev2/src/bin/Makefile.am	2008-05-25 22:06:36 UTC (rev 17172)
+++ gnucash/branches/gda-dev2/src/bin/Makefile.am	2008-05-25 22:12:35 UTC (rev 17173)
@@ -40,6 +40,18 @@
 	mv $@.tmp $@
 	chmod u+x $@
 
+gnucash-gdb: gnucash-gdb.in ${top_builddir}/config.status Makefile
+	rm -f $@.tmp
+	sed < $< > $@.tmp \
+	    -e 's#@-BIN_DIR-@#${bindir}#g' \
+	    -e 's#@-GNC_GUILE_MODULE_DIR-@#${GNC_SHAREDIR}/guile-modules#g' \
+	    -e 's#@-GNC_SCM_INSTALL_DIR-@#${GNC_SCM_INSTALL_DIR}#g' \
+            -e 's#@-GNC_LIB_INSTALLDIR-@#${libdir}#' \
+            -e 's#@-GNC_PKGLIB_INSTALLDIR-@#${pkglibdir}#g' \
+	    -e "s#@-TOP_SRC_DIR-@#`pwd`/${top_srcdir}#g"
+	mv $@.tmp $@
+	chmod u+x $@
+
 gnucash-valgrind: gnucash-valgrind.in ${top_builddir}/config.status Makefile
 	rm -f $@.tmp
 	sed < $< > $@.tmp \
@@ -52,7 +64,7 @@
 	mv $@.tmp $@
 	chmod u+x $@
 
-CLEANFILES = $(BUILT_SOURCES) gnucash gnucash-valgrind
+CLEANFILES = $(BUILT_SOURCES) gnucash gnucash-valgrind gnucash-gdb
 
 # We handle gnucash scripts in a somewhat unexpected way, but we do
 # this so that a user who doesn't necessarily have the right
@@ -71,13 +83,13 @@
 # by these top-level "common" scripts.
 gnc_common_scripts = gnucash-env gnucash-make-guids
 
-bin_SCRIPTS = ${gnc_common_scripts} update-gnucash-gconf gnucash gnucash-valgrind
+bin_SCRIPTS = ${gnc_common_scripts} update-gnucash-gconf gnucash gnucash-valgrind gnucash-gdb
 
 # if you change gncoverridedir, make sure you change ./overrides/Makefile.am too.
 gncoverridesdir = ${GNC_LIBEXECDIR}/overrides
 
 EXTRA_DIST = generate-gnc-script update-gnucash-gconf.in \
-	gnucash.in gnucash-valgrind.in
+	gnucash.in gnucash-valgrind.in gnucash-gdb.in
 
 ## Gnucash scripts -- real code is in overrides, these just get you there.
 ${gnc_common_scripts}: generate-gnc-script ${top_builddir}/config.status

Added: gnucash/branches/gda-dev2/src/bin/gnucash-gdb.in
===================================================================
--- gnucash/branches/gda-dev2/src/bin/gnucash-gdb.in	                        (rev 0)
+++ gnucash/branches/gda-dev2/src/bin/gnucash-gdb.in	2008-05-25 22:12:35 UTC (rev 17173)
@@ -0,0 +1,30 @@
+#!/bin/sh
+
+PATH="@-BIN_DIR-@:${PATH}"
+export PATH
+
+GUILE_WARN_DEPRECATED="no"
+export GUILE_WARN_DEPRECATED
+
+GNC_MODULE_PATH="@-GNC_PKGLIB_INSTALLDIR-@:${GNC_MODULE_PATH}"
+
+EXTRA_PATH="${EXTRA_PATH}:@-GNC_GUILE_MODULE_DIR-@"
+EXTRA_PATH="${EXTRA_PATH}:@-GNC_SCM_INSTALL_DIR-@"
+GUILE_LOAD_PATH="${EXTRA_PATH}:${GUILE_LOAD_PATH}"
+
+EXTRA_LIBS="${GNC_MODULE_PATH}"
+EXTRA_LIBS="${EXTRA_LIBS}:@-GNC_LIB_INSTALLDIR-@"
+EXTRA_LIBS="${EXTRA_LIBS}:@-GNC_PKGLIB_INSTALLDIR-@"
+
+LD_LIBRARY_PATH="${EXTRA_LIBS}:${LD_LIBRARY_PATH}"
+TOP_SRC_DIR="@-TOP_SRC_DIR-@"
+
+export GNC_MODULE_PATH
+export GUILE_LOAD_PATH
+export LD_LIBRARY_PATH
+
+#
+# Other potentially useful options, particularly for valgrind-2.x:
+# --tool=memcheck --trace-children=yes
+#
+exec gdb gnucash-bin "$@"

Modified: gnucash/branches/gda-dev2/src/bin/gnucash-valgrind.in
===================================================================
--- gnucash/branches/gda-dev2/src/bin/gnucash-valgrind.in	2008-05-25 22:06:36 UTC (rev 17172)
+++ gnucash/branches/gda-dev2/src/bin/gnucash-valgrind.in	2008-05-25 22:12:35 UTC (rev 17173)
@@ -28,9 +28,13 @@
 # --tool=memcheck --trace-children=yes
 #
 exec valgrind -v \
-    --suppressions=${TOP_SRC_DIR}/src/valgrind-gnucash.supp  \
+    --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 \
     --error-limit=no \
-    --tool=callgrind \
-    --instr-atstart=no \
-    --collect-atstart=no \
+    --tool=memcheck \
+	--leak-check=full \
     gnucash-bin "$@"

Modified: gnucash/branches/gda-dev2/src/gnome-utils/dialog-database-connection.c
===================================================================
--- gnucash/branches/gda-dev2/src/gnome-utils/dialog-database-connection.c	2008-05-25 22:06:36 UTC (rev 17172)
+++ gnucash/branches/gda-dev2/src/gnome-utils/dialog-database-connection.c	2008-05-25 22:12:35 UTC (rev 17173)
@@ -113,9 +113,8 @@
     GladeXML* xml;
     GtkWidget* box;
 	GList* ds_node;
-	GdaDataModel* dsns;
-	gint numDsns;
-	gint i;
+	GList* ds_list;
+	gint numDsns = 0;
 
     dcw = g_new0(struct DatabaseConnectionWindow, 1);
     g_return_if_fail(dcw);
@@ -128,12 +127,13 @@
     dcw->rb_predefined = glade_xml_get_widget( xml, "rb_predefined" );
 	box = glade_xml_get_widget( xml, "predefined_connection_box" );
 	dcw->cb_predefined = gtk_combo_box_new_text();
-	numDsns = gda_config_get_nb_dsn();
-	dsns = gda_config_list_dsn();
-	for( i = 0; i < numDsns; i++ ) {
-		GdaDataSourceInfo* ds_info = gda_config_get_dsn_at_index( i );
+	ds_list = gda_config_get_data_source_list();
+	for( ds_node = ds_list; ds_node != NULL; ds_node = ds_node->next ) {
+		GdaDataSourceInfo* ds_info = (GdaDataSourceInfo*)ds_node->data;
 		gtk_combo_box_append_text( GTK_COMBO_BOX(dcw->cb_predefined), g_strdup(ds_info->name) );
+		numDsns++;
 	}
+	gda_config_free_data_source_list( ds_list );
 	if( numDsns != 0 ) {
 		gtk_combo_box_set_active( GTK_COMBO_BOX(dcw->cb_predefined), 0 );
 	} else {


Property changes on: gnucash/branches/gda-dev2/src/import-export/qif-import/schemas
___________________________________________________________________
Name: svn:ignore
   - .deps
.libs
.scm-links
*.gladep
*.la
*.lo
Makefile
Makefile.in
import-export
gnucash
qif-import
semantic.cache
TAGS

   + .deps
.libs
.scm-links
*.gladep
*.la
*.lo
Makefile
Makefile.in
import-export
gnucash
qif-import
semantic.cache
TAGS
apps_gnucash_import_qif.schemas


Added: gnucash/branches/gda-dev2/src/valgrind-glib.supp
===================================================================
--- gnucash/branches/gda-dev2/src/valgrind-glib.supp	                        (rev 0)
+++ gnucash/branches/gda-dev2/src/valgrind-glib.supp	2008-05-25 22:12:35 UTC (rev 17173)
@@ -0,0 +1,53 @@
+
+# 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:/opt/gnome/lib/libglib-2.0.so.0.1200.4
+	fun:g_slice_alloc
+	fun:g_array_sized_new
+	fun:g_array_new
+	fun:g_static_private_set
+	fun:g_get_filename_charsets
+}
+
+
+# ##----------------------------------------------------------------------##

Modified: gnucash/branches/gda-dev2/src/valgrind-gnucash.supp
===================================================================
--- gnucash/branches/gda-dev2/src/valgrind-gnucash.supp	2008-05-25 22:06:36 UTC (rev 17172)
+++ gnucash/branches/gda-dev2/src/valgrind-gnucash.supp	2008-05-25 22:12:35 UTC (rev 17173)
@@ -37,25 +37,12 @@
 #     if Free: name of free-ing fn)
 
 {
-   libguile.so(Cond)
-   Memcheck:Cond
-   obj:*libguile.so.*
-}
-
-{
-   libguile.so(Value4)
-   Memcheck:Value4
-   obj:*libguile.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
@@ -63,9 +50,8 @@
    obj:/lib/libpthread-2.5.so
    fun:_X11TransWrite
 }
-
 {
-   <insert a suppression name here>
+   writev(vector) ORBit Param #1
    Memcheck:Param
    writev(vector[...])
    fun:do_writev
@@ -74,9 +60,8 @@
    fun:link_connection_writev
    fun:giop_send_buffer_write
 }
-
 {
-   <insert a suppression name here>
+   writev(vector) ORBit Param #2
    Memcheck:Param
    writev(vector[...])
    fun:do_writev
@@ -84,18 +69,16 @@
    fun:link_connection_writev
    fun:giop_send_buffer_write
 }
-
 {
-   <insert a suppression name here>
+   pthread_mutex_lock PThread
    core:PThread
    fun:pthread_mutex_lock
    fun:_IO_flockfile
    fun:pango_read_line
    fun:pango_find_map
 }
-
 {
-   <insert a suppression name here>
+   writev(vector) X11 Param
    Memcheck:Param
    writev(vector[...])
    fun:writev
@@ -103,65 +86,32 @@
    fun:_X11TransWritev
    fun:_XSend
 }
-
-
 {
-   <insert a suppression name here>
+   register_state Leak
    Memcheck:Leak
    fun:malloc
-   obj:/usr/lib/libguile.so.12.3.0
-   obj:/usr/lib/libguile.so.12.3.0
-   obj:/usr/lib/libguile.so.12.3.0
-}
-{
-   <insert a suppression name here>
-   Memcheck:Leak
-   fun:realloc
-   fun:scm_make_port_type
-   fun:scm_init_vports
-   obj:/usr/lib/libguile.so.12.3.0
-}
-{
-   <insert a suppression name here>
-   Memcheck:Leak
-   fun:realloc
-   obj:/usr/lib/libguile.so.12.3.0
-   fun:scm_gc_for_newcell
-   fun:scm_acons
-}
-
-{
-   <insert a suppression name here>
-   Memcheck:Leak
-   fun:malloc
    fun:register_state
    fun:create_cd_newstate
    fun:re_compile_internal
 }
-
-
-
 {
-   <insert a suppression name here>
+   poptGetContext Leak
    Memcheck:Leak
    fun:*
    fun:poptGetContext
    fun:gnome_program_preinit
    obj:/usr/lib/libgnome-2.so.0.800.0
 }
-
-
 {
-   <insert a suppression name here>
+   IceAddConnectionWatch Leak
    Memcheck:Leak
    fun:malloc
    fun:IceAddConnectionWatch
    fun:gnome_ice_init
    obj:/usr/lib/libgnomeui-2.so.0.800.0
 }
-
 {
-   <insert a suppression name here>
+   CORBA_string_dup Leak
    Memcheck:Leak
    fun:malloc
    fun:g_malloc
@@ -169,7 +119,7 @@
    fun:CORBA_string_dup
 }
 {
-   <insert a suppression name here>
+   iconv_open Leak
    Memcheck:Leak
    fun:malloc
    fun:__gconv_open
@@ -177,7 +127,7 @@
    obj:/usr/lib/libglib-2.0.so.0.400.8
 }
 {
-   <insert a suppression name here>
+   openaux Leak
    Memcheck:Leak
    fun:malloc
    fun:_dl_map_object_from_fd
@@ -185,7 +135,7 @@
    fun:openaux
 }
 {
-   <insert a suppression name here>
+   FcInitLoadConfigAndFonts Leak
    Memcheck:Leak
    fun:malloc
    fun:FcFontSetCreate
@@ -193,23 +143,22 @@
    fun:FcInitLoadConfigAndFonts
 }
 {
-   <insert a suppression name here>
+   libfontconfig.so Leak
    Memcheck:Leak
    fun:malloc
    fun:*
    obj:/usr/lib/libfontconfig.so.1.0.4
 }
 {
-   <insert a suppression name here>
+   XftInitFtLibrary Leak
    Memcheck:Leak
    fun:malloc
    fun:FT_New_Memory
    fun:FT_Init_FreeType
    fun:XftInitFtLibrary
 }
-
 {
-   <insert a suppression name here>
+   _XftDisplayInfoGet Leak
    Memcheck:Leak
    fun:malloc
    fun:XRenderFindDisplay
@@ -217,32 +166,31 @@
    fun:_XftDisplayInfoGet
 }
 {
-   <insert a suppression name here>
+   libXft Leak
    Memcheck:Leak
    fun:malloc
    obj:/usr/X11R6/lib/libXft.so.2.1.2
 }
-
 {
-   <insert a suppression name here>
+   /usr/bin/esd calloc Leak
    Memcheck:Leak
    fun:calloc
    obj:/usr/bin/esd
 }
 {
-   <insert a suppression name here>
+   /usr/bin/esd malloc Leak
    Memcheck:Leak
    fun:malloc
    obj:/usr/bin/esd
 }
 {
-   <insert a suppression name here>
+   /lib/libasound Leak
    Memcheck:Leak
    fun:malloc
    obj:/lib/libasound.so.2.0.0
 }
 {
-   <insert a suppression name here>
+   esd_open_sound Leak
    Memcheck:Leak
    fun:malloc
    fun:esd_get_socket_dirname
@@ -250,7 +198,7 @@
    fun:esd_open_sound
 }
 {
-   <insert a suppression name here>
+   snd_pcm_open Leak
    Memcheck:Leak
    fun:calloc
    fun:snd_config_update_r
@@ -258,7 +206,7 @@
    fun:snd_pcm_open
 }
 {
-   <insert a suppression name here>
+   snd_output_stdio_attach Leak
    Memcheck:Leak
    fun:calloc
    fun:snd_output_stdio_attach
@@ -266,20 +214,18 @@
    obj:/usr/bin/esd
 }
 {
-   <insert a suppression name here>
+   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
 }
-
 {
-   <insert a suppression name here>
+   /lib/libcrypto realloc Leak
    Memcheck:Leak
    fun:realloc
    obj:/lib/libcrypto.so.0.9.7a
 }
 
-
 # ##----------------------------------------------------------------------##

Added: gnucash/branches/gda-dev2/src/valgrind-libfontconfig.supp
===================================================================
--- gnucash/branches/gda-dev2/src/valgrind-libfontconfig.supp	                        (rev 0)
+++ gnucash/branches/gda-dev2/src/valgrind-libfontconfig.supp	2008-05-25 22:12:35 UTC (rev 17173)
@@ -0,0 +1,55 @@
+# 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)
+
+{
+	FcFontRenderPrepare Leak
+	Memcheck:Leak
+	fun:realloc
+	obj:/usr/lib/libfontconfig.so.1.1.0
+	obj:/usr/lib/libfontconfig.so.1.1.0
+	obj:/usr/lib/libfontconfig.so.1.1.0
+	fun:FcFontRenderPrepare
+}
+{
+	libfontconfig malloc Leak
+	Memcheck:Leak
+	fun:malloc
+	obj:/usr/lib/libfontconfig.so.1.1.0
+}
+
+
+# ##----------------------------------------------------------------------##

Added: gnucash/branches/gda-dev2/src/valgrind-libgda.supp
===================================================================
--- gnucash/branches/gda-dev2/src/valgrind-libgda.supp	                        (rev 0)
+++ gnucash/branches/gda-dev2/src/valgrind-libgda.supp	2008-05-25 22:12:35 UTC (rev 17173)
@@ -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
+}
+
+# ##----------------------------------------------------------------------##

Added: gnucash/branches/gda-dev2/src/valgrind-libguile.supp
===================================================================
--- gnucash/branches/gda-dev2/src/valgrind-libguile.supp	                        (rev 0)
+++ gnucash/branches/gda-dev2/src/valgrind-libguile.supp	2008-05-25 22:12:35 UTC (rev 17173)
@@ -0,0 +1,74 @@
+
+# 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:/usr/lib/libguile.so.12.3.0
+   obj:/usr/lib/libguile.so.12.3.0
+   obj:/usr/lib/libguile.so.12.3.0
+}
+{
+   scm_make_port_type Leak
+   Memcheck:Leak
+   fun:realloc
+   fun:scm_make_port_type
+   fun:scm_init_vports
+   obj:/usr/lib/libguile.so.12.3.0
+}
+{
+   scm_gc_for_newcell Leak
+   Memcheck:Leak
+   fun:realloc
+   obj:/usr/lib/libguile.so.12.3.0
+   fun:scm_gc_for_newcell
+   fun:scm_acons
+}
+
+# ##----------------------------------------------------------------------##



More information about the gnucash-changes mailing list