From: Arnaud Giersch Date: Wed, 25 Sep 2013 12:43:11 +0000 (+0200) Subject: Add supression file for Valgrind. X-Git-Tag: v3_9_90~89 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/eaee55c7930797c6758dd07827a9702b1b6bdcb9?hp=5a99deb07d9d7f0c0509bd85f3714674a7e93fe5 Add supression file for Valgrind. --- diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index 147c734879..ae1ccd244a 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -19,6 +19,7 @@ set(bin_files set(txt_files ${txt_files} + ${CMAKE_CURRENT_SOURCE_DIR}/simgrid.supp ${CMAKE_CURRENT_SOURCE_DIR}/simgrid2vite.sed PARENT_SCOPE ) diff --git a/tools/simgrid.supp b/tools/simgrid.supp new file mode 100644 index 0000000000..d91f90050f --- /dev/null +++ b/tools/simgrid.supp @@ -0,0 +1,26 @@ +# Valgrind suppressions for stuff that we cannot control + +# Memory leak in dash +# dash is actually used when checking the "mkfile" command in tesh +{ + Memory leak in /bin/dash + Memcheck:Leak + ... + obj:/bin/dash +} + +# There's a constant leak of 56 bytes in the depths of libc which +# manifests, for example, when unsing backtrace() +{ + Memory leak in libc/dlopen with -pthread + Memcheck:Leak + fun:malloc + fun:_dl_map_object_deps + fun:dl_open_worker + fun:_dl_catch_error + fun:_dl_open + fun:do_dlopen + fun:_dl_catch_error + fun:dlerror_run + fun:__libc_dlopen_mode +}