]> git.proxmox.com Git - ceph.git/blame - ceph/qa/valgrind.supp
import ceph 15.2.10
[ceph.git] / ceph / qa / valgrind.supp
CommitLineData
cd265ab1
TL
1
2{
3 <allthefrees, so we can behave with tcmalloc>
4 Memcheck:Free
5 fun:free
6 ...
7}
8
a8e16298
TL
9{
10 older boost mersenne twister uses uninitialized memory for randomness
11 Memcheck:Cond
12 ...
13 fun:*Monitor::prepare_new_fingerprint*
14 ...
15}
16{
17 older boost mersenne twister uses uninitialized memory for randomness
18 Memcheck:Value8
19 ...
20 fun:*Monitor::prepare_new_fingerprint*
21 ...
22}
23{
24 apparent TLS leak in eglibc
25 Memcheck:Leak
26 fun:calloc
27 fun:_dl_allocate_tls
28 fun:pthread_create*
29 ...
30}
31{
32 osd: ignore ec plugin loading (FIXME SOMEDAY)
33 Memcheck:Leak
34 ...
35 fun:*ErasureCodePluginRegistry*load*
36 ...
37}
38{
39 osd: ignore ec plugin factory (FIXME SOMEDAY)
40 Memcheck:Leak
41 ...
42 fun:*ErasureCodePluginRegistry*factory*
43 ...
44}
45{
46 tcmalloc: libboost_thread-mt.so.1.53 is linked with tcmalloc
47 Memcheck:Param
48 msync(start)
49 obj:/usr/lib64/libpthread-2.17.so
50 obj:/usr/lib64/libunwind.so.8.0.1
51 obj:/usr/lib64/libunwind.so.8.0.1
52 obj:/usr/lib64/libunwind.so.8.0.1
53 obj:/usr/lib64/libunwind.so.8.0.1
54 ...
55 fun:*tcmalloc*ThreadCache*
56 ...
57 obj:/usr/lib64/libboost_thread-mt.so.1.53.0
58}
59{
60 tcmalloc: msync heap allocation points to uninit bytes (centos 6.5)
61 Memcheck:Param
62 msync(start)
63 obj:/lib64/libpthread-2.12.so
64 obj:/usr/lib64/libunwind.so.8.0.1
65 obj:/usr/lib64/libunwind.so.8.0.1
66 obj:/usr/lib64/libunwind.so.8.0.1
67 obj:/usr/lib64/libunwind.so.8.0.1
68 fun:_ULx86_64_step
69 fun:_Z13GetStackTracePPvii
70 fun:_ZN8tcmalloc8PageHeap8GrowHeapEm
71 fun:_ZN8tcmalloc8PageHeap3NewEm
72}
73{
74 tcmalloc: msync heap allocation points to unaddressible bytes (centos 6.5 #2)
75 Memcheck:Param
76 msync(start)
77 obj:/lib64/libpthread-2.12.so
78 obj:/usr/lib64/libunwind.so.7.0.0
79 fun:_ULx86_64_step
80 fun:_Z13GetStackTracePPvii
81 fun:_ZN8tcmalloc8PageHeap8GrowHeapEm
82 fun:_ZN8tcmalloc8PageHeap3NewEm
83}
84{
85 tcmalloc: msync heap allocation points to uninit bytes (rhel7)
86 Memcheck:Param
87 msync(start)
88 obj:/usr/lib64/libpthread-2.17.so
89 obj:/usr/lib64/libunwind.so.8.0.1
90 obj:/usr/lib64/libunwind.so.8.0.1
91 obj:/usr/lib64/libunwind.so.8.0.1
92 obj:/usr/lib64/libunwind.so.8.0.1
93 fun:_ULx86_64_step
94 fun:_Z13GetStackTracePPvii
95 fun:_ZN8tcmalloc8PageHeap8GrowHeapEm
96 fun:_ZN8tcmalloc8PageHeap3NewEm
97}
98{
99 tcmalloc: msync heap allocation points to uninit bytes (rhel7 #2)
100 Memcheck:Param
101 msync(start)
102 obj:/usr/lib64/libpthread-2.17.so
103 obj:/usr/lib64/libunwind.so.8.0.1
104 obj:/usr/lib64/libunwind.so.8.0.1
105 obj:/usr/lib64/libunwind.so.8.0.1
106 obj:/usr/lib64/libunwind.so.8.0.1
107 fun:_ULx86_64_step
108 obj:/usr/lib64/libtcmalloc.so.4.2.6
109 fun:_Z13GetStackTracePPvii
110 fun:_ZN8tcmalloc8PageHeap8GrowHeapEm
111 fun:_ZN8tcmalloc8PageHeap3NewEm
112}
113{
114 tcmalloc: msync heap allocation points to uninit bytes (wheezy)
115 Memcheck:Param
116 msync(start)
117 obj:/lib/x86_64-linux-gnu/libpthread-2.13.so
118 obj:/usr/lib/libunwind.so.7.0.0
119 fun:_ULx86_64_step
120 fun:_Z13GetStackTracePPvii
121 fun:_ZN8tcmalloc8PageHeap8GrowHeapEm
122 fun:_ZN8tcmalloc8PageHeap3NewEm
123}
124{
125 tcmalloc: msync heap allocation points to uninit bytes (precise)
126 Memcheck:Param
127 msync(start)
128 obj:/lib/x86_64-linux-gnu/libpthread-2.15.so
129 obj:/usr/lib/libunwind.so.7.0.0
130 fun:_ULx86_64_step
131 fun:_Z13GetStackTracePPvii
132 fun:_ZN8tcmalloc8PageHeap8GrowHeapEm
133 fun:_ZN8tcmalloc8PageHeap3NewEm
134 obj:/usr/lib/libtcmalloc.so.0.1.0
135}
136{
137 tcmalloc: msync heap allocation points to uninit bytes (trusty)
138 Memcheck:Param
139 msync(start)
140 obj:/lib/x86_64-linux-gnu/libpthread-2.19.so
141 obj:/usr/lib/x86_64-linux-gnu/libunwind.so.8.0.1
142 obj:/usr/lib/x86_64-linux-gnu/libunwind.so.8.0.1
143 obj:/usr/lib/x86_64-linux-gnu/libunwind.so.8.0.1
144 obj:/usr/lib/x86_64-linux-gnu/libunwind.so.8.0.1
145 fun:_ULx86_64_step
146 fun:_Z13GetStackTracePPvii
147 fun:_ZN8tcmalloc8PageHeap8GrowHeapEm
148 fun:_ZN8tcmalloc8PageHeap3NewEm
149}
150{
151 tcmalloc: msync heap allocation points to uninit bytes 2 (trusty)
152 Memcheck:Param
153 msync(start)
154 fun:__msync_nocancel
155 obj:/usr/lib/x86_64-linux-gnu/libunwind.so.8.0.1
156 obj:/usr/lib/x86_64-linux-gnu/libunwind.so.8.0.1
157 obj:/usr/lib/x86_64-linux-gnu/libunwind.so.8.0.1
158 obj:/usr/lib/x86_64-linux-gnu/libunwind.so.8.0.1
159 fun:_ULx86_64_step
160 fun:_Z13GetStackTracePPvii
161 fun:_ZN8tcmalloc8PageHeap8GrowHeapEm
162 fun:_ZN8tcmalloc8PageHeap3NewEm
163 fun:_ZN8tcmalloc15CentralFreeList8PopulateEv
164 fun:_ZN8tcmalloc15CentralFreeList18FetchFromSpansSafeEv
165 fun:_ZN8tcmalloc15CentralFreeList11RemoveRangeEPPvS2_i
166}
167{
168 tcmalloc: msync (xenial)
169 Memcheck:Param
170 msync(start)
171 fun:__msync_nocancel
172 obj:/usr/lib/x86_64-linux-gnu/libunwind.so.8.0.1
173 obj:/usr/lib/x86_64-linux-gnu/libunwind.so.8.0.1
174 obj:/usr/lib/x86_64-linux-gnu/libunwind.so.8.0.1
175 obj:/usr/lib/x86_64-linux-gnu/libunwind.so.8.0.1
176 obj:*tcmalloc*
177 fun:*GetStackTrace*
178}
179{
180 tcmalloc: string
181 Memcheck:Leak
182 ...
183 obj:*tcmalloc*
184 fun:call_init*
185 ...
186}
187{
188 ceph global: deliberate onexit leak
189 Memcheck:Leak
190 ...
191 fun:*set_flush_on_exit*
192 ...
193}
194{
195 libleveldb: ignore all static leveldb leaks
196 Memcheck:Leak
197 ...
198 fun:*leveldb*
199 ...
200}
201{
202 libleveldb: ignore all dynamic libleveldb leaks
203 Memcheck:Leak
204 ...
205 obj:*libleveldb.so*
206 ...
207}
208{
209 libcurl: ignore libcurl leaks
210 Memcheck:Leak
211 ...
212 fun:*curl_global_init
213}
214{
215 ignore gnutls leaks
216 Memcheck:Leak
217 ...
218 fun:gnutls_global_init
219}
220{
221 ignore libfcgi leak; OS_LibShutdown has no callers!
222 Memcheck:Leak
223 ...
224 fun:OS_LibInit
225 fun:FCGX_Init
226}
227{
228 ignore libnss3 leaks
229 Memcheck:Leak
230 ...
231 obj:*libnss3*
232 ...
233}
234{
235 strptime suckage
236 Memcheck:Cond
237 fun:__GI___strncasecmp_l
238 fun:__strptime_internal
239 ...
240}
241{
242 strptime suckage 2
243 Memcheck:Value8
244 fun:__GI___strncasecmp_l
245 fun:__strptime_internal
246 ...
247}
248{
249 strptime suckage 3
250 Memcheck:Addr8
251 fun:__GI___strncasecmp_l
252 fun:__strptime_internal
253 ...
254}
255{
256 inet_ntop does something lame on local stack
257 Memcheck:Value8
258 ...
259 fun:inet_ntop
260 ...
261}
262{
263 inet_ntop does something lame on local stack
264 Memcheck:Addr8
265 ...
266 fun:inet_ntop
267 ...
268}
269{
270 dl-lookup.c thing .. Invalid write of size 8
271 Memcheck:Value8
272 fun:do_lookup_x
273 ...
274 fun:_dl_lookup_symbol_x
275 ...
276}
277{
278 dl-lookup.c thing .. Invalid write of size 8
279 Memcheck:Addr8
280 fun:do_lookup_x
281 ...
282 fun:_dl_lookup_symbol_x
283 ...
284}
285{
286 weird thing from libc
287 Memcheck:Leak
288 ...
289 fun:*sub_I_comparator*
290 fun:__libc_csu_init
291 ...
292}
293{
294 libfuse leak
295 Memcheck:Leak
296 ...
297 fun:fuse_parse_cmdline
298 ...
299}
300{
301 boost thread leaks on exit
302 Memcheck:Leak
303 ...
304 fun:*boost*detail*
305 ...
306 fun:exit
307}
308{
309 lttng appears to not clean up state
310 Memcheck:Leak
311 ...
312 fun:lttng_ust_baddr_statedump_init
313 fun:lttng_ust_init
314 fun:call_init.part.0
315 ...
316}
317{
318 fun:PK11_CreateContextBySymKey race
319 Helgrind:Race
320 obj:/usr/*lib*/libfreebl*3.so
321 ...
322 obj:/usr/*lib*/libsoftokn3.so
323 ...
324 obj:/usr/*lib*/libnss3.so
325 fun:PK11_CreateContextBySymKey
326 ...
327}
328{
329 thread init race
330 Helgrind:Race
331 fun:mempcpy
332 fun:_dl_allocate_tls_init
333 ...
334 fun:pthread_create@*
335 ...
336}
337{
338 thread_local memory is falsely detected (https://svn.boost.org/trac/boost/ticket/3296)
339 Memcheck:Leak
340 ...
341 fun:*boost*detail*get_once_per_thread_epoch*
342 fun:*boost*call_once*
343 fun:*boost*detail*get_current_thread_data*
344 ...
345}
346{
347 rocksdb thread local singletons
348 Memcheck:Leak
349 ...
350 fun:rocksdb::Env::Default()
351 ...
352}
353{
354 rocksdb column thread local leaks
355 Memcheck:Leak
356 ...
357 fun:rocksdb::ThreadLocalPtr::StaticMeta::SetHandler*
358 fun:rocksdb::ColumnFamilyData::ColumnFamilyData*
359 ...
360}
361{
362 rocksdb thread crap
363 Memcheck:Leak
364 ...
365 fun:*ThreadLocalPtr*
366 ...
367}
368{
369 rocksdb singleton Env leak, blech
370 Memcheck:Leak
371 ...
372 fun:CreateThreadStatusUpdater
373 fun:PosixEnv
374 ...
375}
376{
377 rocksdb::Env::Default()
378 Memcheck:Leak
379 ...
380 fun:*rocksdb*Env*Default*
381 ...
382}
383{
384 rocksdb BGThreadWrapper
385 Memcheck:Leak
386 ...
387 fun:*BGThreadWrapper*
388 ...
389}
390{
391 libstdc++ leak on xenial
392 Memcheck:Leak
393 fun:malloc
394 ...
395 fun:call_init.part.0
396 fun:call_init
397 fun:_dl_init
398 ...
399}
400{
401 strange leak of std::string memory from md_config_t seen in radosgw
402 Memcheck:Leak
403 ...
404 fun:_ZNSs4_Rep9_S_createEmmRKSaIcE
405 fun:_ZNSs12_S_constructIPKcEEPcT_S3_RKSaIcESt20forward_iterator_tag
406 ...
407 fun:_ZN11md_config_tC1Ev
408 fun:_ZN11CephContextC1Eji
409 ...
410}
411{
412 python does not reset the member field when dealloc an object
413 Memcheck:Leak
414 match-leak-kinds: all
415 ...
416 fun:Py_InitializeEx
417 ...
418}
419{
420 statically allocated python types don't get members freed
421 Memcheck:Leak
422 match-leak-kinds: all
423 ...
424 fun:PyType_Ready
425 ...
426}
427{
428 manually constructed python module members don't get freed
429 Memcheck:Leak
430 match-leak-kinds: all
431 ...
432 fun:Py_InitModule4_64
433 ...
434}
435{
436 manually constructed python module members don't get freed
437 Memcheck:Leak
438 match-leak-kinds: all
439 ...
440 fun:PyModule_AddObject
441 ...
442}
443{
444 python subinterpreters may not clean up properly
445 Memcheck:Leak
446 match-leak-kinds: all
447 ...
448 fun:Py_NewInterpreter
449 ...
450}
451{
452 python should be able to take care of itself
453 Memcheck:Leak
454 match-leak-kinds: all
455 ...
456 fun:PyEval_EvalCode
457}
458{
459 python should be able to take care of itself
460 Memcheck:Leak
461 match-leak-kinds: all
462 ...
463 fun:PyImport_ImportModuleLevel
464}
465{
466 python-owned threads may not full clean up after themselves
467 Memcheck:Leak
468 match-leak-kinds: all
469 ...
470 fun:PyEval_CallObjectWithKeywords
471}
472{
473 python should be able to take care of itself
474 Memcheck:Leak
475 match-leak-kinds: all
476 ...
477 fun:PyEval_EvalFrameEx
478 ...
479 obj:/usr/lib64/libpython2.7.so.1.0
480}
481{
482 python should be able to take care of itself
483 Memcheck:Leak
484 match-leak-kinds: all
485 ...
486 fun:PyObject_Call
487}
488
489{
490 rados cython constants
491 Memcheck:Leak
492 match-leak-kinds: definite
493 fun:malloc
494 fun:PyObject_Malloc
495 fun:PyCode_New
496 fun:__Pyx_InitCachedConstants
497 fun:initrados
498 fun:_PyImport_LoadDynamicModule
499 ...
500 fun:PyImport_ImportModuleLevel
501 ...
502 fun:PyObject_Call
503 fun:PyEval_CallObjectWithKeywords
504 fun:PyEval_EvalFrameEx
505}
506
507{
508 rbd cython constants
509 Memcheck:Leak
510 match-leak-kinds: definite
511 fun:malloc
512 fun:PyObject_Malloc
513 fun:PyCode_New
514 fun:__Pyx_InitCachedConstants
515 fun:initrbd
516 fun:_PyImport_LoadDynamicModule
517 ...
518 fun:PyImport_ImportModuleLevel
519 ...
520 fun:PyObject_Call
521 fun:PyEval_CallObjectWithKeywords
522 fun:PyEval_EvalFrameEx
523}
524
525{
526 dlopen() with -lceph-common https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=700899
527 Memcheck:Leak
528 match-leak-kinds: reachable
529 fun:*alloc
530 ...
531 fun:_dlerror_run
532 fun:dlopen@@GLIBC_2.2.5
533}
534
535{
536 ethdev_init_log thing
537 Memcheck:Leak
538 match-leak-kinds: reachable
539 ...
540 fun:ethdev_init_log
541 ...
542}
543
544{
545 rte_log_init() in DPDK fails to reset strdup()'ed string at exit
546 Memcheck:Leak
547 match-leak-kinds: reachable
548 fun:*alloc
549 ...
550 fun:rte_log_init
551 fun:__libc_csu_init
552}
553
554{
555 libc_csu_init (strdup, rte_log_register, etc.)
556 Memcheck:Leak
557 match-leak-kinds: reachable
558 ...
559 fun:__libc_csu_init
560 ...
561}
562
563{
564 Boost.Thread fails to call tls_destructor() when the thread exists
565 Memcheck:Leak
566 match-leak-kinds: reachable
567 ...
e306af50
TL
568 fun:_Znwm
569 ...
a8e16298
TL
570 fun:*boost*detail*set_tss_data*
571 ...
572}
573
574{
575 ignore *all* ceph-mgr python crap. this is overkill, but better than nothing
576 Memcheck:Leak
577 match-leak-kinds: all
578 ...
579 fun:Py*
580 ...
581}
582
583{
584 something in glibc
585 Memcheck:Leak
586 match-leak-kinds: all
587 ...
588 fun:strdup
589 fun:__trans_list_add
590 ...
591 fun:_dl_init
592 ...
593}
594
595# "Conditional jump or move depends on uninitialised value(s)" in OpenSSL
596# while using aes-128-gcm with AES-NI enabled. Not observed while running
597# with `OPENSSL_ia32cap="~0x200000200000000"`.
598{
eafe8130 599 uninitialised gcm.Xi in aes-128-gcm with AES-NI for msgr, part 1
a8e16298
TL
600 Memcheck:Cond
601 ...
602 fun:EVP_DecryptFinal_ex
9f95a23c
TL
603 fun:_ZN4ceph6crypto6onwire25AES128GCM_OnWireRxHandler34authenticated_decrypt_update_finalEONS_6buffer7v*4listEj
604 fun:_ZN10ProtocolV231handle_read_frame_epilogue_mainEOSt10unique_ptrIN4ceph6buffer7v*8ptr_nodeENS4_8disposerEEi
a8e16298
TL
605 fun:_ZN10ProtocolV216run_continuationER2CtIS_E
606 ...
607 fun:_ZN15AsyncConnection7processEv
608 fun:_ZN11EventCenter14process_eventsEjPNSt6chrono8durationImSt5ratioILl1ELl1000000000EEEE
eafe8130 609 ...
a8e16298
TL
610}
611
612{
eafe8130 613 uninitialised gcm.Xi in aes-128-gcm with AES-NI for msgr, part 2
a8e16298 614 Memcheck:Cond
9f95a23c
TL
615 fun:_ZN4ceph6crypto6onwire25AES128GCM_OnWireRxHandler34authenticated_decrypt_update_finalEONS_6buffer7v*4listEj
616 fun:_ZN10ProtocolV231handle_read_frame_epilogue_mainEOSt10unique_ptrIN4ceph6buffer7v*8ptr_nodeENS4_8disposerEEi
a8e16298
TL
617 fun:_ZN10ProtocolV216run_continuationER2CtIS_E
618 ...
a8e16298 619 fun:_ZN11EventCenter14process_eventsEjPNSt6chrono8durationImSt5ratioILl1ELl1000000000EEEE
eafe8130 620 ...
a8e16298 621}