Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add suppressions from libunwind.
[simgrid.git] / tools / simgrid.supp
index 767a4b0..04ac719 100644 (file)
@@ -57,8 +57,9 @@
    Memcheck:Leak
    match-leak-kinds:reachable
    fun:malloc
-   obj:/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
+   obj:/usr/lib/*/libstdc++.so.*
    fun:call_init.part.0
+   ...
    fun:_dl_init
 }
 
@@ -66,7 +67,6 @@
 {
    Memory leak in Netcards
    Memcheck:Leak
-   match-leak-kinds: definite
    ...
    fun:sg_platf_new_router
    fun:STag_surfxml_router
@@ -74,8 +74,6 @@
    ...
    fun:parse_platform_file
    fun:SIMIX_create_environment
-   fun:smpi_main
-   fun:main
 }
 
 {
    fun:main
 }
 
+#Ignore leaks in SMPI sample codes
+{
+   Leaks in SMPI sample codes
+   Memcheck:Leak
+   match-leak-kinds: all
+   fun:malloc
+   fun:smpi_simulated_main_
+}
 
 # Memory leaks appearing to be in libcgraph.  They can be seen with the
 # following simple program:
    fun:aagparse
    fun:agconcat
 }
+{
+   Memory leak in libcgraph (1/2)
+   Memcheck:Leak
+   fun:calloc
+   ...
+   obj:/usr/lib/libcgraph.so*
+   fun:aagparse
+   fun:agconcat
+}
 {
    Memory leak in libcgraph (2/2)
    Memcheck:Leak
    ...
    fun:luaD_precall
 }
+
+# libunwind seems to be using msync poorly, thus triggering these
+# https://github.com/JuliaLang/julia/issues/4533
+{
+   msync unwind
+   Memcheck:Param
+   msync(start)
+   ...
+   obj:*/libpthread*.so
+   ...
+}