[gjs] valgrind: Update ignore pattern
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs] valgrind: Update ignore pattern
- Date: Sun, 15 Apr 2018 03:36:39 +0000 (UTC)
commit 65caa0ee3e7a911c058d81a148f03d2624685a59
Author: Philip Chimento <philip chimento gmail com>
Date: Sat Apr 14 20:35:03 2018 -0700
valgrind: Update ignore pattern
This brings back the ignore pattern for the "memory leak" that is
actually Cairo's static data. It's better to ignore it than call
cairo_debug_reset_static_data(), since Cairo can fail assertions and
crash on exit.
Unreviewed, pushing to get master/gnome-3-28 memcheck-clean again.
installed-tests/extra/gjs.supp | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
---
diff --git a/installed-tests/extra/gjs.supp b/installed-tests/extra/gjs.supp
index a768e27e..34c0cd02 100644
--- a/installed-tests/extra/gjs.supp
+++ b/installed-tests/extra/gjs.supp
@@ -143,6 +143,29 @@
fun:cairo_show_text
}
+# Data that Cairo keeps around for the process lifetime
+# This could be freed by calling cairo_debug_reset_static_data(), but it's
+# not a good idea to call that function in production, because certain versions
+# of Cairo have bugs that cause it to fail assertions and crash.
+{
+ cairo-static-data
+ 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
# These are in SpiderMonkey's atomics / thread barrier stuff so presumably
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]