docs: further reduce delta to upstream makefiles
[platform/upstream/gst-common.git] / gst.supp
index 0d142f9..c10005f 100644 (file)
--- a/gst.supp
+++ b/gst.supp
    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>
    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
+}
+