Bug 1364068 - Add pingsender suppressions for valgrind. r? draft
authorAlessio Placitelli <alessio.placitelli@gmail.com>
Wed, 24 May 2017 19:49:29 +0200
changeset 583816 db9e17b9f97fd4ccb73abc19f5608a5ee1fa3e38
parent 583809 508d4062317ca13e6afb79033f40bb823d3a8c4c
child 630220 1df1b4ddd55443471201a5d7ced56f6c82f40404
push id60565
push useralessio.placitelli@gmail.com
push dateWed, 24 May 2017 17:52:02 +0000
bugs1364068
milestone55.0a1
Bug 1364068 - Add pingsender suppressions for valgrind. r? MozReview-Commit-ID: FsNiIWnmcyA
build/valgrind/cross-architecture.sup
--- a/build/valgrind/cross-architecture.sup
+++ b/build/valgrind/cross-architecture.sup
@@ -48,16 +48,58 @@
    fun:malloc
    fun:moz_xmalloc
    fun:operator new
    fun:_Z21XRE_CreateStatsObjectv
    ...
 }
 
 ####################################
+#  Intended and third party leaks  #
+#  by the C pingsender             #
+####################################
+
+{
+   pingsender dlopen suppression (bug 1364068 comment 16)
+   Memcheck:Leak
+   fun:calloc
+   ...
+   fun:_ZN10PingSender11CurlWrapper4InitEv
+   fun:_ZN10PingSender4PostERKSsS1_
+   fun:main
+}
+{
+   pingsender dlopen suppression (bug 1364068 comment 16)
+   Memcheck:Leak
+   fun:malloc
+   ...
+   fun:_ZN10PingSender11CurlWrapper4InitEv
+   fun:_ZN10PingSender4PostERKSsS1_
+   fun:main
+}
+{
+   pingsender libcurl easy_perform suppression (bug 1364068 comment 16)
+   Memcheck:Leak
+   fun:calloc
+   ...
+   fun:_ZN10PingSender11CurlWrapper4PostERKSsS2_
+   fun:_ZN10PingSender4PostERKSsS1_
+   fun:main
+}
+{
+   pingsender libcurl easy_perform suppression (bug 1364068 comment 16)
+   Memcheck:Leak
+   fun:malloc
+   ...
+   fun:_ZN10PingSender11CurlWrapper4PostERKSsS2_
+   fun:_ZN10PingSender4PostERKSsS1_
+   fun:main
+}
+
+####################################
 #  Leaks in third party libraries  #
 ####################################
 
 {
    See bug 793535
    Memcheck:Leak
    fun:calloc
    fun:_dlerror_run