source: mod_gnutls/test/suppressions.valgrind @ 10100a2

asynciomainproxy-ticket
Last change on this file since 10100a2 was 8c63a1c, checked in by Fiona Klute <fiona.klute@…>, 3 years ago

Another round of the getaddrinfo Valgrind suppression

  • Property mode set to 100644
File size: 1.9 KB
Line 
1# The first call to gnutls_rng in a new thread causes a "possible
2# loss" setting up thread-local storage (TLS). According to search
3# results that seems to be a common issue with glibc.
4{
5   gnutls_rng_init
6   Memcheck:Leak
7   match-leak-kinds: possible
8   fun:malloc
9   ...
10   fun:__tls_get_addr
11   ...
12   fun:gnutls_rnd
13   fun:gnutls_ocsp_req_randomize_nonce
14   ...
15   fun:mgs_async_ocsp_update
16   fun:*
17   fun:start_thread
18   fun:clone
19}
20
21# Whatever mod_watchdog does setting up its threads, it involves
22# thread-local storage, too.
23{
24   watchdog_child_thread_init
25   Memcheck:Leak
26   match-leak-kinds: possible
27   fun:calloc
28   fun:allocate_dtv
29   fun:_dl_allocate_tls
30   fun:allocate_stack
31   fun:pthread_create@*
32   obj:/usr/sbin/apache2
33   ...
34   fun:ap_run_child_init
35   obj:/usr/lib/apache2/modules/mod_mpm_*.so
36   ...
37   obj:/usr/lib/apache2/modules/mod_mpm_*.so
38   fun:ap_run_mpm
39   ...
40}
41
42# mod_http2 needs thread-local storage, too.
43{
44   http2_child_thread_init
45   Memcheck:Leak
46   match-leak-kinds: possible
47   fun:calloc
48   fun:allocate_dtv
49   fun:_dl_allocate_tls
50   fun:allocate_stack
51   fun:pthread_create@*
52   obj:/usr/lib/apache2/modules/mod_http2.so
53   ...
54   obj:/usr/lib/apache2/modules/mod_http2.so
55   fun:ap_run_child_init
56   obj:/usr/lib/apache2/modules/mod_mpm_*.so
57   ...
58}
59
60# There's a bunch of reports of leaks from getaddrinfo, but outside
61# the scope of mod_gnutls to fix.
62{
63   apr_getaddrinfo_leak
64   Memcheck:Leak
65   match-leak-kinds: definite
66   fun:malloc
67   ...
68   fun:getaddrinfo
69   obj:/usr/lib/*/libapr-1.so.*
70   ...
71}
72
73# Whatever OpenSSL does to initialize its DRBG, this happens when
74# using SoftHSM.
75{
76   libcrypto_drbg_init
77   Memcheck:Value8
78   obj:/usr/lib/*/libcrypto.so.*
79   fun:AES_encrypt
80   obj:/usr/lib/*/libcrypto.so.*
81   ...
82   obj:/usr/lib/*/libcrypto.so.*
83   fun:RAND_DRBG_instantiate
84   obj:/usr/lib/*/libcrypto.so.*
85   obj:/usr/lib/*/libcrypto.so.*
86}
Note: See TracBrowser for help on using the repository browser.