[cig-commits] r7691 - in short/3D/PyLith/trunk: . share

brad at geodynamics.org brad at geodynamics.org
Wed Jul 18 09:18:15 PDT 2007


Author: brad
Date: 2007-07-18 09:18:15 -0700 (Wed, 18 Jul 2007)
New Revision: 7691

Added:
   short/3D/PyLith/trunk/share/
   short/3D/PyLith/trunk/share/valgrind-python.supp
Log:
Added valgrind suppresssion file for Python stuff.

Added: short/3D/PyLith/trunk/share/valgrind-python.supp
===================================================================
--- short/3D/PyLith/trunk/share/valgrind-python.supp	2007-07-18 16:14:15 UTC (rev 7690)
+++ short/3D/PyLith/trunk/share/valgrind-python.supp	2007-07-18 16:18:15 UTC (rev 7691)
@@ -0,0 +1,60 @@
+#
+# This is a valgrind suppression file that should be used when using valgrind.
+#
+#  Here's an example of running valgrind:
+#
+#	cd python/dist/src
+#	valgrind --tool=memcheck --suppressions=Misc/valgrind-python.supp \
+#		./python -E -tt ./Lib/test/regrtest.py -u bsddb,network
+#
+# You must edit Objects/obmalloc.c and uncomment Py_USING_MEMORY_DEBUGGER
+# to use the preferred suppressions with Py_ADDRESS_IN_RANGE.
+#
+# If you do not want to recompile Python, you can uncomment
+# suppressions for PyObject_Free and PyObject_Realloc.
+#
+# See Misc/README.valgrind for more information.
+
+# all tool names: Addrcheck,Memcheck,cachegrind,helgrind,massif
+{
+   ADDRESS_IN_RANGE/Invalid read of size 4
+   Memcheck:Addr4
+   fun:PyObject_Free
+}
+
+{
+   ADDRESS_IN_RANGE/Invalid read of size 4
+   Memcheck:Addr4
+   fun:PyObject_Realloc
+}
+
+{
+   ADDRESS_IN_RANGE/Use of uninitialised value of size 8
+   Memcheck:Value8
+   fun:PyObject_Free
+}
+
+{
+   ADDRESS_IN_RANGE/Use of uninitialised value of size 8
+   Memcheck:Value8
+   fun:PyObject_Realloc
+}
+
+{
+   ADDRESS_IN_RANGE/Conditional jump or move depends on uninitialised value(s)
+   Memcheck:Cond
+   fun:PyObject_Free
+}
+
+{
+   ADDRESS_IN_RANGE/Conditional jump or move depends on uninitialised value(s)
+   Memcheck:Cond
+   fun:PyObject_Realloc
+}
+
+{
+   ADDRESS_IN_RANGE/Conditional jump or move depends on uninitialised value(s)
+   Memcheck:Cond
+   fun:__strcpy_chk
+}
+



More information about the cig-commits mailing list