~mc-return/compiz/compiz.merge-fix1100184-composite-is-already-required-by-opengl

« back to all changes in this revision

Viewing changes to tests/compiz.supp

  • Committer: Tarmac
  • Author(s): Daniel van Vugt
  • Date: 2013-01-11 15:02:30 UTC
  • mfrom: (3549.4.2 valgrind-suppress)
  • Revision ID: tarmac-20130111150230-emgx9r672g8z4yrl
Introduce a valgrind suppression file for running compiz natively. Mostly
just suppresses errors from Mesa and glib right now. But it makes a huge
difference to the readability of valgrind output.

Approved by PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Valgrind suppression file for running compiz
 
3
#
 
4
# Copyright (C) 2013  Canonical Ltd.
 
5
# Author: Daniel van Vugt <daniel.van.vugt@canonical.com>
 
6
 
7
# This program is free software; you can redistribute it and/or
 
8
# modify it under the terms of the GNU General Public License
 
9
# as published by the Free Software Foundation; either version 2
 
10
# of the License, or (at your option) any later version.
 
11
 
12
# This program is distributed in the hope that it will be useful,
 
13
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
15
# GNU General Public License for more details.
 
16
 
17
# You should have received a copy of the GNU General Public License
 
18
# along with this program; if not, write to the Free Software
 
19
# Foundation, Inc., 51 Franklin Street, Fifth Floor,
 
20
# Boston, MA  02110-1301, USA.
 
21
#
 
22
 
 
23
{
 
24
    g_spawn_check_exit_status
 
25
    Memcheck:Cond
 
26
    fun:g_spawn_check_exit_status
 
27
}
 
28
 
 
29
{
 
30
    drmIoctl
 
31
    Memcheck:Param
 
32
    ioctl(generic)
 
33
    fun:ioctl
 
34
    fun:drmIoctl
 
35
}
 
36
 
 
37
{
 
38
    drm_intel_bufmgr_gem_init
 
39
    Memcheck:Cond
 
40
    fun:drm_intel_bufmgr_gem_init
 
41
}
 
42
 
 
43
{
 
44
    Mesa i965 x64
 
45
    Memcheck:Cond
 
46
    obj:/usr/lib/x86_64-linux-gnu/dri/i965_dri.so
 
47
}
 
48
 
 
49
{
 
50
    Mesa libdrm_intel x64
 
51
    Memcheck:Cond
 
52
    obj:/usr/lib/x86_64-linux-gnu/libdrm_intel.so.1.0.0
 
53
}
 
54
 
 
55
{
 
56
    _mesa_TexImage2D bad write 4
 
57
    Memcheck:Addr4
 
58
    fun:*
 
59
    ...
 
60
    fun:_mesa_TexImage2D
 
61
}
 
62
 
 
63
{
 
64
    _mesa_TexImage2D bad write 1
 
65
    Memcheck:Addr1
 
66
    fun:*
 
67
    ...
 
68
    fun:_mesa_TexImage2D
 
69
}
 
70
 
 
71
{
 
72
    _mesa_TexImage2D bad memcpy 8
 
73
    Memcheck:Addr8
 
74
    fun:memcpy*
 
75
    ...
 
76
    fun:_mesa_TexImage2D
 
77
}
 
78
 
 
79
{
 
80
    Mesa, how do you get glClear wrong?
 
81
    Memcheck:Addr1
 
82
    fun:bcmp
 
83
    ...
 
84
    fun:_mesa_meta_glsl_Clear
 
85
}
 
86
 
 
87
{
 
88
    Mesa glLinkProgram off by 1
 
89
    Memcheck:Addr1
 
90
    fun:bcmp
 
91
    ...
 
92
    fun:_mesa_glsl_link_shader
 
93
}
 
94
 
 
95
{
 
96
    g_type_init leaks by design, at least up to glib 2.35
 
97
    Memcheck:Leak
 
98
    fun:*alloc
 
99
    ...
 
100
    fun:g_type_init_with_debug_flags
 
101
}
 
102
 
 
103
{
 
104
    g_bus_get_sync
 
105
    Memcheck:Leak
 
106
    fun:*alloc
 
107
    ...
 
108
    fun:g_bus_get_sync
 
109
}
 
110
 
 
111
{
 
112
    g_bus_get_sync memalign
 
113
    Memcheck:Leak
 
114
    fun:memalign
 
115
    ...
 
116
    fun:g_bus_get_sync
 
117
}
 
118
 
 
119
{
 
120
    dbus *alloc leaks
 
121
    Memcheck:Leak
 
122
    fun:*alloc
 
123
    ...
 
124
    fun:g_dbus_*
 
125
}
 
126
 
 
127
{
 
128
    dbus memalign leaks
 
129
    Memcheck:Leak
 
130
    fun:memalign
 
131
    ...
 
132
    fun:g_dbus_*
 
133
}
 
134
 
 
135
{
 
136
    compizBinPath needs to leak env vars
 
137
    Memcheck:Leak
 
138
    fun:malloc
 
139
    fun:strdup
 
140
    fun:*detectCompizBinPath*
 
141
}