]> git.proxmox.com Git - ceph.git/blame - ceph/src/valgrind.supp
update sources to v12.1.0
[ceph.git] / ceph / src / valgrind.supp
CommitLineData
7c673cae
FG
1# some valgrind suppressions
2# to load these automagically,
3# cat > ~/.valgrindrc
4# --suppressions=valgrind.supp
5# <control-d>
6
7
8# this one makes valgrind shut up about what appears to be a bug in libc's writev.
9{
10 writev uninit bytes thing -sage
11 Memcheck:Param
12 writev(vector[...])
13 fun:writev
14 fun:_ZN11BlockDevice6_writeEijjRN6buffer4listE
15 fun:_ZN11BlockDevice5do_ioEiRSt4listIPNS_6biovecESaIS2_EE
16 fun:_ZN11BlockDevice15io_thread_entryEv
17 fun:_ZN11BlockDevice8IOThread5entryEv
18 fun:_ZN6Thread11_entry_funcEPv
19 fun:start_thread
20 fun:clone
21 obj:*
22 obj:*
23 obj:*
24 obj:*
25}
26
27# gethostbyname
28{
29 gethostbyname on issdm
30 Memcheck:Param
31 socketcall.sendto(msg)
32 fun:send
33 fun:get_mapping
34 fun:__nscd_get_map_ref
35 fun:nscd_gethst_r
36 fun:__nscd_gethostbyname_r
37 fun:gethostbyname_r@@GLIBC_2.2.5
38 fun:gethostbyname
39 fun:_ZN4Rank8Accepter5startEv
40 fun:_ZN4Rank10start_rankEv
41 fun:main
42}
43{
44 <insert a suppression name here>
45 Memcheck:Param
46 socketcall.sendto(msg)
47 fun:send
48 fun:get_mapping
49 fun:__nscd_get_map_ref
50 fun:nscd_gethst_r
51 fun:__nscd_gethostbyname_r
52 fun:gethostbyname_r@@GLIBC_2.2.5
53 fun:gethostbyname
54 fun:_ZN4Rank8Accepter5startEv
55 fun:_ZN4Rank10start_rankEv
56 fun:_Z17mpi_bootstrap_newRiRPPcP6MonMap
57 fun:main
58}
59
60# gethostbyname
61
62{
63 gethostbyname on foil
64 Memcheck:Addr8
65 obj:/lib/ld-2.6.1.so
66 obj:/lib/ld-2.6.1.so
67 obj:/lib/ld-2.6.1.so
68 obj:/lib/ld-2.6.1.so
69 obj:/lib/ld-2.6.1.so
70 obj:/lib/ld-2.6.1.so
71 obj:/lib/ld-2.6.1.so
72 obj:/lib/libc-2.6.1.so
73 obj:/lib/ld-2.6.1.so
74 fun:__libc_dlopen_mode
75 fun:__nss_lookup_function
76 obj:/lib/libc-2.6.1.so
77}
78
79# mpi on issdm
80{
81 <insert a suppression name here>
82 Memcheck:Overlap
83 fun:memcpy
84 fun:MPIR_Localcopy
85 fun:MPIR_Gather
86 fun:MPI_Gather
87 fun:_Z17mpi_bootstrap_newRiRPPcP6MonMap
88 fun:main
89}
90{
91 <insert a suppression name here>
92 Memcheck:Param
93 writev(vector[...])
94 fun:writev
95 fun:MPIDU_Sock_writev
96 fun:MPIDI_CH3_iStartMsgv
97 fun:MPIDI_CH3_EagerContigSend
98 fun:MPID_Send
99 fun:MPIC_Send
100 fun:MPIR_Bcast
101 fun:MPI_Bcast
102 fun:_Z17mpi_bootstrap_newRiRPPcP6MonMap
103 fun:main
104}
105{
106 <insert a suppression name here>
107 Memcheck:Param
108 write(buf)
109 obj:/lib64/tls/libpthread-2.3.4.so
110 fun:MPIDU_Sock_write
111 fun:MPIDI_CH3_iSend
112 fun:MPID_Isend
113 fun:MPIC_Sendrecv
114 fun:MPIR_Barrier
115 fun:MPI_Barrier
116 fun:_Z17mpi_bootstrap_newRiRPPcP6MonMap
117 fun:main
118}
119{
120 <insert a suppression name here>
121 Memcheck:Param
122 write(buf)
123 obj:/lib64/tls/libpthread-2.3.4.so
124 fun:MPIDU_Sock_write
125 fun:MPIDI_CH3_iStartMsg
126 fun:MPIDI_CH3U_VC_SendClose
127 fun:MPIDI_PG_Close_VCs
128 fun:MPID_Finalize
129 fun:MPI5: <insert a suppression name here>
130 fun:main
131}
132{
133 <insert a suppression name 5: obj:/lib64/tls/libpthread-2.3.4.so
134 Memcheck:Param
135 write(buf)
136 obj:/lib64/tls/libpthread-2.3.4.so
137 fun:MPIDU_Sock_write
138 fun:MPIDI_CH3_iStartMsg
139 fun:MPIDI_CH3_PktHandler_Close
140 fun:MPIDI_CH3I_Progress_handle_sock_event
141 fun:MPIDI_CH3_Progress_wait
142 fun:MPIDI_CH3U_VC_WaitForClose
143 fun:MPID_Finalize
144 fun:MPI_Finalize
145 fun:main
146}
147{
148 <insert a suppression name here>
149 Memcheck:Param
150 write(buf)
151 obj:/lib64/tls/libpthread-2.3.4.so
152 fun:MPIDU_Sock_write
153 fun:MPIDI_CH3_iSend
154 fun:MPID_Isend
155 fun:MPIC_Sendrecv
156 fun:MPIR_Barrier
157 fun:MPI_Barrier
158 fun:main
159}
160{
161 <insert a suppression name here>
162 Memcheck:Param
163 write(buf)
164 obj:/lib64/tls/libpthread-2.3.4.so
165 fun:MPIDU_Sock_write
166 fun:MPIDI_CH3_iStartMsg
167 fun:MPIDI_CH3U_VC_SendClose
168 fun:MPIDI_PG_Close_VCs
169 fun:MPID_Finalize
170 fun:MPI_Finalize
171 fun:main
172}
173 {
174 <insert a suppression name here>
175 Memcheck:Param
176 writev(vector[...])
177 fun:writev
178 fun:MPIDU_Socki_handle_write
179 fun:MPIDU_Sock_wait
180 fun:MPIDI_CH3_Progress_wait
181 fun:MPIC_Wait
182 fun:MPIC_Send
183 fun:MPIR_Gather
184 fun:MPI_Gather
185 fun:_Z17mpi_bootstrap_newRiRPPcP6MonMap
186 fun:main
187}
188
189# lttng-ust
190{
191 <insert_a_suppression_name_here>
192 Memcheck:Leak
193 fun:calloc
194 fun:_dl_allocate_tls
195 fun:pthread_create@@GLIBC_2.2.5
196 obj:/usr/*lib*/liblttng-ust.*
197 fun:call_init.part.0
198 fun:_dl_init
199 obj:*
200}
201
202# PK11_CreateContextBySymKey
203{
204 <insert_a_suppression_name_here>
205 Helgrind:Race
206 obj:/usr/*lib*/libfreebl*3.so
207 ...
208 obj:/usr/*lib*/libsoftokn3.so
209 ...
210 obj:/usr/*lib*/libnss3.so
211 ...
212 fun:PK11_CreateContextBySymKey
213 ...
214}
215
216# _dl_allocate_tls_init
217{
218 <insert_a_suppression_name_here>
219 Helgrind:Race
220 fun:mempcpy
221 fun:_dl_allocate_tls_init
222 ...
223 fun:pthread_create@*
224 ...
225}
31f18b77
FG
226
227# rados cython constants
228{
229 <insert_a_suppression_name_here>
230 Memcheck:Leak
231 match-leak-kinds: definite
232 fun:malloc
233 fun:PyObject_Malloc
234 fun:PyCode_New
235 fun:__Pyx_InitCachedConstants
236 fun:initrados
237 fun:_PyImport_LoadDynamicModule
238 ...
239 fun:PyImport_ImportModuleLevel
240 ...
241 fun:PyObject_Call
242 fun:PyEval_CallObjectWithKeywords
243 fun:PyEval_EvalFrameEx
244}
245
246# rbd cython constants
247{
248 <insert_a_suppression_name_here>
249 Memcheck:Leak
250 match-leak-kinds: definite
251 fun:malloc
252 fun:PyObject_Malloc
253 fun:PyCode_New
254 fun:__Pyx_InitCachedConstants
255 fun:initrbd
256 fun:_PyImport_LoadDynamicModule
257 ...
258 fun:PyImport_ImportModuleLevel
259 ...
260 fun:PyObject_Call
261 fun:PyEval_CallObjectWithKeywords
262 fun:PyEval_EvalFrameEx
263}