[Libreoffice-commits] core.git: solenv/sanitizers

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Fri Jul 31 12:18:17 UTC 2020


 solenv/sanitizers/valgrind-suppressions |   39 ++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

New commits:
commit b8dbf58a03679386a44d3fe6c95775ae19716010
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Fri Jul 31 13:13:49 2020 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Fri Jul 31 14:17:34 2020 +0200

    add valgrind suppression file
    
    Change-Id: I7fb40d8ec02765a1898545431ea527a33c6ec94f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99865
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/solenv/sanitizers/valgrind-suppressions b/solenv/sanitizers/valgrind-suppressions
new file mode 100644
index 000000000000..1f1dfe04216d
--- /dev/null
+++ b/solenv/sanitizers/valgrind-suppressions
@@ -0,0 +1,39 @@
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+# Pass this file to valgrind with
+#    --suppressions=solenv/sanitizers/valgrind-suppressions
+#
+
+
+#
+# Ignore module-static data allocated when we dlopen() glib
+{
+   glib1
+   Memcheck:Leak
+   match-leak-kinds: possible
+   ...
+   fun:g_type_register_*
+   ...
+   fun:osl_loadModule
+   ...
+}
+{
+   glib2
+   Memcheck:Leak
+   match-leak-kinds: possible
+   fun:calloc
+   fun:g_malloc0
+   obj:*libgobject*
+   ...
+   fun:call_init.part.0
+   ...
+   fun:osl_loadModule
+   ...
+}
+


More information about the Libreoffice-commits mailing list