valgrind.suppressions 6.62 KB
Newer Older
1 2 3 4 5 6
# GLib allocates a lot of memory which is never freed, and this makes
# it too hard to read valgrind memcheck results.  You can pass this
# file with "--suppressions=valgrind.suppressions" to disable lots of
# bogus messages.

{
7
   <insert_a_suppression_name_here>
8
   Memcheck:Leak
9 10 11
   fun:*alloc
   ...
   fun:g_random_int
12
}
13 14 15 16 17 18 19 20 21
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   fun:*alloc
   fun:g_mutex_impl_new
   fun:g_mutex_get_impl
   fun:g_mutex_lock
   fun:g_main_context_new
}
22 23

{
24
   g_main_context_dispatch
25 26 27 28
   Memcheck:Leak
   fun:malloc
   fun:g_malloc
   fun:g_slice_alloc
29 30 31
   fun:g_slice_alloc0
   fun:get_dispatch
   fun:g_main_context_dispatch
32 33
}

34 35 36
{
   g_main_context_default
   Memcheck:Leak
37 38
   fun:?alloc
   ...
39 40 41
   fun:g_main_context_default
}

42 43 44
{
   g_main_loop_run
   Memcheck:Leak
45 46 47
   fun:*alloc
   ...
   fun:g_main_context_iterate*
48 49 50
   fun:g_main_loop_run
}

51 52 53 54 55 56 57 58
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   fun:*alloc
   ...
   fun:g_once_init_leave
}

59
{
60
   g_log
61
   Memcheck:Leak
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
   fun:*alloc
   ...
   fun:g_mutex_lock
   fun:g_log_set_default_handler
}

{
   g_mutex
   Memcheck:Leak
   fun:*alloc
   ...
   fun:thread_memory_from_self*
   fun:g_slice_*
}

77 78 79 80 81 82 83 84
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   fun:*alloc
   ...
   fun:g_static_mutex_get_mutex_impl
}

85 86 87 88 89 90
{
   g_private
   Memcheck:Leak
   fun:*alloc
   ...
   fun:g_private_?et
91 92 93
}

{
94
   g_static_private_set
95
   Memcheck:Leak
96 97
   fun:memalign
   ...
98
   fun:g_static_private_set
99 100 101 102 103
}

{
   g_static_private_set
   Memcheck:Leak
104 105
   fun:*alloc
   ...
106
   fun:g_static_private_set
107 108 109
}

{
110
   <insert_a_suppression_name_here>
111
   Memcheck:Leak
112 113 114
   fun:*alloc
   ...
   fun:g_intern_static_string
115 116
}

117 118 119 120 121 122 123 124
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   fun:*alloc
   ...
   fun:g_intern_string
}

125 126 127
{
   g_get_language_names
   Memcheck:Leak
128 129
   fun:*alloc
   ...
130 131 132
   fun:g_get_language_names
}

133 134 135 136 137 138 139 140
{
   g_get_language_names
   Memcheck:Leak
   fun:*alloc
   ...
   fun:g_get_home_dir
}

141 142 143 144
{
   g_get_language_names
   Memcheck:Leak
   fun:memalign
145
   ...
146 147 148
   fun:g_get_language_names
}

149 150 151
{
   g_set_prgname
   Memcheck:Leak
152 153
   fun:*alloc
   ...
154 155 156
   fun:g_set_prgname
}

157 158 159
{
   g_set_application_name
   Memcheck:Leak
160 161
   fun:*alloc
   ...
162 163 164
   fun:g_set_application_name
}

165 166 167
{
   g_thread_init_glib
   Memcheck:Leak
168 169
   fun:*alloc
   ...
170 171 172
   fun:g_thread_init_glib
}

173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191
{
   g_thread_self
   Memcheck:Leak
   fun:*alloc
   ...
   fun:g_slice_*
   fun:g_thread_self
}

{
   g_thread_create
   Memcheck:Leak
   fun:*alloc
   ...
   fun:g_mutex_lock
   ...
   fun:g_thread_create
}

192
{
193
   g_slice_init_nomessage
194 195 196 197 198 199 200
   Memcheck:Leak
   fun:calloc
   fun:g_malloc0
   fun:g_slice_init_nomessage
}

{
201
   g_get_filename_charsets
202
   Memcheck:Leak
203 204
   fun:*alloc
   ...
205 206 207 208 209 210
   fun:g_get_filename_charsets
}

{
   g_get_charset
   Memcheck:Leak
211 212
   fun:*alloc
   ...
213 214 215
   fun:g_get_charset
}

216 217 218
{
   openssl
   Memcheck:Leak
219 220
   fun:*alloc
   ...
221 222 223 224
   fun:ENGINE_load_dynamic
}

{
225
   <insert_a_suppression_name_here>
226
   Memcheck:Leak
227 228 229
   fun:*alloc
   ...
   fun:g_data_initialize
230 231 232
}

{
233
   <insert_a_suppression_name_here>
234
   Memcheck:Leak
235 236 237
   fun:*alloc
   ...
   fun:g_resolver_get_default
238 239 240 241 242 243 244
}

{
   openssl
   Memcheck:Leak
   fun:malloc
   fun:CRYPTO_malloc
245
   ...
246 247 248 249 250
   fun:SSL_COMP_get_compression_methods
   fun:SSL_library_init
}

{
251
   <insert_a_suppression_name_here>
252
   Memcheck:Leak
253
   fun:*alloc
254
   fun:CRYPTO_malloc
255 256
   ...
   fun:ERR_get_state
257 258
}

259 260 261
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
262
   fun:*alloc
263
   fun:CRYPTO_malloc
264 265
   ...
   fun:RSA_new_method
266 267
}

268 269 270 271 272 273 274 275
{
   GnuTLS
   Memcheck:Leak
   fun:*alloc
   ...
   fun:gnutls_global_init
}

276
{
277
   <insert_a_suppression_name_here>
278
   Memcheck:Leak
279 280 281
   fun:?alloc
   ...
   fun:do_dlopen
282 283
}

284
{
285
   <insert_a_suppression_name_here>
286
   Memcheck:Leak
287 288 289
   fun:?alloc
   ...
   fun:dlopen*
290 291 292
}

{
293
   <insert_a_suppression_name_here>
294 295
   Memcheck:Leak
   fun:malloc
296 297
   ...
   fun:dlclose
298 299
}

300 301
# is that a leak in libdbus?

302
{
303
   <insert a suppression name here>
304
   Memcheck:Leak
305 306 307 308
   fun:?alloc
   ...
   obj:*/libdbus-*.so.*
   fun:avahi_client_new
309 310 311
}

{
312
   <insert a suppression name here>
313 314
   Memcheck:Leak
   fun:malloc
315 316 317 318 319 320 321 322 323 324 325
   obj:/usr/lib/libdbus-1.so.3.4.0
   fun:dbus_message_new_error
   obj:/usr/lib/libdbus-1.so.3.4.0
   fun:dbus_connection_send_with_reply
   fun:dbus_connection_send_with_reply_and_block
   obj:/usr/lib/libavahi-client.so.3.2.4
   fun:avahi_entry_group_new
   fun:avahiRegisterService
   fun:avahiClientCallback
   obj:/usr/lib/libavahi-client.so.3.2.4
   fun:avahi_client_new
326 327 328
}

{
329
   inet_ntoa
330 331
   Memcheck:Leak
   fun:malloc
332
   fun:inet_ntoa
333 334 335
}

{
336
   wildmidi
337
   Memcheck:Leak
338 339 340 341
   fun:malloc
   fun:realloc
   fun:init_gauss
   fun:WildMidi_Init
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
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   fun:malloc
   fun:strdup
   ...
   fun:ao_initialize
}

{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   fun:calloc
   fun:ao_initialize
}

{
   <insert_a_suppression_name_here>
   Memcheck:Addr4
   ...
   fun:WildMidi_Init
}

367
{
368
   g_quark_from_string
369
   Memcheck:Leak
370 371 372
   fun:*alloc
   ...
   fun:g_quark_from_*
373 374 375
}

{
376
   g_get_any_init_do
377 378
   Memcheck:Leak
   fun:malloc
379 380 381
   fun:g_malloc
   fun:g_strdup
   fun:g_get_any_init_do
382 383 384
}

{
385
   g_get_any_init_do
386 387
   Memcheck:Leak
   fun:malloc
388 389 390
   fun:g_malloc
   fun:g_strjoinv
   fun:g_get_any_init_do
391 392 393
}

{
394
   nss
395 396
   Memcheck:Leak
   fun:malloc
397
   fun:__nss_lookup_function
398 399
}

400
{
401
   nss
402
   Memcheck:Leak
403 404 405
   fun:malloc
   fun:tsearch
   fun:__nss_lookup_function
406 407
}

408
{
409
   <insert_a_suppression_name_here>
410
   Memcheck:Leak
411 412 413
   fun:*alloc
   ...
   fun:g_*_class_intern_init
414 415 416
}

{
417
   <insert_a_suppression_name_here>
418
   Memcheck:Leak
419 420 421
   fun:*alloc
   ...
   fun:type_iface_vtable_base_init_Wm
422
}
423 424

{
425
   <insert_a_suppression_name_here>
426
   Memcheck:Leak
427 428 429
   fun:*alloc
   ...
   fun:g_object_do_class_init
430 431 432
}

{
433
   <insert_a_suppression_name_here>
434
   Memcheck:Leak
435 436 437
   fun:*alloc
   ...
   fun:g_object_base_class_init
438 439
}

440
{
441
   <insert_a_suppression_name_here>
442
   Memcheck:Leak
443 444 445
   fun:*alloc
   ...
   fun:g_object_class_install_property
446 447
}

448
{
449
   <insert_a_suppression_name_here>
450
   Memcheck:Leak
451 452 453
   fun:*alloc
   ...
   fun:intern_header_name
454 455 456 457 458 459
}

{
   nss
   Memcheck:Leak
   fun:malloc
460 461
   fun:nss_parse_service_list
   fun:__nss_database_lookup
462 463 464
}

{
465
   <insert_a_suppression_name_here>
466
   Memcheck:Leak
467 468 469
   fun:?alloc
   ...
   fun:xmlInitParser
470 471 472
}

{
473
   <insert_a_suppression_name_here>
474
   Memcheck:Leak
475 476
   fun:?alloc
   fun:snd1_dlobj_cache_get
477
}
478 479 480 481 482 483 484 485 486 487

{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   fun:_Znwm
   ...
   obj:*/libjack.so*
   fun:call_init
   fun:_dl_init
}
488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509

#
# libsmbclient
#

{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   fun:*alloc
   ...
   fun:smbc_*_context
   fun:smbc_init
}

{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   fun:*alloc
   ...
   fun:smbc_setDebug
   fun:smbc_init
}