-
Notifications
You must be signed in to change notification settings - Fork 7
/
suppressions.valgrind
105 lines (100 loc) · 2.24 KB
/
suppressions.valgrind
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# The first call to gnutls_rng in a new thread causes a "possible
# loss" setting up thread-local storage (TLS). According to search
# results that seems to be a common issue with glibc.
{
gnutls_rng_init
Memcheck:Leak
match-leak-kinds: possible
fun:malloc
...
fun:__tls_get_addr
...
fun:gnutls_rnd
...
fun:mgs_async_ocsp_update
fun:*
fun:start_thread
fun:clone
}
# Whatever mod_watchdog does setting up its threads, it involves
# thread-local storage, too.
{
watchdog_child_thread_init
Memcheck:Leak
match-leak-kinds: possible
fun:calloc
fun:calloc
fun:allocate_dtv
fun:_dl_allocate_tls
fun:allocate_stack
fun:pthread_create@*
obj:/usr/sbin/apache2
...
fun:ap_run_child_init
obj:/usr/lib/apache2/modules/mod_mpm_*.so
...
obj:/usr/lib/apache2/modules/mod_mpm_*.so
fun:ap_run_mpm
...
}
# mod_http2 needs thread-local storage, too.
{
http2_child_thread_init
Memcheck:Leak
match-leak-kinds: possible
fun:calloc
fun:allocate_dtv
fun:_dl_allocate_tls
fun:allocate_stack
fun:pthread_create@*
obj:/usr/lib/apache2/modules/mod_http2.so
...
obj:/usr/lib/apache2/modules/mod_http2.so
fun:ap_run_child_init
obj:/usr/lib/apache2/modules/mod_mpm_*.so
...
}
# There's a bunch of reports of leaks from getaddrinfo, but outside
# the scope of mod_gnutls to fix.
{
apr_getaddrinfo_leak
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
...
fun:getaddrinfo
obj:/usr/lib/*/libapr-1.so.*
...
}
# For some reason there's a leak from dlopen called by
# p11_kit_module_load in the child processes.
{
p11_kit_module_load
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
...
fun:dlopen@*
obj:/usr/lib/*/libp11-kit.so.*
fun:p11_kit_module_load
}
# This leak during softhsm init appeared in CI with the update from
# Debian Buster to Bullseye.
{
softhsm_init
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:CRYPTO_zalloc
fun:ENGINE_new
...
fun:CRYPTO_THREAD_run_once
fun:OPENSSL_init_crypto
...
obj:/usr/lib/*/softhsm/libsofthsm2.so
fun:C_Initialize
obj:/usr/lib/*/libp11-kit.so.*
obj:/usr/lib/*/libp11-kit.so.*
fun:p11_kit_module_initialize
fun:gnutls_pkcs11_add_provider
}