[gjs: 3/7] valgrind: Add suppressions for leaks outside GJS
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs: 3/7] valgrind: Add suppressions for leaks outside GJS
- Date: Tue, 13 Mar 2018 21:01:10 +0000 (UTC)
commit 44df2cc807ccce40a0b4cb1993db5df71f502829
Author: Philip Chimento <philip chimento gmail com>
Date: Mon Mar 12 16:29:13 2018 -0700
valgrind: Add suppressions for leaks outside GJS
Leaks that are neither in GLib (which would go in GLib's suppressions
file) nor in GJS, we add here so that we can have a clean Valgrind slate
for CI eventually.
See #120.
installed-tests/extra/gjs.supp | 48 +++++++++++++++++++++++++++++++++++++++++
installed-tests/extra/lsan.supp | 3 +++
2 files changed, 51 insertions(+)
---
diff --git a/installed-tests/extra/gjs.supp b/installed-tests/extra/gjs.supp
index f584352..3dfb2d7 100644
--- a/installed-tests/extra/gjs.supp
+++ b/installed-tests/extra/gjs.supp
@@ -84,6 +84,54 @@
fun:clone
}
+# Various things that I don't believe are related to GJS
+
+{
+ gl-dispatch-init
+ Memcheck:Leak
+ match-leak-kinds: possible
+ ...
+ fun:__glDispatchInit
+}
+
+{
+ gl-dispatch-register-stub-callbacks
+ Memcheck:Leak
+ match-leak-kinds: possible
+ ...
+ fun:__glDispatchRegisterStubCallbacks
+}
+
+{
+ gtk-style-context
+ Memcheck:Leak
+ match-leak-kinds: possible
+ fun:malloc
+ fun:g_malloc
+ ...
+ fun:gtk_style_new
+ fun:gtk_widget_get_default_style
+}
+
+# https://bugs.freedesktop.org/show_bug.cgi?id=105466
+{
+ freedesktop-bug-105466
+ Memcheck:Leak
+ match-leak-kinds: definite
+ fun:malloc
+ ...
+ fun:FcPatternDuplicate
+ fun:_cairo_ft_font_face_create_for_pattern
+ fun:_cairo_ft_font_face_create_for_toy
+ fun:_cairo_toy_font_face_create_impl_face
+ fun:_cairo_toy_font_face_init
+ fun:cairo_toy_font_face_create
+ fun:_cairo_gstate_ensure_font_face
+ fun:_cairo_gstate_ensure_scaled_font
+ fun:_cairo_gstate_get_scaled_font
+ fun:_cairo_default_context_get_scaled_font
+ fun:cairo_show_text
+}
# SpiderMonkey data races
diff --git a/installed-tests/extra/lsan.supp b/installed-tests/extra/lsan.supp
index 4eadd49..179eb9c 100644
--- a/installed-tests/extra/lsan.supp
+++ b/installed-tests/extra/lsan.supp
@@ -3,3 +3,6 @@ leak:js::HelperThread::threadLoop
# We leak a small wrapper in GJS for each registered GType.
leak:gjs_gtype_create_gtype_wrapper
+
+# https://bugs.freedesktop.org/show_bug.cgi?id=105466
+leak:libfontconfig.so.1
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]