1# Full list is tracked through meta bug 793882
2
3####################################
4#  Leaks in third party libraries  #
5####################################
6
7{
8   Bug 793537
9   Memcheck:Leak
10   ...
11   obj:/usr/lib64/libpango-1.0.so.0.2800.1
12   ...
13}
14{
15   Bug 793598
16   Memcheck:Leak
17   ...
18   obj:/lib64/libdbus-1.so.3.4.0
19   ...
20}
21{
22   Bug 793600
23   Memcheck:Leak
24   fun:realloc
25   obj:/usr/lib64/libfontconfig.so.1.4.4
26   ...
27   fun:FcDefaultSubstitute
28   fun:_ZN17gfxPangoFontGroup11MakeFontSetEP14_PangoLanguagedP9nsAutoRefI10_FcPatternE
29   ...
30}
31# Fontconfig is going fancy with its cache structure and that confuses valgrind.
32# https://bugs.freedesktop.org/show_bug.cgi?id=8215
33# https://bugs.freedesktop.org/show_bug.cgi?id=8428
34{
35   Bug 1187649
36   Memcheck:Leak
37   match-leak-kinds: definite
38   fun:realloc
39   fun:FcPatternObjectInsertElt
40   ...
41}
42# With older versions of fontconfig (e.g. 2.8.0 on taskcluster systems),
43# there's an uninitialized memory usage and leak when loading app fonts.
44{
45   Bug 1231701
46   Memcheck:Param
47   write(buf)
48   ...
49   fun:FcDirCacheWrite
50   fun:FcDirCacheScan
51   fun:FcConfigAddDirList
52   fun:FcConfigAppFontAddDir
53   ...
54}
55{
56   Bug 1231701
57   Memcheck:Leak
58   match-leak-kinds: definite
59   fun:malloc
60   fun:FcDirScanConfig
61   fun:FcDirCacheScan
62   fun:FcConfigAddDirList
63   fun:FcConfigAppFontAddDir
64   ...
65}
66# Leaks due to either Gtk+3 or cairo, but Gecko is not directly involved with
67# those cairo interactions.  One suspected cause is Gecko not closing the
68# display to work around a bug in old Gtk+3 versions.  See also bug 1228724.
69{
70   Bug 1187649
71   Memcheck:Leak
72   match-leak-kinds: definite
73   fun:malloc
74   fun:_cairo_freelist_alloc
75   fun:_cairo_xlib_display_queue_resource
76   fun:_cairo_xlib_surface_finish
77   ...
78}
79# The following leak is deep in Gtk+3, and it doesn't seem we're doing
80# anything wrong on our end with the container objects. This suppression
81# is purposefully verbose so as to avoid catching actual leaks due to
82# Gecko code.
83# Note: valgrind doesn't support more than 24 elements in a suppression stack.
84{
85   Bug 1187649
86   Memcheck:Leak
87   match-leak-kinds: definite
88   fun:malloc
89   fun:g_malloc
90   fun:g_slice_alloc
91   fun:g_list_prepend
92   fun:gtk_combo_box_get_path_for_child
93   fun:gtk_container_get_path_for_child
94   fun:gtk_widget_get_path
95   fun:_gtk_widget_update_path
96   fun:reset_style_recurse
97   fun:gtk_widget_reset_style
98   fun:gtk_widget_set_parent
99   fun:gtk_combo_box_add
100   fun:g_cclosure_marshal_VOID__OBJECTv
101   fun:_g_closure_invoke_va
102   fun:g_signal_emit_valist
103   fun:g_signal_emit
104   fun:gtk_combo_box_constructor
105   fun:g_object_newv
106   fun:g_object_new_valist
107   fun:g_object_new
108   fun:_ZN13nsLookAndFeel4InitEv
109   ...
110}
111# set_color() in gtkstyle.c of GTK version 3.4.4 only can leak GdkRGBA
112# allocations when the theme has transparent colors:
113# https://git.gnome.org/browse/gtk+/tree/gtk/deprecated/gtkstyle.c?h=3.4.4#n676
114{
115   Bug 1250704
116   Memcheck:Leak
117   match-leak-kinds: definite
118   fun:malloc
119   fun:g_malloc
120   fun:g_slice_alloc
121   fun:g_slice_copy
122   fun:boxed_proxy_lcopy_value
123   fun:gtk_style_context_get_valist
124   fun:gtk_style_context_get
125   fun:set_color
126   fun:gtk_style_update_from_context
127   fun:gtk_style_constructed
128   fun:g_object_newv
129   fun:g_object_new_valist
130   fun:g_object_new
131   ...
132}
133{
134   Bug 794366
135   Memcheck:Leak
136   ...
137   obj:/usr/lib64/libgtk-x11-2.0.so.0.1800.9
138   ...
139}
140{
141   Bug 794368
142   Memcheck:Leak
143   ...
144   obj:/usr/lib64/libXrandr.so.2.2.0
145   ...
146}
147{
148   Bug 794373
149   Memcheck:Leak
150   ...
151   obj:/lib64/libgobject-2.0.so.0.2200.5
152   ...
153}
154{
155   Bug 966673
156   Memcheck:Leak
157   fun:malloc
158   obj:/lib64/libresolv-2.12.so
159   ...
160   fun:gaih_inet
161   fun:getaddrinfo
162   fun:PR_GetAddrInfoByName
163   ...
164}
165{
166   Bug 979242
167   Memcheck:Leak
168   fun:calloc
169   fun:xcb_connect_to_fd
170   fun:xcb_connect_to_display_with_auth_info
171   fun:_XConnectXCB
172   fun:XOpenDisplay
173   fun:gdk_display_open
174   ...
175}
176
177###################################
178#  Leaks in short lived precesses #
179###################################
180
181{
182   Bug 984196
183   Memcheck:Leak
184   ...
185   fun:glxtest
186   ...
187}
188
189#########################################
190#  Uninitialised value false positives  #
191#########################################
192
193# This concerns a false positive pertaining to Memcheck's overly-
194# conservative instrumentation of CPUID.  See bug 1288618 comments
195# 119 through 127.
196{
197   Bug 1288618 comments 119 through 127
198   Memcheck:Cond
199   fun:_ZN6SkOptsL4initEv
200   fun:sk_once_no_arg_adaptor
201}
202
203{
204   Bug 1288618 comments 119 through 127 part 2
205   Memcheck:Cond
206   fun:__get_cpuid
207   fun:cpuid
208   fun:_ZN6SkOptsL4initEv
209   fun:sk_once_no_arg_adaptor
210}
211