Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Uncomment code to avoid warning
[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 # There's a constant leak of 56 bytes in the depths of libc which
13 # manifests, for example, when using backtrace()
14 {
15    Memory leak in libc/dlopen with -pthread
16    Memcheck:Leak
17    fun:malloc
18    fun:_dl_map_object_deps
19    fun:dl_open_worker
20    fun:_dl_catch_error
21    fun:_dl_open
22    fun:do_dlopen
23    fun:_dl_catch_error
24    fun:dlerror_run
25    fun:__libc_dlopen_mode
26 }
27
28 # Memory leaks appearing to be in libcgraph.  They can be seen with the
29 # following simple program:
30 # ,----
31 # | #include <stdio.h>
32 # | #include <graphviz/cgraph.h>
33 # | int main(int argc, char *argv[])
34 # | {
35 # |     if (argc == 1) {
36 # |         printf("Usage: %s <dotfile>\n", argv[0]);
37 # |         return 1;
38 # |     }
39 # |     Agraph_t *g;
40 # |     FILE *inf = fopen(argv[1], "r");
41 # |     g = agread(inf, 0);
42 # |     fclose(inf);
43 # |     agclose(g);
44 # |     return 0;
45 # | }
46 # `----
47 {
48    Memory leak in libcgraph (1/3)
49    Memcheck:Leak
50    fun:malloc
51    obj:/usr/lib/libcgraph.so*
52    fun:aaglex
53    fun:aagparse
54    fun:agconcat
55 }
56 {
57    Memory leak in libcgraph (2/3)
58    Memcheck:Leak
59    fun:malloc
60    obj:/usr/lib/libcgraph.so*
61    fun:agalloc
62    obj:/usr/lib/libcgraph.so*
63    fun:agnode
64    obj:/usr/lib/libcgraph.so*
65    fun:aagparse
66    fun:agconcat
67 }
68 {
69    Memory leak in libcgraph (3/3)
70    Memcheck:Leak
71    fun:malloc
72    fun:dtopen
73    fun:agdtopen
74    obj:/usr/lib/libcgraph.so*
75    fun:agstrdup
76    fun:aaglex
77    fun:aagparse
78    fun:agconcat
79 }