source: mod_gnutls/test/suppressions.valgrind @ c756f08

asyncioproxy-ticket
Last change on this file since c756f08 was c756f08, checked in by Fiona Klute <fiona.klute@…>, 15 months ago

Make apr_getaddrinfo_leak Valgrind suppression more generic

This showed up in CI with fun:ap_get_local_host at the bottom of the
stack (without fun:ap_fini_vhost_config below).

  • 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   ...
70   fun:ap_get_local_host
71   ...
72}
73
74# Whatever OpenSSL does to initialize its DRBG, this happens when
75# using SoftHSM.
76{
77   libcrypto_drbg_init
78   Memcheck:Value8
79   obj:/usr/lib/*/libcrypto.so.*
80   fun:AES_encrypt
81   obj:/usr/lib/*/libcrypto.so.*
82   ...
83   obj:/usr/lib/*/libcrypto.so.*
84   fun:RAND_DRBG_instantiate
85   obj:/usr/lib/*/libcrypto.so.*
86   obj:/usr/lib/*/libcrypto.so.*
87}
Note: See TracBrowser for help on using the repository browser.