Bug 944141 - Disable Valgrind suppressions that are no longer needed. r=me.
authorNicholas Nethercote <nnethercote@mozilla.com>
Thu, 28 Nov 2013 05:39:28 -0800
changeset 157965 7f14d602e0c525c85f15ef45bcab5e340fc4aa80
parent 157964 3ccec665a6aa1a0a44a12f42c144aa9fcda3dadf
child 157966 bc16348f38a9c7873e97a0a374e035d259d03f34
child 158099 777d9b77c68b7c3b0f7bcd6ad0a69eda94232058
push id25729
push usernnethercote@mozilla.com
push dateThu, 28 Nov 2013 13:40:30 +0000
treeherdermozilla-central@7f14d602e0c5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs944141
milestone28.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 944141 - Disable Valgrind suppressions that are no longer needed. r=me. DONTBUILD
build/valgrind/cross-architecture.sup
build/valgrind/i386-redhat-linux-gnu.sup
build/valgrind/x86_64-redhat-linux-gnu.sup
--- a/build/valgrind/cross-architecture.sup
+++ b/build/valgrind/cross-architecture.sup
@@ -20,16 +20,25 @@
 }
 {
    PR_SetEnv requires its argument to be leaked, but does not appear on stacks. (See bug 944133.)
    Memcheck:Leak
    ...
    fun:_ZN13CrashReporter14SetRestartArgsEiPPc
    ...
 }
+{
+   PR_SetEnv requires its argument to be leaked, but does not appear on stacks. (See bug 793548.)
+   Memcheck:Leak
+   fun:malloc
+   ...
+   fun:_Z12ToNewCStringRK19nsACString_internal
+   fun:_ZN13CrashReporter14SetupExtraDataEP7nsIFileRK19nsACString_internal
+   ...
+}
 
 ####################################
 #  Leaks in third party libraries  #
 ####################################
 
 {
    See bug 793535
    Memcheck:Leak
@@ -54,251 +63,40 @@
    fun:___tls_get_addr
    ...
 }
 
 #################
 #  Other leaks  #
 #################
 
-# XXX: temporary disabling
-#{
-#   Bug 793532
-#   Memcheck:Leak
-#   fun:malloc
-#   fun:_ZN8JSObject25allocateSlowArrayElementsEP9JSContext
-#   ...
-#}
-#{
-#   Bug 793533 (all 64-bit systems)
-#   Memcheck:Leak
-#   fun:malloc
-#   fun:moz_xmalloc
-#   fun:_ZN3xpc18CreateGlobalObjectEP9JSContextP7JSClassP12nsIPrincipalbPP8JSObjectPP13JSCompartment
-#   ...
-#}
-#{
-#   Bug 793533 (all 64-bit systems)
-#   Memcheck:Leak
-#   fun:malloc
-#   fun:moz_xmalloc
-#   fun:_ZN3xpc18CreateGlobalObjectEP9JSContextP7JSClassP12nsIPrincipalm
-#   ...
-#}
-#{
-#   Bug 793536 (all 64-bit systems)
-#   Memcheck:Leak
-#   fun:malloc
-#   fun:moz_xmalloc
-#   fun:_ZNSt11_Deque_baseIN11MessageLoop11PendingTaskESaIS1_EE17_M_initialize_mapEm
-#   ...
-#}
-#{
-#   Bug 793536 (all 32-bit systems)
-#   Memcheck:Leak
-#   fun:malloc
-#   fun:moz_xmalloc
-#   fun:_ZNSt11_Deque_baseIN11MessageLoop11PendingTaskESaIS1_EE17_M_initialize_mapEj
-#   ...
-#}
-#{
-#   Bug 793548
-#   Memcheck:Leak
-#   fun:malloc
-#   ...
-#   fun:_Z12ToNewCStringRK19nsACString_internal
-#   fun:_ZN13CrashReporter14SetupExtraDataEP7nsIFileRK19nsACString_internal
-#   ...
-#}
-#{
-#   Bug 793608
-#   Memcheck:Leak
-#   ...
-#   fun:gaih_inet
-#   fun:getaddrinfo
-#   fun:PR_GetAddrInfoByName
-#   fun:_ZN14nsHostResolver10ThreadFuncEPv
-#   fun:_pt_root
-#   fun:start_thread
-#   fun:clone
-#}
-#{
-#   Bug 793608 variant
-#   Memcheck:Leak
-#   fun:malloc
-#   fun:__libc_res_nsend
-#   fun:__libc_res_nquery
-#   fun:__libc_res_nquerydomain
-#   fun:__libc_res_nsearch
-#   obj:*
-#   ...
-#}
-#{
-#   Bug 793608 variant 2
-#   Memcheck:Leak
-#   fun:malloc
-#   fun:make_request
-#   fun:__check_pf
-#   fun:getaddrinfo
-#   fun:PR_GetAddrInfoByName
-#   fun:_ZN14nsHostResolver10ThreadFuncEPv
-#   fun:_pt_root
-#   fun:start_thread
-#   fun:clone
-#}
-#{
-#   Bug 793615
-#   Memcheck:Leak
-#   fun:malloc
-#   fun:sqlite3MemMalloc
-#   ...
-#}
-#{
-#   Bug 794350
-#   Memcheck:Leak
-#   fun:malloc
-#   fun:moz_xmalloc
-#   fun:_ZN11MessageLoopC1ENS_4TypeE
-#   fun:_ZN4base6Thread10ThreadMainEv
-#   fun:_ZL10ThreadFuncPv
-#   fun:start_thread
-#   fun:clone
-#}
-#{
-#   Bug 794354
-#   Memcheck:Leak
-#   ...
-#   fun:_ZN7mozilla12safebrowsing10Classifier12ApplyUpdatesEP8nsTArrayIPNS0_11TableUpdateE24nsTArrayDefaultAllocatorE
-#   fun:_ZN30nsUrlClassifierDBServiceWorker11ApplyUpdateEv
-#   fun:_ZN30nsUrlClassifierDBServiceWorker12FinishUpdateEv
-#   ...
-#}
-#{
-#   Bug 794358
-#   Memcheck:Leak
-#   fun:malloc
-#   ...
-#   fun:PK11_InitPin
-#   fun:_ZN11nsPK11Token12InitPasswordEPKt
-#   ...
-#}
-#{
-#   Bug 794369
-#   Memcheck:Leak
-#   fun:malloc
-#   fun:moz_xmalloc
-#   fun:_ZN20mozJSComponentLoader10LoadModuleERN7mozilla12FileLocationE
-#   ...
-#}
-#{
-#   Bug 794370
-#   Memcheck:Leak
-#   fun:malloc
-#   fun:moz_xmalloc
-#   fun:_ZN22nsComponentManagerImpl15RegisterFactoryERK4nsIDPKcS4_P10nsIFactory
-#   ...
-#}
-#{
-#   Bug 794372
-#   Memcheck:Leak
-#   fun:malloc
-#   fun:moz_xmalloc
-#   fun:_ZN22nsComponentManagerImpl16RegisterCIDEntryEPKN7mozilla6Module8CIDEntryEPNS_11KnownModuleE
-#   ...
-#}
-#{
-#   Bug 794372
-#   Memcheck:Leak
-#   fun:malloc
-#   fun:moz_xmalloc
-#   fun:_ZN22nsComponentManagerImpl22RegisterCIDEntryLockedEPKN7mozilla6Module8CIDEntryEPNS_11KnownModuleE
-#   ...
-#}
-#{
-#   Bug 794374
-#   Memcheck:Leak
-#   fun:malloc
-#   fun:moz_xmalloc
-#   fun:_ZN22nsComponentManagerImpl17ManifestComponentERNS_25ManifestProcessingContextEiPKPc
-#   ...
-#}
-#{
-#   Bug 803386
-#   Memcheck:Free
-#   fun:_ZdlPv
-#   fun:_ZN16SkMallocPixelRefD0Ev
-#   fun:_ZNK8SkRefCnt16internal_disposeEv
-#   fun:_ZN8SkBitmap10freePixelsEv
-#   fun:_ZN8SkBitmapD1Ev
-#   fun:_ZN7mozilla3gfx5ScaleEPhiiiS1_iiiNS0_13SurfaceFormatE
-#   ...
-#}
-#{
-#   Bug 812422
-#   Memcheck:Leak
-#   fun:malloc
-#   fun:moz_xmalloc
-#   fun:_Z22NS_NewComputedDOMStylePN7mozilla3dom7ElementERK18nsAString_internalP12nsIPresShellN18nsComputedDOMStyle9StyleTypeE
-#   fun:_ZN14nsGlobalWindow22GetComputedStyleHelperEP13nsIDOMElementRK18nsAString_internalbPP25nsIDOMCSSStyleDeclaration
-#   ...
-#}
-#{
-#   Bug 812423
-#   Memcheck:Leak
-#   fun:malloc
-#   fun:_ZN2js15ArgumentsObject6createI18CopyStackFrameArgsEEPS0_P9JSContextN2JS6HandleIP8JSScriptEENS7_IP10JSFunctionEEjRT_
-#   fun:_ZN2js15ArgumentsObject14createExpectedEP9JSContextPNS_10StackFrameE
-#   ...
-#}
-#{
-#   Bug 812423
-#   Memcheck:Leak
-#   fun:malloc
-#   fun:_ZN2js15ArgumentsObject6createI13CopyFrameArgsEEPS0_P9JSContextN2JS6HandleIP8JSScriptEENS7_IP10JSFunctionEEjRT_
-#   fun:_ZN2js15ArgumentsObject14createExpectedEP9JSContextNS_16AbstractFramePtrE
-#   ...
-#}
-#{
-#   Bug 823782
-#   Memcheck:Leak
-#   fun:malloc
-#   ...
-#   fun:_ZN2js6ctypes7LibraryL7DeclareEP9JSContextjPN2JS5ValueE
-#   ...
-#}
-#{
-#   Bug 823782
-#   Memcheck:Leak
-#   fun:malloc
-#   fun:_ZN2js6ctypes5CData6CreateEP9JSContextN2JS6HandleIP8JSObjectEES8_Pvb
-#   ...
-#}
-#{
-#   Bug 823782
-#   Memcheck:Leak
-#   fun:malloc
-#   ...
-#   fun:_ZN2js6ctypes10StructTypeL6CreateEP9JSContextjPN2JS5ValueE
-#   ...
-#}
-#{
-#   Bug 823782
-#   Memcheck:Leak
-#   fun:malloc
-#   fun:_ZN2js6ctypes9Int64Base9ConstructEP9JSContextN2JS6HandleIP8JSObjectEEmb
-#   ...
-#}
-#{
-#   Bug 824323
-#   Memcheck:Leak
-#   fun:malloc
-#   ...
-#   fun:_ZN7mozilla3dom7workers13WorkerPrivate9DoRunLoopEP9JSContext
-#   ...
-#}
-#{
-#   Bug 874658
-#   Memcheck:Leak
-#   fun:malloc
-#   ...
-#   fun:_Z31mozilla_sampler_register_threadPKc
-#   ...
-#}
+{
+   Bug 794369
+   Memcheck:Leak
+   fun:malloc
+   fun:moz_xmalloc
+   fun:_ZN20mozJSComponentLoader10LoadModuleERN7mozilla12FileLocationE
+   ...
+}
+{
+   Bug 794370
+   Memcheck:Leak
+   fun:malloc
+   fun:moz_xmalloc
+   fun:_ZN22nsComponentManagerImpl15RegisterFactoryERK4nsIDPKcS4_P10nsIFactory
+   ...
+}
+{
+   Bug 794372
+   Memcheck:Leak
+   fun:malloc
+   fun:moz_xmalloc
+   fun:_ZN22nsComponentManagerImpl22RegisterCIDEntryLockedEPKN7mozilla6Module8CIDEntryEPNS_11KnownModuleE
+   ...
+}
+{
+   Bug 794374
+   Memcheck:Leak
+   fun:malloc
+   fun:moz_xmalloc
+   fun:_ZN22nsComponentManagerImpl17ManifestComponentERNS_25ManifestProcessingContextEiPKPc
+   ...
+}
--- a/build/valgrind/i386-redhat-linux-gnu.sup
+++ b/build/valgrind/i386-redhat-linux-gnu.sup
@@ -44,18 +44,8 @@
 }
 {
    Bug 794373
    Memcheck:Leak
    ...
    obj:/lib/libgobject-2.0.so.0.2200.5
    ...
 }
-# XXX: temporary disabling
-#{
-#   Bug 850134
-#   Memcheck:Leak
-#   fun:realloc
-#   fun:_ZN2js6VectorIyLj0ENS_15TempAllocPolicyEE13growStorageByEj
-#   fun:_ZN2js8SCOutput5writeEy
-#   fun:_ZN2js8SCOutput9writePairEjj
-#   ...
-#}
--- a/build/valgrind/x86_64-redhat-linux-gnu.sup
+++ b/build/valgrind/x86_64-redhat-linux-gnu.sup
@@ -44,18 +44,8 @@
 }
 {
    Bug 794373
    Memcheck:Leak
    ...
    obj:/lib64/libgobject-2.0.so.0.2200.5
    ...
 }
-# XXX: temporary disabling
-#{
-#   Bug 850134
-#   Memcheck:Leak
-#   fun:realloc
-#   fun:_ZN2js6VectorImLm0ENS_15TempAllocPolicyEE13growStorageByEm
-#   fun:_ZN2js8SCOutput5writeEm
-#   fun:_ZN2js8SCOutput9writePairEjj
-#   ...
-#}