Blame 0001-additional-valgrind-suppression-for-Python-3.9.patch

2afb480
From b1feeb990f536147d5c49c6d002b04a9436eeea2 Mon Sep 17 00:00:00 2001
2afb480
From: Merlin Mathesius <mmathesi@redhat.com>
2afb480
Date: Fri, 27 Mar 2020 13:53:13 -0500
2afb480
Subject: [PATCH] additional valgrind suppression for Python 3.9
2afb480
2afb480
---
2afb480
 contrib/valgrind/libmodulemd-python.supp | 10 ++++++++++
2afb480
 1 file changed, 10 insertions(+)
2afb480
2afb480
diff --git a/contrib/valgrind/libmodulemd-python.supp b/contrib/valgrind/libmodulemd-python.supp
2afb480
index fe9814d86daa340ec1283becee78514d1d93e3ff..080669825eab28459e032488f348cf8a90455e23 100644
2afb480
--- a/contrib/valgrind/libmodulemd-python.supp
2afb480
+++ b/contrib/valgrind/libmodulemd-python.supp
2afb480
@@ -54,10 +54,20 @@
2afb480
    fun:g_malloc
2afb480
    fun:g_strdup
2afb480
    ...
2afb480
    fun:PyObject_SetAttr
2afb480
 }
2afb480
+{
2afb480
+   Handle Python 3.9 PyMalloc confusing valgrind
2afb480
+   Memcheck:Leak
2afb480
+   fun:malloc
2afb480
+   fun:PyThread_allocate_lock
2afb480
+   ...
2afb480
+   fun:Py_InitializeFromConfig
2afb480
+   ...
2afb480
+   fun:Py_BytesMain
2afb480
+}
2afb480
 {
2afb480
    Python3 Unicode uninitialized value
2afb480
    Memcheck:Cond
2afb480
    fun:PyUnicode_Decode
2afb480
    ...
2afb480
-- 
2afb480
2.25.1
2afb480