[gjs: 12/14] build: Suppress SpiderMonkey memory leak in analysis tools



commit 6ba0fde4a7896da67d967f41717513f39b8e67d7
Author: Philip Chimento <philip chimento gmail com>
Date:   Thu Jul 26 22:13:23 2018 -0400

    build: Suppress SpiderMonkey memory leak in analysis tools
    
    This leak has been fixed in SpiderMonkey master and will likely be
    backported to ESR60, but we should be able to run the memory leak tools
    with any 60.x version of SpiderMonkey.
    
    See https://bugzilla.mozilla.org/show_bug.cgi?id=1478679

 installed-tests/extra/gjs.supp  | 21 +++++++++++++++++++++
 installed-tests/extra/lsan.supp |  4 ++++
 2 files changed, 25 insertions(+)
---
diff --git a/installed-tests/extra/gjs.supp b/installed-tests/extra/gjs.supp
index c70baadc..c1865cd3 100644
--- a/installed-tests/extra/gjs.supp
+++ b/installed-tests/extra/gjs.supp
@@ -84,6 +84,27 @@
    fun:clone
 }
 
+# https://bugzilla.mozilla.org/show_bug.cgi?id=1478679
+{
+   mozjs-bmo-1478679-1
+   Memcheck:Leak
+   match-leak-kinds: all
+   ...
+   fun:createTable
+   fun:init
+   fun:init
+   fun:_ZN2js8coverage10LCovSource11writeScriptEP8JSScript
+}
+
+{
+   mozjs-bmo-1478679-2
+   Memcheck:Leak
+   match-leak-kinds: all
+   ...
+   fun:_Z9js_strdupPKc
+   fun:_ZN2js8coverage15LCovCompartment11lookupOrAddEP13JSCompartmentPKc
+}
+
 # Various things that I don't believe are related to GJS
 
 {
diff --git a/installed-tests/extra/lsan.supp b/installed-tests/extra/lsan.supp
index 179eb9c5..0197c492 100644
--- a/installed-tests/extra/lsan.supp
+++ b/installed-tests/extra/lsan.supp
@@ -6,3 +6,7 @@ leak:gjs_gtype_create_gtype_wrapper
 
 # https://bugs.freedesktop.org/show_bug.cgi?id=105466
 leak:libfontconfig.so.1
+
+# https://bugzilla.mozilla.org/show_bug.cgi?id=1478679
+leak:js::coverage::LCovSource::writeScript
+leak:js/src/util/Text.cpp


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]