]> Pileus Git - grits/blob - src/gtk.suppression
Add support for GTK 3
[grits] / src / gtk.suppression
1 # Andy Spencer <andy753421@gmail.com>
2 #
3 # Valgrind suppression file for Gtk+ 2.16
4
5 # ?????
6 {
7         lib_ld_conds
8         Memcheck:Cond
9         obj:/lib/ld-2.11.2.so
10         obj:/lib/ld-2.11.2.so
11         obj:/lib/ld-2.11.2.so
12         obj:/lib/ld-2.11.2.so
13         obj:/lib/ld-2.11.2.so
14 }
15 {
16         libGL_leaks
17         Memcheck:Leak
18         obj:/usr/lib/opengl/nvidia/lib/libGL.so.*
19 }
20
21 # GLib
22 {
23         g_type_register_static
24         Memcheck:Leak
25         ...
26         fun:g_type_register_static
27 }
28 {
29         g_type_add_interface_static
30         Memcheck:Leak
31         ...
32         fun:g_type_add_interface_static 
33 }
34 {
35         g_param_spec
36         Memcheck:Leak
37         ...
38         fun:g_param_spec_*
39         ...
40         fun:g_object_new
41 }
42 {
43         g_module_open__addr
44         Memcheck:Addr4
45         ...
46         fun:dlopen
47         fun:g_module_open
48 }
49 {
50         g_module_open__leak
51         Memcheck:Leak
52         ...
53         fun:dlopen
54         fun:g_module_open
55 }
56 {
57         g_module_open__sym
58         Memcheck:Addr4
59         ...
60         fun:dlsym
61         fun:g_module_symbol
62         fun:g_module_open
63 }
64 {
65         g_class_ref__leak
66         Memcheck:Leak
67         fun:malloc
68         fun:g_malloc
69         fun:g_memdup
70         fun:type_iface_vtable_base_init_Wm
71         fun:g_type_class_ref
72 }
73
74 # GTK+
75 {
76         gtk_init
77         Memcheck:Leak
78         ...
79         fun:gtk_init
80 }
81 {
82         gtk_init
83         Memcheck:Addr4
84         ...
85         fun:gtk_init
86 }
87 {
88         gtk_style_new
89         Memcheck:Leak
90         ...
91         fun:gtk_style_new
92 }
93 {
94         gtk_rc_get_style
95         Memcheck:Leak
96         ...
97         fun:gtk_rc_get_style
98 }
99 {
100         gtk_icon_theme_has_icon
101         Memcheck:Leak
102         ...
103         fun:gtk_icon_theme_has_icon
104 }
105 {
106         gtk_icon_source_copy
107         Memcheck:Leak
108         ...
109         fun:gtk_icon_source_copy
110 }
111 {
112         gtk_icon_theme_get
113         Memcheck:Leak
114         ...
115         fun:gtk_icon_theme_get*
116 }
117 {
118         gtk_icon_factory_lookup
119         Memcheck:Leak
120         ...
121         fun:gtk_icon_factory_lookup*
122 }
123 {
124         gxk__for_display
125         Memcheck:Leak
126         ...
127         fun:g?k_*_for_display
128 }
129 {
130         gxk__for_screen
131         Memcheck:Leak
132         ...
133         fun:g?k_*_for_screen
134 }
135 {
136         gdk_gc_new
137         Memcheck:Leak
138         ...
139         fun:gdk_gc_new
140         ...
141         fun:gdk_window_end_paint
142 }
143 {
144         gtk_gc_get cached
145         Memcheck:Leak
146         ...
147         fun:g_cache_insert
148         fun:gtk_gc_get
149 }
150 {
151         gdk_x11_window_set_user_time
152         Memcheck:Leak
153         ...
154         fun:gdk_x11_window_set_user_time 
155 }
156 {
157         gdk_x11_window_set_user_time
158         Memcheck:Leak
159         ...
160         fun:gdk_x11_window_set_user_time 
161 }
162 {
163         gtk_widget_realize 1
164         Memcheck:Leak
165         ...
166         fun:g_slice_alloc
167         ...
168         fun:gtk_widget_realize
169 }
170 {
171         gtk_widget_realize 2
172         Memcheck:Leak
173         ...
174         fun:gdk_window_new
175         ...
176         fun:gtk_widget_realize
177 }
178 {
179         gdk_window_invalidate_region
180         Memcheck:Leak
181         ...
182         fun:gdk_region_*
183         fun:gdk_window_invalidate_maybe_recurse
184 }
185 {
186         gtk_container_check_resize
187         Memcheck:Leak
188         ...
189         fun:gdk_window_process_updates
190         ...
191         fun:gtk_container_check_resize
192 }
193 {
194         weak_pointer
195         Memcheck:Leak
196         ...
197         fun:g_object_weak_ref
198         fun:g_object_add_weak_pointer
199         obj:*/libgtk-*
200         obj:*/libgtk-*
201         fun:gtk_main_do_event
202 }
203 {
204         gtk_window_new
205         Memcheck:Leak
206         ...
207         fun:g_type_create_instance
208         fun:g_object_constructor
209         fun:g_object_newv
210         fun:g_object_new_valist
211         fun:g_object_new
212         fun:gtk_window_new
213 }
214
215 # Pango
216 {
217         pango_ot_ruleset_new
218         Memcheck:Leak
219         ...
220         fun:pango_ot_ruleset_new*
221 }
222 {
223         pango_font_map_load_fontset
224         Memcheck:Leak
225         ...
226         fun:pango_font_map_load_fontset
227 }
228 {
229         pango_font_map_create_context
230         Memcheck:Leak
231         ...
232         fun:pango_font_map_create_context
233 }
234 {
235         pango__font_glyph_extents
236         Memcheck:Leak
237         ...
238         fun:pango_font_get_glyph_extents
239 }
240 {
241         pango_coverage_set
242         Memcheck:Leak
243         ...
244         fun:pango_coverage_set
245 }
246
247 # Cairo
248 {
249         cairo__font_create
250         Memcheck:Leak
251         ...
252         fun:cairo_*_font_create
253 }
254 {
255         cairo__font_face_create
256         Memcheck:Leak
257         ...
258         fun:cairo_*_font_face_create*
259 }
260 {
261         cairo__font_glyph_extents
262         Memcheck:Leak
263         ...
264         fun:cairo_*_font_glyph_extents
265 }
266 {
267         cairo_show_glyphs
268         Memcheck:Leak
269         ...
270         fun:cairo_show_glyphs
271 }
272
273 # Fontconfig
274 {
275         FcFontRenderPrepare
276         Memcheck:Leak
277         ...
278         fun:FcFontRenderPrepare
279 }
280
281 # OpenGL
282 #{
283 #       OpenGL memleak
284 #       Memcheck:Leak
285 #       ...
286 #       fun:*alloc
287 #       obj:*/libGL*
288 #}
289 #{
290 #       OpenGL uninitalized
291 #       Memcheck:Cond
292 #       obj:*/libGL*
293 #}