]> git.proxmox.com Git - ceph.git/blob - ceph/qa/valgrind.supp
fa3375b0fa2d88efeb5de19c6b65d36286174e2a
[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: string
188 Memcheck:Leak
189 ...
190 obj:*tcmalloc*
191 fun:call_init*
192 ...
193 }
194 {
195 ceph global: deliberate onexit leak
196 Memcheck:Leak
197 ...
198 fun:*set_flush_on_exit*
199 ...
200 }
201 {
202 libleveldb: ignore all static leveldb leaks
203 Memcheck:Leak
204 ...
205 fun:*leveldb*
206 ...
207 }
208 {
209 libleveldb: ignore all dynamic libleveldb leaks
210 Memcheck:Leak
211 ...
212 obj:*libleveldb.so*
213 ...
214 }
215 {
216 libcurl: ignore libcurl leaks
217 Memcheck:Leak
218 ...
219 fun:*curl_global_init
220 }
221 {
222 ignore gnutls leaks
223 Memcheck:Leak
224 ...
225 fun:gnutls_global_init
226 }
227 {
228 ignore libfcgi leak; OS_LibShutdown has no callers!
229 Memcheck:Leak
230 ...
231 fun:OS_LibInit
232 fun:FCGX_Init
233 }
234 {
235 ignore libnss3 leaks
236 Memcheck:Leak
237 ...
238 obj:*libnss3*
239 ...
240 }
241 {
242 strptime suckage
243 Memcheck:Cond
244 fun:__GI___strncasecmp_l
245 fun:__strptime_internal
246 ...
247 }
248 {
249 strptime suckage 2
250 Memcheck:Value8
251 fun:__GI___strncasecmp_l
252 fun:__strptime_internal
253 ...
254 }
255 {
256 strptime suckage 3
257 Memcheck:Addr8
258 fun:__GI___strncasecmp_l
259 fun:__strptime_internal
260 ...
261 }
262 {
263 inet_ntop does something lame on local stack
264 Memcheck:Value8
265 ...
266 fun:inet_ntop
267 ...
268 }
269 {
270 inet_ntop does something lame on local stack
271 Memcheck:Addr8
272 ...
273 fun:inet_ntop
274 ...
275 }
276 {
277 dl-lookup.c thing .. Invalid write of size 8
278 Memcheck:Value8
279 fun:do_lookup_x
280 ...
281 fun:_dl_lookup_symbol_x
282 ...
283 }
284 {
285 dl-lookup.c thing .. Invalid write of size 8
286 Memcheck:Addr8
287 fun:do_lookup_x
288 ...
289 fun:_dl_lookup_symbol_x
290 ...
291 }
292 {
293 weird thing from libc
294 Memcheck:Leak
295 ...
296 fun:*sub_I_comparator*
297 fun:__libc_csu_init
298 ...
299 }
300 {
301 libfuse leak
302 Memcheck:Leak
303 ...
304 fun:fuse_parse_cmdline
305 ...
306 }
307 {
308 boost thread leaks on exit
309 Memcheck:Leak
310 ...
311 fun:*boost*detail*
312 ...
313 fun:exit
314 }
315 {
316 lttng appears to not clean up state
317 Memcheck:Leak
318 ...
319 fun:lttng_ust_baddr_statedump_init
320 fun:lttng_ust_init
321 fun:call_init.part.0
322 ...
323 }
324 {
325 fun:PK11_CreateContextBySymKey race
326 Helgrind:Race
327 obj:/usr/*lib*/libfreebl*3.so
328 ...
329 obj:/usr/*lib*/libsoftokn3.so
330 ...
331 obj:/usr/*lib*/libnss3.so
332 fun:PK11_CreateContextBySymKey
333 ...
334 }
335 {
336 thread init race
337 Helgrind:Race
338 fun:mempcpy
339 fun:_dl_allocate_tls_init
340 ...
341 fun:pthread_create@*
342 ...
343 }
344 {
345 thread_local memory is falsely detected (https://svn.boost.org/trac/boost/ticket/3296)
346 Memcheck:Leak
347 ...
348 fun:*boost*detail*get_once_per_thread_epoch*
349 fun:*boost*call_once*
350 fun:*boost*detail*get_current_thread_data*
351 ...
352 }
353 {
354 rocksdb thread local singletons
355 Memcheck:Leak
356 ...
357 fun:rocksdb::Env::Default()
358 ...
359 }
360 {
361 rocksdb column thread local leaks
362 Memcheck:Leak
363 ...
364 fun:rocksdb::ThreadLocalPtr::StaticMeta::SetHandler*
365 fun:rocksdb::ColumnFamilyData::ColumnFamilyData*
366 ...
367 }
368 {
369 rocksdb thread crap
370 Memcheck:Leak
371 ...
372 fun:*ThreadLocalPtr*
373 ...
374 }
375 {
376 rocksdb singleton Env leak, blech
377 Memcheck:Leak
378 ...
379 fun:CreateThreadStatusUpdater
380 fun:PosixEnv
381 ...
382 }
383 {
384 rocksdb::Env::Default()
385 Memcheck:Leak
386 ...
387 fun:*rocksdb*Env*Default*
388 ...
389 }
390 {
391 rocksdb BGThreadWrapper
392 Memcheck:Leak
393 ...
394 fun:*BGThreadWrapper*
395 ...
396 }
397 {
398 libstdc++ leak on xenial
399 Memcheck:Leak
400 fun:malloc
401 ...
402 fun:call_init.part.0
403 fun:call_init
404 fun:_dl_init
405 ...
406 }
407 {
408 strange leak of std::string memory from md_config_t seen in radosgw
409 Memcheck:Leak
410 ...
411 fun:_ZNSs4_Rep9_S_createEmmRKSaIcE
412 fun:_ZNSs12_S_constructIPKcEEPcT_S3_RKSaIcESt20forward_iterator_tag
413 ...
414 fun:_ZN11md_config_tC1Ev
415 fun:_ZN11CephContextC1Eji
416 ...
417 }
418 {
419 python does not reset the member field when dealloc an object
420 Memcheck:Leak
421 match-leak-kinds: all
422 ...
423 fun:Py_InitializeEx
424 ...
425 }
426 {
427 statically allocated python types don't get members freed
428 Memcheck:Leak
429 match-leak-kinds: all
430 ...
431 fun:PyType_Ready
432 ...
433 }
434 {
435 manually constructed python module members don't get freed
436 Memcheck:Leak
437 match-leak-kinds: all
438 ...
439 fun:Py_InitModule4_64
440 ...
441 }
442 {
443 manually constructed python module members don't get freed
444 Memcheck:Leak
445 match-leak-kinds: all
446 ...
447 fun:PyModule_AddObject
448 ...
449 }
450 {
451 python subinterpreters may not clean up properly
452 Memcheck:Leak
453 match-leak-kinds: all
454 ...
455 fun:Py_NewInterpreter
456 ...
457 }
458 {
459 python should be able to take care of itself
460 Memcheck:Leak
461 match-leak-kinds: all
462 ...
463 fun:PyEval_EvalCode
464 }
465 {
466 python should be able to take care of itself
467 Memcheck:Leak
468 match-leak-kinds: all
469 ...
470 fun:PyImport_ImportModuleLevel
471 }
472 {
473 python-owned threads may not full clean up after themselves
474 Memcheck:Leak
475 match-leak-kinds: all
476 ...
477 fun:PyEval_CallObjectWithKeywords
478 }
479 {
480 python should be able to take care of itself
481 Memcheck:Leak
482 match-leak-kinds: all
483 ...
484 fun:PyEval_EvalFrameEx
485 ...
486 obj:/usr/lib64/libpython2.7.so.1.0
487 }
488 {
489 python should be able to take care of itself
490 Memcheck:Leak
491 match-leak-kinds: all
492 ...
493 fun:PyObject_Call
494 }
495
496 {
497 rados cython constants
498 Memcheck:Leak
499 match-leak-kinds: definite
500 fun:malloc
501 fun:PyObject_Malloc
502 fun:PyCode_New
503 fun:__Pyx_InitCachedConstants
504 fun:initrados
505 fun:_PyImport_LoadDynamicModule
506 ...
507 fun:PyImport_ImportModuleLevel
508 ...
509 fun:PyObject_Call
510 fun:PyEval_CallObjectWithKeywords
511 fun:PyEval_EvalFrameEx
512 }
513
514 {
515 rbd cython constants
516 Memcheck:Leak
517 match-leak-kinds: definite
518 fun:malloc
519 fun:PyObject_Malloc
520 fun:PyCode_New
521 fun:__Pyx_InitCachedConstants
522 fun:initrbd
523 fun:_PyImport_LoadDynamicModule
524 ...
525 fun:PyImport_ImportModuleLevel
526 ...
527 fun:PyObject_Call
528 fun:PyEval_CallObjectWithKeywords
529 fun:PyEval_EvalFrameEx
530 }
531
532 {
533 dlopen() with -lceph-common https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=700899
534 Memcheck:Leak
535 match-leak-kinds: reachable
536 fun:*alloc
537 ...
538 fun:_dlerror_run
539 fun:dlopen@@GLIBC_2.2.5
540 }
541
542 {
543 ethdev_init_log thing
544 Memcheck:Leak
545 match-leak-kinds: reachable
546 ...
547 fun:ethdev_init_log
548 ...
549 }
550
551 {
552 rte_log_init() in DPDK fails to reset strdup()'ed string at exit
553 Memcheck:Leak
554 match-leak-kinds: reachable
555 fun:*alloc
556 ...
557 fun:rte_log_init
558 fun:__libc_csu_init
559 }
560
561 {
562 libc_csu_init (strdup, rte_log_register, etc.)
563 Memcheck:Leak
564 match-leak-kinds: reachable
565 ...
566 fun:__libc_csu_init
567 ...
568 }
569
570 {
571 Boost.Thread fails to call tls_destructor() when the thread exists
572 Memcheck:Leak
573 match-leak-kinds: reachable
574 ...
575 fun:_Znwm
576 ...
577 fun:*boost*detail*set_tss_data*
578 ...
579 }
580
581 {
582 ignore *all* ceph-mgr python crap. this is overkill, but better than nothing
583 Memcheck:Leak
584 match-leak-kinds: all
585 ...
586 fun:Py*
587 ...
588 }
589
590 {
591 something in glibc
592 Memcheck:Leak
593 match-leak-kinds: all
594 ...
595 fun:strdup
596 fun:__trans_list_add
597 ...
598 fun:_dl_init
599 ...
600 }
601
602 # "Conditional jump or move depends on uninitialised value(s)" in OpenSSL
603 # while using aes-128-gcm with AES-NI enabled. Not observed while running
604 # with `OPENSSL_ia32cap="~0x200000200000000"`.
605 {
606 uninitialised gcm.Xi in aes-128-gcm with AES-NI for msgr, part 1
607 Memcheck:Cond
608 ...
609 fun:EVP_DecryptFinal_ex
610 fun:_ZN4ceph6crypto6onwire25AES128GCM_OnWireRxHandler34authenticated_decrypt_update_finalEONS_6buffer7v*4listEj
611 fun:_ZN10ProtocolV231handle_read_frame_epilogue_mainEOSt10unique_ptrIN4ceph6buffer7v*8ptr_nodeENS4_8disposerEEi
612 fun:_ZN10ProtocolV216run_continuationER2CtIS_E
613 ...
614 fun:_ZN15AsyncConnection7processEv
615 fun:_ZN11EventCenter14process_eventsEjPNSt6chrono8durationImSt5ratioILl1ELl1000000000EEEE
616 ...
617 }
618
619 {
620 uninitialised gcm.Xi in aes-128-gcm with AES-NI for msgr, part 2
621 Memcheck:Cond
622 fun:_ZN4ceph6crypto6onwire25AES128GCM_OnWireRxHandler34authenticated_decrypt_update_finalEONS_6buffer7v*4listEj
623 fun:_ZN10ProtocolV231handle_read_frame_epilogue_mainEOSt10unique_ptrIN4ceph6buffer7v*8ptr_nodeENS4_8disposerEEi
624 fun:_ZN10ProtocolV216run_continuationER2CtIS_E
625 ...
626 fun:_ZN11EventCenter14process_eventsEjPNSt6chrono8durationImSt5ratioILl1ELl1000000000EEEE
627 ...
628 }