-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvalgrind.supp
More file actions
74 lines (64 loc) · 1.54 KB
/
Copy pathvalgrind.supp
File metadata and controls
74 lines (64 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Valgrind suppressions file for Notifly
# This file contains suppressions for known false positives
# Suppress C++ standard library false positives
{
std_string_false_positive
Memcheck:Leak
...
fun:*std*string*
}
# Suppress pthread false positives
{
pthread_create_false_positive
Memcheck:Leak
...
fun:pthread_create*
}
# Suppress C++ static initialization (local static variables)
{
static_initialization
Memcheck:Leak
...
fun:*default_notifly*
}
# Suppress std::mutex and other threading primitives
{
std_mutex_initialization
Memcheck:Leak
...
fun:*mutex*
}
# Suppress C++ standard library containers (they use static memory)
{
std_containers
Memcheck:Leak
...
fun:*unordered_map*
}
{
std_containers_vector
Memcheck:Leak
...
fun:*vector*
}
# Suppress C++ exception handling infrastructure
{
cxx_exception_handling
Memcheck:Leak
...
fun:*__cxa_*
}
# Suppress Rust's per-thread std::thread::Thread bookkeeping (rust backend).
# remove_observer() joins the jthread standing in for a pending async task;
# the joined OS thread's first call to std::thread::current() lazily
# allocates that Thread handle. glibc can keep the underlying pthread stack
# on a free-list for reuse after join rather than returning it immediately,
# which Valgrind reports as "possibly lost" even though nothing actually
# leaked -- same class of false positive as pthread_create above, just on
# the Rust std side of the same join.
{
rust_thread_current_init
Memcheck:Leak
...
fun:*init_current*
}