1 # Valgrind suppressions for stuff that we cannot control
3 # Memory leaks in standard tools (e.g. dash, tail, or sort)
5 Memory leak in /bin tools
12 Memory leak in /usr/bin tools
18 # There's a constant leak of 56 bytes in the depths of libc which
19 # manifests, for example, when using backtrace()
21 Memory leak in libc/dlopen with -pthread
24 fun:_dl_map_object_deps
31 fun:__libc_dlopen_mode
34 # Another problem in glibc, where makecontext does not reset the EBP register,
35 # and backtrace goes too far when walking up the stack frames
37 Invalid read in backtrace, called after makecontext
44 #There seems to be an issue with libc using an uninitialized value somewhere in dlopen
46 Invalid read in dl_start
49 fun:expand_dynamic_string_token
54 # 72704 bytes leak from GCC >5.1 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64535
56 Memory leak in dl_init
58 match-leak-kinds:reachable
60 obj:/usr/lib/*/libstdc++.so.*
66 #Ignore leaks in SMPI sample codes
68 Leaks in SMPI sample codes
72 fun:smpi_simulated_main_
75 #SMPI leaks the dlopen handle used for loading the program
77 dlopen handle leaks (1/2)
79 match-leak-kinds:reachable
88 dlopen handle leaks (2/2)
90 match-leak-kinds:reachable
98 # Memory leaks appearing to be in libcgraph. They can be seen with the
99 # following simple program:
101 # | #include <stdio.h>
102 # | #include <graphviz/cgraph.h>
103 # | int main(int argc, char *argv[])
106 # | printf("Usage: %s <dotfile>\n", argv[0]);
110 # | FILE *inf = fopen(argv[1], "r");
111 # | g = agread(inf, 0);
118 Memory leak in libcgraph (1/2)
122 obj:/usr/lib/libcgraph.so*
128 Memory leak in libcgraph (1/2)
132 obj:/usr/lib/libcgraph.so*
137 Memory leak in libcgraph (2/2)
142 obj:/usr/lib/libcgraph.so*
147 # We're not interested by memory leaks in the Lua interpreter
155 # libunwind seems to be using msync poorly, thus triggering these
156 # https://github.com/JuliaLang/julia/issues/4533
171 obj:/usr/lib/x86_64-linux-gnu/libunwind.so.*
179 obj:/usr/lib/x86_64-linux-gnu/libunwind.so.*
184 ignore unwind invalid reads
186 fun:_Ux86_64_setcontext