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