Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Simplify rules, and hopefully make them match with different variants of the library.
[simgrid.git] / tools / simgrid.supp
1 # Valgrind suppressions for stuff that we cannot control
2
3 # Memory leak in dash
4 # dash is actually used when checking the "mkfile" command in tesh
5 {
6    Memory leak in /bin/dash
7    Memcheck:Leak
8    ...
9    obj:/bin/dash
10 }
11
12 # We also don't want to be annoyed by leaks in /usr/bin/tail
13 {
14    Memory leak in /usr/bin/tail
15    Memcheck:Leak
16    ...
17    obj:/usr/bin/tail
18 }
19
20 # There's a constant leak of 56 bytes in the depths of libc which
21 # manifests, for example, when using backtrace()
22 {
23    Memory leak in libc/dlopen with -pthread
24    Memcheck:Leak
25    fun:malloc
26    fun:_dl_map_object_deps
27    fun:dl_open_worker
28    fun:_dl_catch_error
29    fun:_dl_open
30    fun:do_dlopen
31    fun:_dl_catch_error
32    fun:dlerror_run
33    fun:__libc_dlopen_mode
34 }
35
36 # Memory leaks appearing to be in libcgraph.  They can be seen with the
37 # following simple program:
38 # ,----
39 # | #include <stdio.h>
40 # | #include <graphviz/cgraph.h>
41 # | int main(int argc, char *argv[])
42 # | {
43 # |     if (argc == 1) {
44 # |         printf("Usage: %s <dotfile>\n", argv[0]);
45 # |         return 1;
46 # |     }
47 # |     Agraph_t *g;
48 # |     FILE *inf = fopen(argv[1], "r");
49 # |     g = agread(inf, 0);
50 # |     fclose(inf);
51 # |     agclose(g);
52 # |     return 0;
53 # | }
54 # `----
55 {
56    Memory leak in libcgraph (1/2)
57    Memcheck:Leak
58    fun:malloc
59    ...
60    obj:/usr/lib/libcgraph.so*
61    fun:aaglex
62    fun:aagparse
63    fun:agconcat
64 }
65 {
66    Memory leak in libcgraph (2/2)
67    Memcheck:Leak
68    fun:malloc
69    ...
70    fun:agnode
71    obj:/usr/lib/libcgraph.so*
72    fun:aagparse
73    fun:agconcat
74 }