1# A suppression for an old bug in libtheora (fixed in more recent versions, 2# but some of our buildslaves still have this) 3{ 4 <Leaky libtheora> 5 Memcheck:Leak 6 fun:realloc 7 fun:oggpackB_write 8 fun:EncodeData 9 obj:/usr/lib/libtheora.so* 10 fun:theora_encode_YUVin 11} 12 13# Suppression for pango on ubuntu edgy/x86 and textoverlay test 14{ 15 <pango> 16 Memcheck:Param 17 access(pathname) 18 fun:access 19 fun:pango_config_key_get 20 fun:pango_find_map 21} 22 23{ 24 <suppression for a singleton in GIO that can't be cleaned up> 25 Memcheck:Leak 26 fun:realloc 27 obj:* 28 obj:* 29 obj:* 30 obj:* 31 obj:* 32 obj:* 33 obj:* 34 obj:* 35 obj:* 36 fun:g_type_create_instance 37 fun:g_object_constructor 38 fun:g_object_newv 39 fun:g_object_new_valist 40 fun:g_object_new 41 fun:get_default_vfs 42 fun:g_once_impl 43 fun:g_vfs_get_default 44} 45 46{ 47 <suppression for a singleton in GIO that can't be cleaned up> 48 Memcheck:Leak 49 fun:malloc 50 obj:* 51 obj:* 52 obj:* 53 obj:* 54 fun:g_type_create_instance 55 fun:g_object_constructor 56 fun:g_object_newv 57 fun:g_object_new_valist 58 fun:g_object_new 59 fun:get_default_vfs 60 fun:g_once_impl 61 fun:g_vfs_get_default 62} 63 64{ 65 <ALSA unitialised access> 66 Memcheck:Cond 67 obj:/usr/lib/libasound.so.* 68 fun:snd_pcm_hw_params_set_buffer_time_near 69} 70 71{ 72 <ALSA uninitialized access> 73 Memcheck:Cond 74 obj:/usr/lib/libasound.so.* 75 obj:/usr/lib/libasound.so.* 76 obj:/usr/lib/libasound.so.* 77 fun:snd_pcm_hw_params_set_buffer_time_near 78} 79 80{ 81 <One time init in ALSA> 82 Memcheck:Leak 83 fun:malloc 84 obj:/usr/lib/libasound.so.* 85 obj:/usr/lib/libasound.so.* 86 fun:gst_alsa_device_property_probe_get_values 87} 88 89{ 90 <One time init in ALSA> 91 Memcheck:Leak 92 fun:calloc 93 obj:/usr/lib/libasound.so.* 94 obj:/usr/lib/libasound.so.* 95 obj:/usr/lib/libasound.so.* 96 obj:/usr/lib/libasound.so.* 97 obj:/usr/lib/libasound.so.* 98 obj:/usr/lib/libasound.so.* 99 fun:snd_config_hook_load 100 obj:* 101 obj:/usr/lib/libasound.so.* 102 fun:snd_config_searcha_hooks 103 fun:snd_config_searchva_hooks 104 obj:/usr/lib/libasound.so.* 105 fun:snd_config_search_definition 106 obj:/usr/lib/libasound.so.* 107 fun:gst_alsa_device_property_probe_get_values 108} 109 110{ 111 <One time init in ALSA> 112 Memcheck:Leak 113 fun:calloc 114 obj:* 115 obj:* 116 obj:* 117 obj:* 118 obj:* 119 obj:* 120 obj:* 121 obj:* 122 obj:* 123 obj:/usr/lib/libasound.so.* 124 fun:snd_config_searcha_hooks 125 fun:snd_config_searchva_hooks 126 obj:/usr/lib/libasound.so.* 127 fun:snd_config_search_definition 128 obj:/usr/lib/libasound.so.* 129 fun:gst_alsa_device_property_probe_get_values 130} 131 132{ 133 <One time init in ALSA> 134 Memcheck:Leak 135 fun:calloc 136 obj:* 137 obj:* 138 obj:* 139 obj:* 140 obj:* 141 obj:* 142 obj:* 143 obj:* 144 obj:* 145 obj:* 146 obj:/usr/lib/libasound.so.* 147 fun:snd_config_searcha_hooks 148 fun:snd_config_searchva_hooks 149 obj:/usr/lib/libasound.so.* 150 fun:snd_config_search_definition 151 obj:/usr/lib/libasound.so.* 152 fun:gst_alsa_device_property_probe_get_values 153} 154 155{ 156 <One time init in ALSA> 157 Memcheck:Leak 158 fun:calloc 159 obj:* 160 obj:* 161 obj:* 162 obj:* 163 obj:* 164 obj:* 165 obj:* 166 obj:* 167 obj:* 168 obj:* 169 obj:* 170 obj:/usr/lib/libasound.so.* 171 fun:snd_config_searcha_hooks 172 fun:snd_config_searchva_hooks 173 obj:/usr/lib/libasound.so.* 174 fun:snd_config_search_definition 175 obj:/usr/lib/libasound.so.* 176 fun:gst_alsa_device_property_probe_get_values 177} 178 179{ 180 <One time init in ALSA> 181 Memcheck:Leak 182 fun:malloc 183 obj:/usr/lib/libasound.so.* 184 obj:/usr/lib/libasound.so.* 185 fun:snd_hctl_open 186 fun:snd_mixer_attach 187} 188 189{ 190 <Pulseaudio ALSA plugin initialisation> 191 Memcheck:Leak 192 fun:calloc 193 fun:pa_xmalloc0 194 obj:/usr/lib/libpulse.so.* 195 obj:/usr/lib/libpulse.so.* 196 obj:/usr/lib/libpulse.so.* 197 obj:/usr/lib/libpulse.so.* 198 fun:pa_proplist_sets 199 fun:pa_context_new_with_proplist 200 fun:pa_context_new 201 obj:/usr/lib/alsa-lib/libasound_module_pcm_pulse.so 202} 203 204{ 205 <Pulseaudio ALSA plugin initialisation> 206 Memcheck:Leak 207 fun:calloc 208 fun:pa_xmalloc0 209 obj:/usr/lib/libpulse.so.* 210 obj:/usr/lib/libpulse.so.* 211 obj:/usr/lib/libpulse.so.* 212 obj:/usr/lib/libpulse.so.* 213 obj:/usr/lib/libpulse.so.* 214 obj:/usr/lib/libpulse.so.* 215 obj:/usr/lib/libpulse.so.* 216 fun:pa_mainloop_dispatch 217 obj:/usr/lib/alsa-lib/libasound_module_pcm_pulse.so 218} 219 220{ 221 <Pulseaudio ALSA plugin initialisation> 222 Memcheck:Leak 223 fun:calloc 224 obj:/usr/lib/libasound.so.* 225 obj:/usr/lib/libasound.so.* 226 obj:/usr/lib/libasound.so.* 227 obj:/usr/lib/libasound.so.* 228 obj:/usr/lib/libasound.so.* 229 obj:/usr/lib/libasound.so.* 230 fun:snd_config_hook_load 231 obj:/usr/lib/alsa-lib/libasound_module_ctl_pulse.so 232} 233 234{ 235 <Pulseaudio ALSA plugin initialisation> 236 Memcheck:Leak 237 fun:calloc 238 fun:pa_xmalloc0 239 obj:/usr/lib/libpulse.so.* 240 obj:/usr/lib/libpulse.so.* 241 obj:/usr/lib/libpulse.so.* 242 obj:/usr/lib/libpulse.so.* 243 fun:pa_proplist_sets 244 fun:pa_context_new_with_proplist 245 fun:pa_context_new 246 obj:/usr/lib/alsa-lib/libasound_module_ctl_pulse.so 247} 248 249{ 250 <Pulseaudio ALSA plugin initialisation> 251 Memcheck:Leak 252 fun:calloc 253 fun:pa_xmalloc0 254 obj:/usr/lib/libpulse.so.* 255 obj:/usr/lib/libpulse.so.* 256 obj:/usr/lib/libpulse.so.* 257 obj:/usr/lib/libpulse.so.* 258 obj:/usr/lib/libpulse.so.* 259 obj:/usr/lib/libpulse.so.* 260 fun:pa_mainloop_dispatch 261 obj:/usr/lib/alsa-lib/libasound_module_ctl_pulse.so 262} 263 264{ 265 <Pulseaudio ALSA plugin initialisation> 266 Memcheck:Leak 267 fun:calloc 268 fun:pa_xmalloc0 269 obj:/usr/lib/libpulse.so.* 270 obj:/usr/lib/libpulse.so.* 271 obj:/usr/lib/libpulse.so.* 272 obj:/usr/lib/libpulse.so.* 273 obj:/usr/lib/libpulse.so.* 274 obj:/usr/lib/libpulse.so.* 275 obj:/usr/lib/libpulse.so.* 276 fun:pa_mainloop_dispatch 277 obj:/usr/lib/alsa-lib/libasound_module_ctl_pulse.so 278} 279 280{ 281 <Pulseaudio ALSA plugin initialisation> 282 Memcheck:Leak 283 fun:calloc 284 fun:pa_xmalloc0 285 obj:/usr/lib/libpulse.so.* 286 obj:/usr/lib/libpulse.so.* 287 obj:/usr/lib/libpulse.so.* 288 obj:/usr/lib/libpulse.so.* 289 obj:/usr/lib/libpulse.so.* 290 obj:/usr/lib/libpulse.so.* 291 obj:/usr/lib/libpulse.so.* 292 obj:/usr/lib/libpulse.so.* 293 fun:pa_mainloop_dispatch 294 obj:/usr/lib/alsa-lib/libasound_module_ctl_pulse.so 295} 296 297{ 298 <Pulseaudio ALSA plugin initialisation> 299 Memcheck:Leak 300 fun:calloc 301 obj:/usr/lib/libasound.so.* 302 obj:/usr/lib/libasound.so.* 303 obj:/usr/lib/libasound.so.* 304 obj:/usr/lib/libasound.so.* 305 obj:/usr/lib/libasound.so.* 306 obj:/usr/lib/libasound.so.* 307 fun:snd_config_hook_load 308 obj:/usr/lib/alsa-lib/libasound_module_pcm_pulse.so 309} 310 311{ 312 <Pulseaudio ALSA plugin initialisation> 313 Memcheck:Leak 314 fun:calloc 315 fun:pa_xmalloc0 316 obj:/usr/lib/libpulse.so.* 317 obj:/usr/lib/libpulse.so.* 318 obj:/usr/lib/libpulse.so.* 319 obj:/usr/lib/libpulse.so.* 320 obj:/usr/lib/libpulse.so.* 321 obj:/usr/lib/libpulse.so.* 322 fun:pa_mainloop_dispatch 323 obj:/usr/lib/alsa-lib/libasound_module_pcm_pulse.so 324} 325 326{ 327 <Pulseaudio ALSA plugin initialisation> 328 Memcheck:Leak 329 fun:calloc 330 fun:pa_xmalloc0 331 obj:/usr/lib/libpulse.so.* 332 obj:/usr/lib/libpulse.so.* 333 obj:/usr/lib/libpulse.so.* 334 obj:/usr/lib/libpulse.so.* 335 obj:/usr/lib/libpulse.so.* 336 obj:/usr/lib/libpulse.so.* 337 obj:/usr/lib/libpulse.so.* 338 obj:/usr/lib/libpulse.so.* 339 fun:pa_mainloop_dispatch 340 obj:/usr/lib/alsa-lib/libasound_module_pcm_pulse.so 341} 342 343{ 344 <One time ALSA init> 345 Memcheck:Leak 346 fun:malloc 347 obj:/usr/lib/libasound.so.* 348 obj:/usr/lib/libasound.so.* 349 obj:/usr/lib/libasound.so.* 350 fun:gst_alsasrc_open 351} 352 353{ 354 <Fontconfig init> 355 Memcheck:Leak 356 fun:*alloc 357 ... 358 fun:FcConfigParseAndLoad 359} 360 361{ 362 <Fontconfig init> 363 Memcheck:Leak 364 fun:realloc 365 obj:/usr/lib/libfontconfig.so.* 366 obj:/usr/lib/libfontconfig.so.* 367 obj:/usr/lib/libfontconfig.so.* 368 obj:/usr/lib/libfontconfig.so.* 369 fun:FcDefaultSubstitute 370} 371 372{ 373 <Fontconfig init> 374 Memcheck:Leak 375 fun:realloc 376 obj:/usr/lib/libfontconfig.so.* 377 obj:/usr/lib/libfontconfig.so.* 378 fun:FcConfigSubstituteWithPat 379} 380 381{ 382 <Fontconfig init> 383 Memcheck:Leak 384 fun:realloc 385 obj:/usr/lib/libfontconfig.so.* 386 obj:/usr/lib/libfontconfig.so.* 387 obj:/usr/lib/libfontconfig.so.* 388 fun:FcFontRenderPrepare 389} 390# ALSA leaks which are fixed by calling snd_config_update_free_global 391{ 392 <ALSA cached config data> 393 Memcheck:Leak 394 fun:malloc 395 fun:strdup 396 obj:/usr/lib/libasound.so.2.0.0 397 obj:/usr/lib/libasound.so.2.0.0 398 fun:gst_alsa_get_device_list 399 fun:gst_alsa_device_property_probe_get_values 400 fun:gst_property_probe_get_values 401 fun:gst_property_probe_probe_and_get_values 402 fun:gst_property_probe_probe_and_get_values_name 403 fun:test_device_property_probe 404 fun:srunner_run_all 405 fun:gst_check_run_suite 406 fun:main 407} 408{ 409 <ALSA cached config data> 410 Memcheck:Leak 411 fun:malloc 412 obj:/usr/lib/libasound.so.2.0.0 413 obj:/usr/lib/libasound.so.2.0.0 414 fun:gst_alsa_get_device_list 415 fun:gst_alsa_device_property_probe_get_values 416 fun:gst_property_probe_get_values 417 fun:gst_property_probe_probe_and_get_values 418 fun:gst_property_probe_probe_and_get_values_name 419 fun:test_device_property_probe 420 fun:srunner_run_all 421 fun:gst_check_run_suite 422 fun:main 423} 424{ 425 <ALSA cached config data> 426 Memcheck:Leak 427 fun:malloc 428 fun:_dl_close_worker 429 fun:_dl_close 430 fun:_dl_catch_error 431 fun:_dlerror_run 432 fun:dlclose 433 obj:/usr/lib/libasound.so.2.0.0 434 fun:snd_config_searcha_hooks 435 fun:snd_config_searchva_hooks 436 obj:/usr/lib/libasound.so.2.0.0 437 fun:snd_config_search_definition 438 obj:/usr/lib/libasound.so.2.0.0 439 fun:gst_alsa_get_device_list 440 fun:gst_alsa_device_property_probe_get_values 441 fun:gst_property_probe_get_values 442 fun:gst_property_probe_probe_and_get_values 443 fun:gst_property_probe_probe_and_get_values_name 444 fun:test_device_property_probe 445 fun:srunner_run_all 446 fun:gst_check_run_suite 447} 448{ 449 <ALSA cached config data> 450 Memcheck:Leak 451 fun:malloc 452 fun:strdup 453 obj:/usr/lib/libasound.so.2.0.0 454 obj:/usr/lib/libasound.so.2.0.0 455 fun:snd_hctl_open 456 fun:snd_mixer_attach 457 fun:gst_alsa_mixer_open 458 fun:gst_alsa_mixer_new 459 fun:gst_alsa_mixer_element_change_state 460 fun:gst_element_change_state 461 fun:gst_element_set_state_func 462 fun:test_alsa_mixer_track 463 fun:srunner_run_all 464 fun:gst_check_run_suite 465 fun:main 466} 467{ 468 <ALSA cached config data> 469 Memcheck:Leak 470 fun:malloc 471 fun:strdup 472 obj:/usr/lib/libasound.so.2.0.0 473 obj:/usr/lib/libasound.so.2.0.0 474 fun:snd_hctl_open 475 fun:snd_mixer_attach 476 fun:gst_alsa_mixer_open 477 fun:gst_alsa_mixer_new 478 fun:gst_alsa_mixer_element_change_state 479 fun:gst_element_change_state 480 fun:gst_element_set_state_func 481 fun:test_alsa_mixer_track 482 fun:srunner_run_all 483 fun:gst_check_run_suite 484 fun:main 485} 486{ 487 <ALSA cached config data> 488 Memcheck:Leak 489 fun:malloc 490 fun:_dl_close_worker 491 fun:_dl_close 492 fun:_dl_catch_error 493 fun:_dlerror_run 494 fun:dlclose 495 obj:/usr/lib/libasound.so.2.0.0 496 fun:snd_config_searcha_hooks 497 fun:snd_config_searchva_hooks 498 obj:/usr/lib/libasound.so.2.0.0 499 fun:snd_config_search_definition 500 obj:/usr/lib/libasound.so.2.0.0 501 fun:snd_hctl_open 502 fun:snd_mixer_attach 503 fun:gst_alsa_mixer_open 504 fun:gst_alsa_mixer_new 505 fun:gst_alsa_mixer_element_change_state 506 fun:gst_element_change_state 507 fun:gst_element_set_state_func 508 fun:test_alsa_mixer_track 509} 510{ 511 <a one time alloc> 512 Memcheck:Leak 513 match-leak-kinds: definite 514 fun:g_type_create_instance 515 ... 516 fun:g_object_newv 517 fun:g_object_new 518 fun:gst_gl_memory_egl_init_once 519 fun:g_type_create_instance 520} 521{ 522 <a one time alloc> 523 Memcheck:Leak 524 match-leak-kinds: definite 525 fun:g_type_create_instance 526 ... 527 fun:g_object_newv 528 fun:g_object_new 529 fun:gst_gl_memory_pbo_init_once 530 fun:gst_gl_display_init 531 fun:g_type_create_instance 532} 533{ 534 <a one time alloc> 535 Memcheck:Leak 536 match-leak-kinds: definite 537 fun:g_type_create_instance 538 ... 539 fun:g_object_newv 540 fun:g_object_new 541 fun:gst_gl_buffer_init_once 542 fun:gst_gl_display_init 543} 544{ 545 <dodgy one, seems like a xcb bug> 546 Memcheck:Leak 547 match-leak-kinds: definite 548 fun:malloc 549 ... 550 fun:xcb_wait_for_reply 551} 552{ 553 <one off init alloc in ld-2.22.so> 554 Memcheck:Leak 555 match-leak-kinds: possible 556 fun:calloc 557 fun:g_malloc0 558 ... 559 fun:call_init.part.0 560 fun:_dl_init 561} 562{ 563 <a one time alloc> 564 Memcheck:Leak 565 match-leak-kinds: definite 566 fun:malloc 567 fun:XextCreateExtension 568 ... 569 fun:glXChooseFBConfig 570 fun:gst_gl_context_glx_choose_format 571} 572{ 573 <a one time alloc> 574 Memcheck:Leak 575 match-leak-kinds: definite 576 fun:malloc 577 ... 578 fun:call_xinitthreads 579 fun:states_suite 580} 581{ 582 <gst_install_plugins_* can instantiate bash, which leaks> 583 Memcheck:Leak 584 match-leak-kinds: definite 585 fun:malloc 586 fun:xmalloc 587 fun:set_default_locale 588 fun:main 589} 590{ 591 <getaddrinfo can leak when resolving addresses, see https://lists.debian.org/debian-glibc/2016/03/msg00243.html> 592 Memcheck:Leak 593 match-leak-kinds: definite 594 fun:malloc 595 fun:__libc_alloc_buffer_allocate 596 ... 597 fun:__res_vinit 598 ... 599 fun:context_get.part.* 600 ... 601 fun:gaih_inet.constprop.* 602 fun:getaddrinfo 603 ... 604} 605{ 606 <uninitialized values in nvidia driver> 607 Memcheck:Cond 608 obj:*libnvidia-glcore.so.* 609} 610{ 611 <Intentional leak in GL test> 612 Memcheck:Leak 613 fun:calloc 614 obj:*/libGLX_nvidia.so* 615 ... 616 fun:_test_query_start_free_gl 617} 618 619# FIXME: how does this even happen ? reproduce with make elements/textoverlay.valgrind 620{ 621 <We do not care about leaks where pango is the first object in the stacktrace> 622 Memcheck:Leak 623 ... 624 obj:*/libpango*.so* 625} 626 627{ 628 <valgrind gets confused at orc_int64 widening in orc backup code> 629 Memcheck:Cond 630 fun:_backup_audio_orc_int_bias 631 ... 632} 633 634{ 635 <valgrind gets confused with value initialized in unconditional scope> 636 Memcheck:Cond 637 fun:_backup_volume_orc_process_controlled_int16_1ch 638 ... 639} 640