]> granicus.if.org Git - recode/commitdiff
Add more suppressions
authorReuben Thomas <rrt@sc3d.org>
Mon, 29 Jan 2018 14:41:08 +0000 (14:41 +0000)
committerReuben Thomas <rrt@sc3d.org>
Tue, 30 Jan 2018 02:10:24 +0000 (02:10 +0000)
Use of subprocess module seems to tickle Valgrind, so activate some existing
leak suppressions and add some more.

tests/valgrind-python.supp

index 53cabcade462836b884fbb31bf03a69fbcd19b19..702176646b494a6578d199e487c6a01cbc028ccd 100644 (file)
@@ -67,7 +67,7 @@
    Memcheck:Leak
    fun:malloc
    fun:PyThread_allocate_lock
-   fun:PyEval_InitThreads
+#   fun:PyEval_InitThreads
 }
 
 {
    Memcheck:Leak
    fun:realloc
    fun:_PyObject_GC_Resize
-   fun:COMMENT_THIS_LINE_TO_DISABLE_LEAK_WARNING
+#   fun:COMMENT_THIS_LINE_TO_DISABLE_LEAK_WARNING
 }
 
 {
    Memcheck:Leak
    fun:malloc
    fun:_PyObject_GC_New
-   fun:COMMENT_THIS_LINE_TO_DISABLE_LEAK_WARNING
+#   fun:COMMENT_THIS_LINE_TO_DISABLE_LEAK_WARNING
 }
 
 {
    Memcheck:Leak
    fun:malloc
    fun:_PyObject_GC_NewVar
-   fun:COMMENT_THIS_LINE_TO_DISABLE_LEAK_WARNING
+#   fun:COMMENT_THIS_LINE_TO_DISABLE_LEAK_WARNING
+}
+
+
+{
+   Handle PyMalloc confusing valgrind (possibly leaked)
+   Memcheck:Leak
+   fun:malloc
+   fun:PyObject_Malloc
+#   fun:COMMENT_THIS_LINE_TO_DISABLE_LEAK_WARNING
 }
 
 #