1 ### this file contains suppressions for valgrind when running
2 ### the gstreamer unit tests
3 ### it might be useful for wider use as well
5 ### syscall suppressions
8 <clone on Wim's Debian>
16 <clone on Wim's Debian>
24 <clone on Wim's Debian>
31 # a thread-related free problem in glibc from Edgard
33 __libc_freeres_rw_acess
44 <futex on Andy's 64-bit ubuntu>
48 obj:/lib/libc-2.3.*.so
49 obj:/lib/libc-2.3.*.so
54 obj:/lib/libc-2.3.*.so
57 fun:setup_messaging_with_key
61 # suppression for a glibc bug:
62 # http://valgrind.org/docs/manual/faq.html#faq.exit_errors>
64 <Workaround for a glibc bug>
73 # same as above, just so it works for tpm on gutsy/x86-64
75 <workaround glibc bug on gutsy x86-64>
84 <g_parse_debug_string>
86 fun:g_parse_debug_string
87 obj:/usr/lib*/libglib-2.0.so.*
102 <g_type_register_fundamental leaks>
106 fun:g_type_register_fundamental
110 <glib 2.21 static type data>
115 fun:type_node_any_new_W
119 <glib 2.21 static type data>
123 fun:type_node_any_new_W
127 <glib 2.21 static type data>
135 <glib 2.21 static type data>
144 <glib 2.21 static type data>
154 pthread_create Syscall param write(buf) points to uninitialised byte(s)
157 fun:pthread_create@@GLIBC_2.2.5
162 # nss_parse_* memleak (used by g_option_context_parse)
167 fun:nss_parse_service_list
168 fun:__nss_database_lookup
171 # liboil suppressions
173 <liboil cpu_fault_check_try>
175 obj:/usr/lib/liboil-0.3.so.0.1.0
176 obj:/usr/lib/liboil-0.3.so.0.1.0
177 obj:/usr/lib/liboil-0.3.so.0.1.0
178 fun:oil_cpu_fault_check_try
179 fun:oil_test_check_impl
180 fun:oil_class_optimize
186 <Ubuntu Dapper x86_64>
190 obj:/lib/libc-2.3.6.so
191 obj:/lib/libc-2.3.6.so
194 fun:g_option_context_parse
205 obj:/usr/lib/libcdio.so.6.0.1
206 fun:cdio_open_am_linux
207 obj:/usr/lib/libcdio.so.6.0.1
212 <First of many Alsa errors>
214 fun:snd_pcm_direct_shm_create_or_connect
215 fun:snd_pcm_dsnoop_open
216 fun:_snd_pcm_dsnoop_open
217 obj:/*lib/libasound.so.2.0.0
218 obj:/*lib/libasound.so.2.0.0
219 fun:snd_pcm_open_slave
220 fun:_snd_pcm_plug_open
221 obj:/*lib/libasound.so.2.0.0
222 fun:snd_pcm_open_slave
223 fun:_snd_pcm_asym_open
224 obj:/*lib/libasound.so.2.0.0
225 obj:/*lib/libasound.so.2.0.0
231 fun:snd*_pcm_hw_param_set_near
238 fun:snd*_pcm_hw_param_set_near
244 obj:/*lib/libasound.so.2.0.0
245 obj:/*lib/libasound.so.2.0.0
247 obj:/*lib/libasound.so.2.0.0
252 fun:snd_pcm_direct_shm_create_or_connect
253 fun:snd_pcm_dmix_open
254 fun:_snd_pcm_dmix_open
255 obj:/*lib/libasound.so.2.0.0
256 obj:/*lib/libasound.so.2.0.0
257 fun:snd_pcm_open_slave
258 fun:_snd_pcm_softvol_open
259 obj:/*lib/libasound.so.2.0.0
260 fun:snd_pcm_open_slave
261 fun:_snd_pcm_plug_open
262 obj:/*lib/libasound.so.2.0.0
263 fun:snd_pcm_open_slave
264 fun:_snd_pcm_asym_open
265 obj:/*lib/libasound.so.2.0.0
266 obj:/*lib/libasound.so.2.0.0
273 fun:snd_dlobj_cache_add
274 obj:/*lib/libasound.so.2.0.0
275 fun:snd_pcm_open_slave
276 fun:snd_pcm_dsnoop_open
277 fun:_snd_pcm_dsnoop_open
278 obj:/*lib/libasound.so.2.0.0
279 obj:/*lib/libasound.so.2.0.0
280 fun:snd_pcm_open_slave
281 fun:_snd_pcm_plug_open
282 obj:/*lib/libasound.so.2.0.0
283 fun:snd_pcm_open_slave
284 fun:_snd_pcm_asym_open
285 obj:/*lib/libasound.so.2.0.0
286 obj:/*lib/libasound.so.2.0.0
288 # Catch about 15 variations on inserting info into an ALSA
295 fun:snd*_dlobj_cache_add
296 obj:/*lib*/libasound.so.2.0.0
300 <alsa leak in loading configuration>
304 fun:snd_pcm_open_conf
308 <alsa leak snd_config_hook_load>
311 obj:/*lib*/libasound.so.2.0.0
313 fun:snd_config_hook_load
317 <alsa leak snd_config_update_r>
320 obj:/*lib*/libasound.so.2.0.0
322 fun:snd_config_update_r
323 fun:snd_config_update
326 <alsa leak snd_config_update_r>
331 fun:snd_config_update_r
332 fun:snd_config_update
336 <nss lookup within ALSA>
340 fun:__nss_database_lookup
345 fun:snd_pcm_direct_parse_open_conf
349 <libxcb leak on Ubuntu Feisty>
352 fun:_XCBInitDisplayLock
356 # GConf internal initialisations related to getting the default client.
358 <Orbit something or other>
362 fun:ORBit_alloc_tcval
363 obj:/usr/lib/libORBit-2.so.*
364 fun:ORBit_demarshal_IOR
365 fun:ORBit_demarshal_object
366 fun:CORBA_ORB_string_to_object
367 obj:/usr/lib/libgconf-2.so.*
368 fun:gconf_get_current_lock_holder
369 fun:gconf_activate_server
370 obj:/usr/lib/libgconf-2.so.*
371 obj:/usr/lib/libgconf-2.so.*
372 fun:gconf_engine_get_default
375 <gconf internal leak>
379 fun:ORBit_alloc_tcval
381 fun:PortableServer_POA_servant_to_reference
385 fun:gconf_engine_get_default
388 <gconf internal leak>
392 fun:ORBit_alloc_tcval
393 obj:/usr/lib/libORBit-2.so.*
394 fun:ORBit_demarshal_IOR
395 fun:ORBit_demarshal_object
396 fun:CORBA_ORB_string_to_object
397 obj:/usr/lib/libgconf-2.so.*
398 fun:gconf_get_current_lock_holder
399 fun:gconf_activate_server
400 obj:/usr/lib/libgconf-2.so.*
401 obj:/usr/lib/libgconf-2.so.*
402 fun:gconf_engine_get_default
405 <gconf internal initialisation>
411 fun:ORBit_demarshal_IOR
412 fun:ORBit_demarshal_object
413 fun:ORBit_demarshal_value
415 fun:ORBit_small_invoke_stub
416 fun:ConfigServer_get_default_database
418 fun:gconf_engine_get_default
421 <gconf internal init>
427 fun:IOP_generate_profiles
428 fun:ORBit_marshal_object
429 fun:ORBit_marshal_value
431 fun:ORBit_small_invoke_stub
432 fun:ConfigServer_add_client
435 fun:gconf_engine_get_default
438 <gconf internal init>
442 fun:ORBit_alloc_by_tc
444 fun:PortableServer_POA_servant_to_reference
448 fun:gconf_engine_get_default
451 <gconf internal init>
455 fun:ORBit_alloc_by_tc
456 obj:/usr/lib/libORBit-2.so.*
457 fun:ORBit_demarshal_IOR
458 fun:ORBit_demarshal_object
459 fun:CORBA_ORB_string_to_object
460 obj:/usr/lib/libgconf-2.so.*
461 fun:gconf_get_current_lock_holder
462 fun:gconf_activate_server
463 obj:/usr/lib/libgconf-2.so.*
464 obj:/usr/lib/libgconf-2.so.*
465 fun:gconf_engine_get_default
469 <insert a suppression name here>
475 fun:ORBit_demarshal_IOR
476 fun:ORBit_demarshal_object
479 fun:gconf_activate_server
482 # Some libORBit/bonobo initialisation stuff
488 fun:ORBit_alloc_string
490 fun:Bonobo_ActivationEnvValue_set
491 fun:bonobo_activation_init_activation_env
492 fun:bonobo_activation_orb_init
493 fun:bonobo_activation_init
501 fun:ORBit_small_alloc*
502 obj:/usr/lib/libORBit-2.so*
503 fun:PortableServer_POA_servant_to_reference
504 obj:/usr/lib/libbonobo-2.so*
511 fun:ORBit_alloc_tcval
512 fun:ORBit_small_allocbuf
513 fun:ORBit_adaptor_setup
514 obj:/usr/lib/libORBit-2.so*
515 fun:ORBit_POA_setup_root
516 fun:ORBit_init_internals
520 <bonobo init - more recent variant of above>
524 fun:ORBit_alloc_tcval
525 fun:ORBit_adaptor_setup
527 fun:ORBit_POA_setup_root
528 fun:ORBit_init_internals
537 fun:ORBit_small_allocbuf
538 fun:bonobo_activation_init_activation_env
539 fun:bonobo_activation_orb_init
540 fun:bonobo_activation_init
543 # More GConf stuff from the FC5 buildbot, mostly variations on the
546 <incompletely initialised ORBit buffer>
550 obj:/usr/lib/libORBit-2.so*
551 fun:link_connection_writev
552 fun:giop_send_buffer_write
553 obj:/usr/lib/libORBit-2.so*
554 fun:ORBit_small_invoke_stub
555 fun:ORBit_small_invoke_stub_n
556 fun:ORBit_c_stub_invoke
557 fun:ConfigServer_ping
558 fun:gconf_activate_server
559 obj:/usr/lib/libgconf-2.so*
560 obj:/usr/lib/libgconf-2.so*
561 fun:gconf_engine_get_default
569 fun:ORBit_small_alloc*
570 obj:/usr/lib/libORBit-2.so*
571 fun:PortableServer_POA_servant_to_reference
572 obj:/usr/lib/libgconf-2.so*
573 obj:/usr/lib/libgconf-2.so*
574 obj:/usr/lib/libgconf-2.so*
575 fun:gconf_engine_get_default
583 fun:ORBit_small_alloc
584 obj:/usr/lib/libORBit-2.so*
585 fun:ORBit_demarshal_IOR
586 fun:ORBit_demarshal_object
587 fun:CORBA_ORB_string_to_object
588 obj:/usr/lib/libgconf-2.so*
589 fun:gconf_get_current_lock_holder
590 fun:gconf_activate_server
591 obj:/usr/lib/libgconf-2.so*
592 obj:/usr/lib/libgconf-2.so*
593 fun:gconf_engine_get_default
601 fun:ORBit_small_alloc*
602 obj:/usr/lib/libORBit-2.so*
603 fun:ORBit_demarshal_IOR
604 fun:ORBit_demarshal_object
605 fun:CORBA_ORB_string_to_object
606 obj:/usr/lib/libgconf-2.so*
607 fun:gconf_get_current_lock_holder
608 fun:gconf_activate_server
609 obj:/usr/lib/libgconf-2.so*
610 obj:/usr/lib/libgconf-2.so*
611 fun:gconf_engine_get_default
619 fun:ORBit_small_alloc*
620 obj:/usr/lib/libORBit-2.so*
621 fun:ORBit_demarshal_IOR
622 fun:ORBit_demarshal_object
623 fun:ORBit_demarshal_value
624 obj:/usr/lib/libORBit-2.so*
625 fun:ORBit_small_invoke_stub
626 fun:ORBit_small_invoke_stub_n
627 fun:ORBit_c_stub_invoke
628 fun:ConfigServer_get_default_database
629 obj:/usr/lib/libgconf-2.so*
630 fun:gconf_engine_get_default
638 fun:ORBit_small_alloc*
639 obj:/usr/lib/libORBit-2.so*
640 fun:ORBit_OAObject_object_to_objkey
641 fun:IOP_generate_profiles
642 fun:ORBit_marshal_object
643 fun:ORBit_marshal_value
644 obj:/usr/lib/libORBit-2.so*
645 fun:ORBit_small_invoke_stub
646 fun:ORBit_small_invoke_stub_n
647 fun:ORBit_c_stub_invoke
648 fun:ConfigServer_add_client
649 obj:/usr/lib/libgconf-2.so*
650 obj:/usr/lib/libgconf-2.so*
651 fun:gconf_engine_get_default
654 <GLib caching the home dir>
658 fun:__nss_database_lookup
662 obj:/usr/lib*/libglib-2.0.so.*
666 <GLib caching the user name>
670 fun:__nss_database_lookup
674 obj:/usr/lib*/libglib-2.0.so.*
678 <GLib caching the tmp dir>
682 fun:__nss_database_lookup
686 obj:/usr/lib*/libglib-2.0.so.*
691 <GLib caching the host name>
695 fun:__nss_database_lookup
699 obj:/usr/lib*/libglib-2.0.so.0.*
704 ## Some Fontconfig errors.
706 <First time load of a font - feisty x86_64>
709 fun:FcPatternObjectInsertElt
710 fun:FcPatternObjectAddWithBinding
713 obj:/usr/lib/libexpat.so.*
714 obj:/usr/lib/libexpat.so.*
715 obj:/usr/lib/libexpat.so.*
716 obj:/usr/lib/libexpat.so.*
718 fun:FcConfigParseAndLoad
719 fun:FcConfigParseAndLoad
722 obj:/usr/lib/libexpat.so.*
723 obj:/usr/lib/libexpat.so.*
724 obj:/usr/lib/libexpat.so.*
725 obj:/usr/lib/libexpat.so.*
727 fun:FcConfigParseAndLoad
730 <First time load of a font - generic>
737 ## Leaks in ALSA (variations of leak from snd_config_load1)
744 fun:_snd_config_make_add
757 fun:_snd_config_make_add
767 fun:_snd_config_make_add
778 fun:_snd_config_make_add
792 fun:_snd_config_make_add
807 fun:_snd_config_make_add
822 fun:_snd_config_make_add
838 fun:snd1_dlobj_cache_add
839 fun:snd_ctl_open_noupdate
847 fun:snd1_dlobj_cache_add
848 fun:snd_ctl_open_noupdate
960 # The following are leaks of caps that need to be created dynamically
961 # in the type registration of the plugin (used for pad templates).
969 fun:gst_caps_new_empty
970 fun:gst_caps_new_simple
973 fun:gst_element_register
982 fun:gst_caps_new_empty
986 fun:gst_element_register
987 fun:gst_ogm_parse_plugin_init
992 <Leak in videotestsrc>
997 fun:gst_caps_new_empty
999 fun:gst_video_test_src_base_init
1000 fun:g_type_class_ref
1001 fun:gst_element_register
1005 <Leak in videotestsrc>
1010 fun:gst_caps_new_empty
1012 fun:gst_video_test_src_getcaps
1013 fun:gst_video_test_src_base_init
1014 fun:g_type_class_ref
1015 fun:gst_element_register
1019 <Leak in ffmpegcolorspace>
1024 fun:gst_caps_new_empty
1025 fun:gst_ffmpegcsp_codectype_to_caps
1026 fun:gst_ffmpegcolorspace_register
1031 <Leak in ffmpegocolorspace>
1036 fun:gst_caps_new_empty
1038 fun:gst_ffmpegcolorspace_register
1043 <Leak in gstffmpegdemux>
1048 fun:gst_caps_new_empty
1049 fun:gst_caps_new_any
1050 fun:gst_ffmpegdemux_register
1055 <Leak in GstAudioFilter subclasses>
1060 fun:gst_caps_new_empty
1062 fun:gst_audio_filter_class_add_pad_templates
1066 <Leak in GstAudioFilter subclasses, variant>
1070 fun:g_ptr_array_maybe_expand
1073 fun:gst_audio_filter_class_add_pad_templates
1077 <Leak in GstAudioFilter subclasses, variant>
1082 fun:g_ptr_array_maybe_expand
1085 fun:gst_audio_filter_class_add_pad_templates
1089 <Leak in GstAudioFilter subclasses, variant>
1094 fun:g_ptr_array_maybe_expand
1097 fun:gst_audio_filter_class_add_pad_templates
1101 <Leak in GstAudioFilter subclasses, variant2>
1106 fun:g_ptr_array_sized_new
1107 fun:gst_caps_new_empty
1109 fun:gst_audio_filter_class_add_pad_templates
1112 <Leak in GstAudioFilter subclasses, variant3>
1117 fun:g_array_maybe_expand
1118 fun:g_array_sized_new
1122 fun:gst_value_init_and_copy
1123 fun:gst_structure_copy
1125 fun:gst_audio_filter_class_add_pad_templates
1128 <Leak in GstAudioFilter subclasses, variant4>
1133 fun:g_array_maybe_expand
1134 fun:g_array_sized_new
1136 fun:gst_structure_copy
1138 fun:gst_audio_filter_class_add_pad_templates
1141 <Leak in GstAudioFilter subclasses, variant5>
1146 fun:g_array_sized_new
1148 fun:gst_structure_copy
1150 fun:gst_audio_filter_class_add_pad_templates
1154 <Leak in riff-media>
1159 fun:gst_caps_new_empty
1160 fun:gst_riff_create_*_template_caps
1163 <Leak in riff-media>
1171 fun:gst_structure_copy
1174 fun:gst_riff_create_*_template_caps
1177 <Leak in riff-media>
1182 fun:g_array_sized_new
1184 fun:gst_structure_copy
1187 fun:gst_riff_create_*_template_caps
1190 ## Leaks in pango (bilboed: gentoo unstable amd64)
1193 <Pango leak - generic>
1197 fun:pango_layout_get_pixel_extents
1200 <insert a suppression name here>
1204 fun:pango_language_from_string
1205 fun:pango_language_get_default
1206 fun:pango_context_init
1207 fun:g_type_create_instance
1208 fun:g_object_constructor
1210 fun:g_object_new_valist
1212 fun:pango_font_map_create_context
1216 <PangoLanguage can never be freed>
1220 fun:pango_language_from_string
1224 ## Leak of everything allocated by gst-libav plugin init
1226 <insert_a_suppression_name_here>
1230 fun:gst_ffmpeg_cfg_init
1233 ## Leak of GIO module through gnomevfs
1242 fun:g_type_create_instance
1248 fun:g_io_modules_load_all_in_directory
1253 ## Conditional jump in getaddrinfo (bilboed, gentoo ~amd64, Dec 13 2008)
1255 <Leak of addrinfo in esd>
1261 ## Dynamic pad templates in mxfmux
1263 <Dynamic pad templates in mxfmux>
1268 fun:gst_caps_new_empty
1269 fun:gst_caps_from_string
1274 ## We don't know if ffmpeg frees this or not and better pass a copy for safety
1276 <insert a suppression name here>
1281 fun:gst_ffmpeg_cfg_fill_context
1282 fun:gst_ffmpegenc_setcaps
1283 fun:gst_pad_set_caps
1287 <glibc-2.10 overreads/conditionals>
1289 obj:/lib*/libc-2.10.*.so
1290 obj:/lib*/libc-2.10.*.so
1294 <glibc-2.10 overreads/conditionals>
1296 obj:/lib*/libc-2.10.*.so
1297 obj:/lib*/libc-2.10.*.so
1301 <glibc-2.10 mysterious invalid free on exit>
1304 obj:/lib*/libc-2.10.*.so
1305 obj:/lib*/libc-2.10.*.so
1309 # glibc-2.10 dl overreads
1312 <glibc-2.10 overreads/conditionals>
1321 <glibc-2.10 overreads/conditionals>
1327 # GModule issues with glibc-2.10
1329 <glibc-2.10 GLIB leaks>
1335 <glibc-2.10 GLIB leaks>
1344 <insert a suppression name here>
1346 fun:g_parse_debug_string
1347 fun:slice_config_init
1348 fun:g_slice_init_nomessage
1349 fun:_g_slice_thread_init_nomessage
1350 fun:g_thread_init_glib
1353 # 2.10 pthread issues
1355 <insert a suppression name here>
1357 fun:__pthread_initialize_minimal
1362 <insert_a_suppression_name_here>
1366 fun:g_type_register_static
1369 # new registry system
1370 # all of this will only be created once when loading registry.
1373 <insert_a_suppression_name_here>
1377 fun:_priv_gst_registry_chunks_load_plugin
1381 # these tags are registered once
1384 <insert_a_suppression_name_here>
1389 fun:gst_tag_register
1390 fun:_gst_tag_initialize
1394 # these tags are registered once
1397 <insert_a_suppression_name_here>
1401 fun:gst_tag_register_static
1404 # system-wide type classes that we keep referenced
1407 <g_type_class_ref leaks>
1411 fun:g_type_class_ref
1414 # leaking cached queries which are only initialized once
1416 <insert_a_suppression_name_here>
1420 fun:_gst_query_initialize
1424 # macosx (leopard) library loader leak
1426 <insert_a_suppression_name_here>
1429 fun:_ZNSs4_Rep9_S_createEmmRKSaIcE
1430 fun:_ZNSs12_S_constructIPKcEEPcT_S3_RKSaIcESt20forward_iterator_tag
1431 fun:_ZNSsC2EPKcRKSaIcE
1432 fun:_Z41__static_initialization_and_destruction_0ii
1433 fun:_ZN16ImageLoaderMachO18doModInitFunctionsERKN11ImageLoader11LinkContextE
1436 # GObject type registration
1438 <insert_a_suppression_name_here>
1442 fun:_g_atomic_array_copy
1446 <getdelim one-time inits called from libselinux>
1454 <weird one when re-reading registry>
1462 <weird one when re-reading registry>
1468 # GLib 2.23 interface vtable
1470 <insert_a_suppression_name_here>
1474 fun:g_type_add_interface_static
1478 <leak in dash on debian sid>
1484 # libtool/gentoo fake leak
1485 # it actually runs bash and valgrind complains
1487 <insert_a_suppression_name_here>
1494 <ignore possbly-lost leaks in the plugin scanner which doesn't clean up properly>
1498 fun:_gst_plugin_loader_client_run
1503 <warning with libc 2.13-2 as in Debian/unstable on amd64>
1511 <warning with libc 2.13-2 as in Debian/unstable on amd64>
1519 <GstSystemClock is a singleton and does not leak>
1524 fun:gst_poll_new_timer
1525 fun:gst_system_clock_init
1529 <glib types are singletons>
1533 fun:gobject_init_ctor
1537 <quark table is leaked on purpose if it grows too big>
1541 fun:g_quark_from*_string
1545 <timer_create suppressions for earlier valgrind versions that complain>
1548 fun:timer_create@@GLIBC_2.3.3
1552 closures aren't valgrind friendly (bgo#739850)
1560 closures aren't valgrind friendly (bgo#739850)
1564 fun:g_closure_add_invalidate_notifier
1568 closures aren't valgrind friendly (bgo#739850)
1572 fun:g_closure_new_simple
1576 glib/giomodules2 (from libsoup.supp)
1579 fun:_g_io_module_get_default
1583 <valgrind bug when trying to parse "infinity" from "interleaved">
1585 fun:__GI___strncasecmp_l
1586 fun:____strtod_l_internal
1587 fun:gst_value_deserialize_double
1591 <glibc overreads/conditionals>
1597 <quark tables are leaked on purpose when they are expanded, observed with glib 2.46 and gst-rtsp-server tests>
1605 Leak of debug function list
1610 fun:gst_debug_add_log_function
1613 <We do not care about anything ld related, and don't use library constructors>
1620 <We do not care about anything ld related, and don't use library constructors>
1627 <We do not care about anything ld related, and don't use library constructors>
1634 <We do not care about anything ld related, and don't use library constructors>
1641 <We do not care about anything ld related, and don't use library constructors>
1648 <We do not care about anything ld related, and don't use library constructors>