docs: further reduce delta to upstream makefiles
[platform/upstream/gst-common.git] / gst.supp
index 8f805c7..c10005f 100644 (file)
--- a/gst.supp
+++ b/gst.supp
@@ -66,9 +66,6 @@
    fun:dl_main
    fun:_dl_sysdep_start
    fun:_dl_start
-   obj:/lib64/ld-2.*.so
-   obj:*
-   obj:*
 }
 
 {
 }
 
 {
-   <g_type_init malloc>
+   <g_type_init leaks>
    Memcheck:Leak
-   fun:malloc
-   fun:g_malloc
-   fun:g_strdup
-   fun:g_quark_from_string
-   obj:*
-   obj:*
-   fun:g_type_register_fundamental
-   obj:*
-   fun:g_type_init_with_debug_flags
-   fun:g_type_init
+   fun:*alloc
+   ...
+   fun:g_type_init*
    fun:init_pre
 }
 
 {
-   <g_type_init calloc>
+   <g_type_register_fundamental leaks>
    Memcheck:Leak
    fun:*alloc
    ...
 }
 
 {
-   <g_type_init calloc 2>
-   Memcheck:Leak
-   fun:calloc
-   fun:g_malloc0
-   obj:*
-   obj:*
-   fun:g_type_init_with_debug_flags
-}
-
-{
-   <g_type_init calloc 3, GSlice version>
-   Memcheck:Leak
-   fun:calloc
-   fun:g_malloc0
-   fun:g_slice_alloc
-   obj:*
-   obj:*
-   fun:g_type_init_with_debug_flags
-}
-
-{
-   <g_type_init calloc 4>
-   Memcheck:Leak
-   fun:calloc
-   fun:g_malloc0
-   fun:*
-   fun:g_type_init_with_debug_flags
-}
-
-{
-   <g_type_init calloc 5>
-   Memcheck:Leak
-   fun:calloc
-   fun:g_malloc0
-   fun:type_node_any_new*
-   fun:g_type_register_fundamental
-}
-
-{
    <glib 2.21 static type data>
    Memcheck:Leak
    fun:malloc
    Memcheck:Leak
    fun:calloc
    fun:g_malloc0
-   fun:type_data_make_W
-   fun:g_type_register_fundamental
-}
-
-{
-   <glib 2.21 static type data>
-   Memcheck:Leak
-   fun:calloc
-   fun:g_malloc0
    fun:g_type_class_ref
 }
 
 {
    <alsa error>
    Memcheck:Cond
-   fun:_snd_pcm_hw_param_set_min
-   fun:snd*_pcm_hw_param_set_min
+   ...
    fun:snd*_pcm_hw_param_set_near
 }
 
    Memcheck:Cond
    obj:/*lib/libasound.so.2.0.0
    obj:/*lib/libasound.so.2.0.0
-   fun:snd_pcm_hw_param_set_near
-   fun:set_hwparams
-}
-{
-   <alsa error>
-   Memcheck:Cond
-   obj:/*lib/libasound.so.2.0.0
-   obj:/*lib/libasound.so.2.0.0
    fun:snd_pcm_close
    obj:/*lib/libasound.so.2.0.0
 }
    <alsa error>
    Memcheck:Leak
    fun:malloc
-   fun:snd_dlobj_cache_add
-   obj:/*lib/libasound.so.2.0.0
+   ...
+   fun:snd*_dlobj_cache_add
+   obj:/*lib*/libasound.so.2.0.0
 }
+
+{
+   <alsa leak in loading configuration>
+   Memcheck:Leak
+   fun:*alloc
+   ...
+   fun:snd_pcm_open_conf
+}
+
 {
    <alsa leak snd_config_hook_load>
    Memcheck:Leak
    ...
    fun:snd_config_hook_load
 }
+
 {
    <alsa leak snd_config_update_r>
    Memcheck:Leak
    fun:FcConfigParseAndLoad
 }
 {
-   <First time load of a font - feisty x86_64>
+   <First time load of a font - generic>
    Memcheck:Leak
-   fun:malloc
-   fun:FcStrCopy
-   fun:FcEndElement
-   obj:/usr/lib/libexpat.so.*
-   obj:/usr/lib/libexpat.so.*
-   obj:/usr/lib/libexpat.so.*
-   obj:/usr/lib/libexpat.so.*
-   fun:XML_ParseBuffer
-   fun:FcConfigParseAndLoad
-   fun:FcConfigParseAndLoad
-   fun:FcParseInclude
-   fun:FcEndElement
-   obj:/usr/lib/libexpat.so.*
-   obj:/usr/lib/libexpat.so.*
-   obj:/usr/lib/libexpat.so.*
-   obj:/usr/lib/libexpat.so.*
-   fun:XML_ParseBuffer
-   fun:FcConfigParseAndLoad
+   fun:*alloc
+   ...
    fun:FcInitLoadConfig
-   fun:FcInitLoadConfigAndFonts
 }
 
 # Issues with ubuntu Hardy, same crack as for previous ubuntus
 ## Leaks in pango (bilboed: gentoo unstable amd64)
 
 {
-   <insert a suppression name here>
+   <Pango leak - generic>
    Memcheck:Leak
-   fun:realloc
-   fun:FcPatternObjectInsertElt
-   fun:*
-   fun:*
-   fun:*
-   fun:*
-   fun:*
-   fun:*
-   fun:pango_layout_get_extents*
+   fun:*alloc
+   ...
    fun:pango_layout_get_pixel_extents
-   fun:gst_text_overlay_render_text
 }
 {
    <insert a suppression name here>
    fun:pango_language_from_string
 }
 
-# some more pango leaks (Debian/unstable x86)
-{
-   <insert a suppression name here>
-   Memcheck:Leak
-   fun:malloc
-   fun:FcPatternObjectInsertElt
-   fun:FcPatternObjectAddWithBinding
-   fun:FcPatternAppend
-   fun:FcEndElement
-   obj:/usr/lib/libexpat.so.*
-   obj:/usr/lib/libexpat.so.*
-   obj:/usr/lib/libexpat.so.*
-   obj:/usr/lib/libexpat.so.*
-   fun:XML_ParseBuffer
-   fun:FcConfigParseAndLoad
-   fun:FcConfigParseAndLoad
-   fun:FcEndElement
-   obj:/usr/lib/libexpat.so.*
-   obj:/usr/lib/libexpat.so.*
-   obj:/usr/lib/libexpat.so.*
-   obj:/usr/lib/libexpat.so.*
-   fun:XML_ParseBuffer
-   fun:FcConfigParseAndLoad
-   fun:FcInitLoadConfig
-}
-{
-   <insert a suppression name here>
-   Memcheck:Leak
-   fun:malloc
-   fun:FcPatternObjectAddWithBinding
-   fun:FcPatternObjectAdd
-   fun:FcFontRenderPrepare
-   fun:pango_fc_font_map_load_fontset
-   fun:pango_font_map_load_fontset
-   fun:itemize_state_process_run
-   fun:pango_itemize_with_base_dir
-   fun:pango_layout_check_lines
-   fun:pango_layout_get_extents_internal
-   fun:pango_layout_get_pixel_extents
-}
-{
-   <insert a suppression name here>
-   Memcheck:Leak
-   fun:realloc
-   fun:FcPatternObjectInsertElt
-   fun:FcPatternObjectAddWithBinding
-   fun:FcPatternObjectAdd
-   fun:FcFontRenderPrepare
-   fun:pango_fc_font_map_load_fontset
-   fun:pango_font_map_load_fontset
-   fun:itemize_state_process_run
-   fun:pango_itemize_with_base_dir
-   fun:pango_layout_check_lines
-   fun:pango_layout_get_extents_internal
-   fun:pango_layout_get_pixel_extents
-}
 
 ## Leak of property_list in gstffmpegcfg.c
 ## This list is created in gst_ffmpegcsp_init(), called from
    obj:*/sed
 }
 
+{
+   <weird one when re-reading registry>
+   Memcheck:Addr8
+   ...
+   obj:*/sed
+}
+
 # GLib 2.23 interface vtable
 {
    <insert_a_suppression_name_here>
    fun:g_type_add_interface_static
 }
 
+{
+   <leak in dash on debian sid>
+   Memcheck:Leak
+   fun:*alloc
+   obj:*/dash
+}
+
+# libtool/gentoo fake leak
+# it actually runs bash and valgrind complains
+{
+   <insert_a_suppression_name_here>
+   Memcheck:Leak
+   fun:*alloc
+   obj:/bin/bash
+}
+
+{
+   <ignore possbly-lost leaks in the plugin scanner which doesn't clean up properly>
+   Memcheck:Leak
+   fun:*alloc
+   ...
+   fun:_gst_plugin_loader_client_run
+   fun:main
+}
+
+{
+   <warning with libc 2.13-2 as in Debian/unstable on amd64>
+   Memcheck:Cond
+   fun:*strcasecmp*
+   ...
+   fun:__dcigettext
+}
+
+{
+   <warning with libc 2.13-2 as in Debian/unstable on amd64>
+   Memcheck:Value8
+   fun:*strcasecmp*
+   ...
+   fun:__dcigettext
+}
+
+{
+   <GstSystemClock is a singleton and does not leak>
+   Memcheck:Leak
+   fun:malloc
+   ...
+   fun:gst_poll_new
+   fun:gst_poll_new_timer
+   fun:gst_system_clock_init
+}
+