source: mod_gnutls/test/suppressions.valgrind @ f73eeb7

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

Valgrind tests: More suppressions for issues outside mod_gnutls

  • 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:mgs_create_ocsp_request
13   ...
14   fun:mgs_async_ocsp_update
15   fun:*
16   fun:start_thread
17   fun:clone
18}
19
20# Whatever mod_watchdog does setting up its threads, it involves
21# thread-local storage, too.
22{
23   watchdog_child_thread_init
24   Memcheck:Leak
25   match-leak-kinds: possible
26   fun:calloc
27   fun:allocate_dtv
28   fun:_dl_allocate_tls
29   fun:allocate_stack
30   fun:pthread_create@*
31   fun:wd_startup
32   fun:wd_startup
33   fun:wd_child_init_hook
34   fun:wd_child_init_hook
35   fun:ap_run_child_init
36   fun:child_main
37   fun:make_child
38   fun:startup_children
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   fun:activate_slot
53   fun:h2_workers_create
54   fun:h2_conn_child_init
55   fun:h2_child_init
56   fun:ap_run_child_init
57   fun:child_main
58   fun:make_child
59   fun:startup_children
60   ...
61}
62
63# There's a bunch of reports of leaks from getaddrinfo, but outside
64# the scope of mod_gnutls to fix.
65{
66   apr_getaddrinfo_leak
67   Memcheck:Leak
68   match-leak-kinds: definite
69   fun:malloc
70   ...
71   fun:getaddrinfo
72   ...
73   fun:ap_get_local_host
74   fun:ap_fini_vhost_config
75}
76
77# Whatever OpenSSL does to initialize its DRBG, this happens when
78# using SoftHSM.
79{
80   libcrypto_drbg_init
81   Memcheck:Value8
82   obj:/usr/lib/*/libcrypto.so.*
83   fun:AES_encrypt
84   obj:/usr/lib/*/libcrypto.so.*
85   ...
86   obj:/usr/lib/*/libcrypto.so.*
87   fun:RAND_DRBG_instantiate
88   obj:/usr/lib/*/libcrypto.so.*
89   obj:/usr/lib/*/libcrypto.so.*
90}
Note: See TracBrowser for help on using the repository browser.