Logo AND Algorithmique Numérique Distribuée

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