summaryrefslogtreecommitdiff
path: root/valgrind.suppressions
blob: 3109671ae61794444514a3ae08116c6efab82ec7 (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
# IMPORTANT: these suppressions strongly depend on the used library version.
# They probably don't work out-of-the-box on anything but Fedora, where they
# are mainly tested.
#
# Make sure to install debug information, otherwise the suppression trace might
# not match. On Fedora, try 'dnf debuginfo-install glib2'.
{
  NSS_NoDB_Init
  Memcheck:Leak
  ...
  fun:NSS_NoDB_Init
  ...
}
{
  g_type_init_with_debug_flags
  Memcheck:Leak
  ...
  fun:g_type_init_with_debug_flags
  ...
}
{
  g_type_register_static
  Memcheck:Leak
  ...
  fun:g_type_register_static
  ...
}
{
  g_param_spec_boxed
  Memcheck:Leak
  ...
  fun:g_param_spec_boxed
  ...
}
{
  g_type_add_interface_static
  Memcheck:Leak
  ...
  fun:g_type_add_interface_static
  ...
}
{
  g_signal_type_cclosure_new
  Memcheck:Leak
  ...
  fun:g_malloc0
  fun:g_closure_new_simple
  fun:g_signal_type_cclosure_new
  fun:g_signal_new
  ...
}
{
   dbus_g_value_types_init
   Memcheck:Leak
   fun:realloc
   fun:g_realloc
   fun:g_type_set_qdata
   fun:_dbus_g_value_types_init
   fun:dbus_g_bus_get
   ...
}
{
   type_iface_vtable_base_init_Wm
   Memcheck:Leak
   fun:malloc
   fun:g_malloc
   fun:g_memdup
   fun:type_iface_vtable_base_init_Wm
   fun:g_type_class_ref
   ...
}
{
   g_type_create_instance
   Memcheck:Leak
   fun:malloc
   fun:g_malloc
   fun:g_slice_alloc
   fun:g_slice_alloc0
   fun:g_type_create_instance
   fun:g_object_constructor
   ...
}
{
   g_signal_new_class_handler
   Memcheck:Leak
   ...
   fun:g_closure_new_simple
   fun:g_cclosure_new
   fun:g_signal_new_class_handler
   ...
}
{
   _dl_init_g_type_register_fundamental
   Memcheck:Leak
   ...
   fun:g_type_register_fundamental
   ...
   fun:_dl_init
   obj:/*/ld-*.so
}
{
   _dl_init_g_malloc0
   Memcheck:Leak
   fun:calloc
   fun:g_malloc0
   ...
   fun:_dl_init
   obj:/*/ld-*.so
}
{
   # added on Fedora 22
   # This happens when setting LD_LIBRARY_PATH and the linker is searching the libraries to load.
   # for example:
   # LD_LIBRARY_PATH=./././././././././././././././././libnm/.libs:./libnm-util/.libs:./libnm-glib/.libs
   _dl_expand_dynamic_string_token
   Memcheck:Cond
   fun:index
   fun:expand_dynamic_string_token
   ...
   fun:dl_main
   fun:_dl_sysdep_start
   fun:_dl_start_final
   fun:_dl_start
   obj:/*/ld-*.so
   ...
}
{
    all_gobject_init_ctor
    Memcheck:Leak
    ...
    fun:gobject_init_ctor
    ...
}


# The following suppressions were needed on fc20.armv7hl
{
   _fun_malloc
   Memcheck:Leak
   match-leak-kinds: possible
   fun:malloc
}
{
   _fun_realloc
   Memcheck:Leak
   match-leak-kinds: possible
   fun:realloc
}
{
   _fun_calloc
   Memcheck:Leak
   match-leak-kinds: possible
   fun:calloc
}


{
   _glib_sigaction
   Memcheck:Param
   rt_sigaction(act->sa_flags)
   fun:__libc_sigaction
   fun:unref_unix_signal_handler_unlocked
   fun:g_child_watch_finalize
   fun:g_source_unref_internal
   fun:g_main_context_dispatch
   ...
   fun:g_main_loop_run
   ...
}

{
   # FIXME: dunny why this is needed. Clean up later.
   _dispatcher_test
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:g_malloc
   fun:g_slice_alloc
   fun:g_variant_new_from_bytes
   fun:g_variant_new_from_trusted
   fun:parse_dhcp
   fun:get_dispatcher_file
   ...
   fun:g_test_run_suite_internal
   fun:g_test_run_suite_internal
   fun:g_test_run_suite
}

{
   _gdbus_1
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:g_malloc
   fun:g_slice_alloc
   fun:g_slice_alloc0
   fun:get_dispatch
   fun:g_main_context_dispatch
   ...
   fun:g_main_loop_run
   fun:gdbus_shared_thread_func
   fun:g_thread_proxy
   fun:start_thread
   fun:clone
}

{
   _gdbus_2
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:g_malloc
   fun:g_slice_alloc
   fun:g_slice_alloc0
   fun:g_main_context_push_thread_default
   fun:gdbus_shared_thread_func
   fun:g_thread_proxy
   fun:start_thread
   fun:clone
}

{
   _gdbus_3
   Memcheck:Leak
   match-leak-kinds: definite
   fun:calloc
   fun:g_malloc0
   fun:_g_socket_read_with_control_messages
   fun:_g_dbus_worker_do_read_unlocked
   fun:_g_dbus_worker_do_read_cb
   fun:g_simple_async_result_complete
   fun:complete_in_idle_cb
   ...
   fun:g_main_context_dispatch
   ...
   fun:g_main_loop_run
   fun:gdbus_shared_thread_func
   fun:g_thread_proxy
}

{
   _gdbus_4
   Memcheck:Leak
   match-leak-kinds: definite
   fun:calloc
   fun:g_malloc0
   ...
   fun:g_slice_alloc
   fun:g_slice_alloc0
   fun:g_main_context_push_thread_default
   fun:gdbus_shared_thread_func
   fun:g_thread_proxy
   fun:start_thread
   fun:clone
}

{
   _gdbus_5
   Memcheck:Leak
   match-leak-kinds: definite
   ...
   fun:g_dbus_message_new_from_blob
   ...
}

{
   _gdbus_9
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:g_malloc
   fun:g_slice_alloc
   fun:g_slice_alloc0
   fun:get_dispatch
   fun:g_main_current_source
   fun:g_task_return
   fun:g_task_thread_pool_thread
   fun:g_thread_pool_thread_proxy
   fun:g_thread_proxy
   fun:start_thread
   fun:clone
}

{
   _gdbus_10
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:g_malloc
   fun:g_slice_alloc
   fun:g_slice_alloc0
   fun:g_system_thread_new
   fun:g_thread_new_internal
   ...
   fun:g_thread_pool_push
   ...
   fun:g_task_run_in_thread
   fun:g_async_initable_real_init_async
   fun:g_bus_get
   ...
}

{
   _gdbus_11
   Memcheck:Leak
   match-leak-kinds: definite
   fun:calloc
   fun:g_malloc0
   ...
   fun:g_slice_alloc
   fun:g_slice_alloc0
   fun:get_dispatch
   fun:g_main_current_source
   fun:g_task_return
   fun:g_task_thread_pool_thread
   fun:g_thread_pool_thread_proxy
   fun:g_thread_proxy
   fun:start_thread
}

{
   _gdbus_12
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:g_malloc
   fun:g_slice_alloc
   fun:g_error_new_valist
   fun:g_error_new
   fun:g_dbus_error_new_for_dbus_error
   fun:g_dbus_error_set_dbus_error
   fun:g_dbus_message_to_gerror
   fun:decode_method_reply
   fun:g_dbus_connection_call_sync_internal
   fun:g_dbus_proxy_call_sync_internal
   fun:g_dbus_proxy_call_sync
}

{
   _gdbus_15
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:g_malloc
   fun:g_slice_alloc
   fun:g_hash_table_new_full
   fun:demarshal_map
   fun:_dbus_gvalue_demarshal
   fun:dbus_g_proxy_end_call_internal
   fun:dbus_g_proxy_end_call
   fun:get_permissions_reply
   fun:complete_pending_call_and_unlock
   fun:dbus_connection_dispatch
   fun:message_queue_dispatch
}

{
   _gdbus_16
   Memcheck:Leak
   match-leak-kinds: definite
   fun:calloc
   fun:g_malloc0
   fun:_g_dbus_worker_send_message
   fun:g_dbus_connection_send_message_unlocked
   fun:unsubscribe_id_internal
   fun:g_dbus_connection_signal_unsubscribe
   fun:g_dbus_proxy_finalize
   ...
}

{
   _gdbus_17
   Memcheck:Leak
   match-leak-kinds: definite
   fun:calloc
   fun:g_malloc0
   fun:thread_memory_from_self
   fun:g_slice_alloc
   fun:g_slice_alloc0
   fun:g_main_context_push_thread_default
   fun:gdbus_shared_thread_func
   fun:g_thread_proxy
   fun:start_thread
   fun:clone
}

{
   _gdbus_18
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:g_malloc
   fun:g_slice_alloc
   fun:g_slice_alloc0
   fun:get_dispatch
   fun:g_main_dispatch
   fun:g_main_context_dispatch
   ...
   fun:g_main_loop_run
   fun:gdbus_shared_thread_func
   fun:g_thread_proxy
   fun:start_thread
   fun:clone
}
{
   _gdbus_f21_1
   Memcheck:Leak
   match-leak-kinds: definite
   ...
   fun:_g_dbus_worker_send_message
   fun:g_dbus_connection_send_message_unlocked
   ...
   fun:g_dbus_proxy_finalize
   ...
}
{
   _gdbus_f23_1
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:g_malloc
   fun:g_slice_alloc
   fun:g_slice_alloc0
   fun:g_type_create_instance
   fun:g_object_new_internal
   fun:g_object_new*
   fun:g_object_new
   fun:g_task_new
   fun:_g_socket_read_with_control_messages
   fun:_g_dbus_worker_do_read_unlocked
   fun:_g_dbus_worker_do_read_cb
   fun:g_task_return_now
   ...
   fun:g_main_dispatch
   fun:g_main_context_dispatch
   fun:g_main_context_iterate.isra.*
   fun:g_main_loop_run
   fun:gdbus_shared_thread_func
   fun:g_thread_proxy
   fun:start_thread
   fun:clone
}
{
   _gdbus_f25_1
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:g_malloc
   fun:g_slice_alloc
   fun:g_slice_alloc0
   fun:g_system_thread_new
   fun:g_thread_new_internal
   fun:g_thread_new
   fun:g_get_worker_context
   fun:g_task_thread_pool_init
   fun:g_task_get_type
   fun:ensure_required_types
   ...
   fun:g_bus_get_sync
}
{
   _gdbus_f25_2
   Memcheck:Leak
   match-leak-kinds: definite
   ...
   fun:g_dbus_proxy_new_sync
   fun:initable_init
   fun:async_init_thread
   fun:g_task_thread_pool_thread
   fun:g_thread_pool_thread_proxy
   fun:g_thread_proxy
   fun:start_thread
   fun:clone
}
{
   _gdbusobjectmanager_f25_1
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:g_malloc
   fun:g_slice_alloc
   fun:g_slice_alloc0
   fun:g_system_thread_new
   fun:g_thread_new_internal
   fun:g_thread_pool_start_thread.part.1
   fun:g_thread_pool_start_thread
   fun:g_thread_pool_push
   fun:g_task_run_in_thread
   fun:g_async_initable_real_init_async
   fun:g_async_initable_new_valist_async
   fun:g_async_initable_new_async
   fun:g_dbus_object_manager_client_new_for_bus
}
{
   _btrfs_io_clone
   Memcheck:Param
   ioctl(generic)
   fun:ioctl
   fun:btrfs_reflink_with_progress
   ...
}