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