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