source: mod_gnutls/test/suppressions.valgrind @ d1d1e3a

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

Valgrind tests: Use --keep-debuginfo=yes

By default Valgrind drops debug info for libraries that are unloaded
at runtime. This causes trouble when testing a dynamically loaded
module like mod_gnutls, because we only get "???" instead of object or
function identifiers for calls into libraries needed only by
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   fun:_gnutls_rnd_init
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   fun:wd_startup
33   fun:wd_startup
34   fun:wd_child_init_hook
35   fun:wd_child_init_hook
36   fun:ap_run_child_init
37   fun:child_main
38   fun:make_child
39   fun:startup_children
40   ...
41}
42
43# mod_http2 needs thread-local storage, too.
44{
45   http2_child_thread_init
46   Memcheck:Leak
47   match-leak-kinds: possible
48   fun:calloc
49   fun:allocate_dtv
50   fun:_dl_allocate_tls
51   fun:allocate_stack
52   fun:pthread_create@*
53   fun:activate_slot
54   fun:h2_workers_create
55   fun:h2_conn_child_init
56   fun:h2_child_init
57   fun:ap_run_child_init
58   fun:child_main
59   fun:make_child
60   fun:startup_children
61   ...
62}
63
64# There's a bunch of reports of leaks from getaddrinfo, but outside
65# the scope of mod_gnutls to fix.
66{
67   apr_getaddrinfo_leak
68   Memcheck:Leak
69   match-leak-kinds: definite
70   fun:malloc
71   ...
72   fun:getaddrinfo
73   ...
74   fun:ap_get_local_host
75   fun:ap_fini_vhost_config
76}
77
78# Whatever OpenSSL does to initialize its DRBG, this happens when
79# using SoftHSM.
80{
81   libcrypto_drbg_init
82   Memcheck:Value8
83   obj:/usr/lib/*/libcrypto.so.*
84   fun:AES_encrypt
85   obj:/usr/lib/*/libcrypto.so.*
86   ...
87   obj:/usr/lib/*/libcrypto.so.*
88   fun:RAND_DRBG_instantiate
89   obj:/usr/lib/*/libcrypto.so.*
90   obj:/usr/lib/*/libcrypto.so.*
91}
Note: See TracBrowser for help on using the repository browser.