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

{
   rados cython constants
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:PyObject_Malloc
   fun:PyCode_New
   fun:__Pyx_InitCachedConstants
   fun:initrados
   fun:_PyImport_LoadDynamicModule
   ...
   fun:PyImport_ImportModuleLevel
   ...
   fun:PyObject_Call
   fun:PyEval_CallObjectWithKeywords
   fun:PyEval_EvalFrameEx
}

{
   rbd cython constants
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:PyObject_Malloc
   fun:PyCode_New
   fun:__Pyx_InitCachedConstants
   fun:initrbd
   fun:_PyImport_LoadDynamicModule
   ...
   fun:PyImport_ImportModuleLevel
   ...
   fun:PyObject_Call
   fun:PyEval_CallObjectWithKeywords
   fun:PyEval_EvalFrameEx
}

{
  dlopen() with -lceph-common https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=700899
  Memcheck:Leak
  match-leak-kinds: reachable
  fun:*alloc
  ...
  fun:_dlerror_run
  fun:dlopen@@GLIBC_2.2.5
}

{
  ethdev_init_log thing
  Memcheck:Leak
  match-leak-kinds: reachable
  ...
  fun:ethdev_init_log
  ...
}

{
  rte_log_init() in DPDK fails to reset strdup()'ed string at exit
  Memcheck:Leak
  match-leak-kinds: reachable
  fun:*alloc
  ...
  fun:rte_log_init
  fun:__libc_csu_init
}

{
  libc_csu_init (strdup, rte_log_register, etc.)
  Memcheck:Leak
  match-leak-kinds: reachable
  ...
  fun:__libc_csu_init
  ...
}

{
  Boost.Thread fails to call tls_destructor() when the thread exists
  Memcheck:Leak
  match-leak-kinds: reachable
  ...
  fun:_Znwm
  ...
  fun:*boost*detail*set_tss_data*
  ...
}

{
  ignore *all* ceph-mgr python crap.  this is overkill, but better than nothing
  Memcheck:Leak
  match-leak-kinds: all
  ...
  fun:Py*
  ...
}

{
  something in glibc
  Memcheck:Leak
  match-leak-kinds: all
  ...
  fun:strdup
  fun:__trans_list_add
  ...
  fun:_dl_init
  ...
}

# "Conditional jump or move depends on uninitialised value(s)" in OpenSSL
# while using aes-128-gcm with AES-NI enabled. Not observed while running
# with `OPENSSL_ia32cap="~0x200000200000000"`.
{
   uninitialised gcm.Xi in aes-128-gcm with AES-NI for msgr, part 1
   Memcheck:Cond
   ...
   fun:EVP_DecryptFinal_ex
   fun:_ZN4ceph6crypto6onwire25AES128GCM_OnWireRxHandler34authenticated_decrypt_update_finalEONS_6buffer7v14_2_04listEj
   fun:_ZN10ProtocolV231handle_read_frame_epilogue_mainEOSt10unique_ptrIN4ceph6buffer7v14_2_08ptr_nodeENS4_8disposerEEi
   fun:_ZN10ProtocolV216run_continuationER2CtIS_E
   ...
   fun:_ZN15AsyncConnection7processEv
   fun:_ZN11EventCenter14process_eventsEjPNSt6chrono8durationImSt5ratioILl1ELl1000000000EEEE
   ...
}

{
   uninitialised gcm.Xi in aes-128-gcm with AES-NI for msgr, part 2
   Memcheck:Cond
   fun:_ZN4ceph6crypto6onwire25AES128GCM_OnWireRxHandler34authenticated_decrypt_update_finalEONS_6buffer7v14_2_04listEj
   fun:_ZN10ProtocolV231handle_read_frame_epilogue_mainEOSt10unique_ptrIN4ceph6buffer7v14_2_08ptr_nodeENS4_8disposerEEi
   fun:_ZN10ProtocolV216run_continuationER2CtIS_E
   ...
   fun:_ZN11EventCenter14process_eventsEjPNSt6chrono8durationImSt5ratioILl1ELl1000000000EEEE
   ...
}