-
Notifications
You must be signed in to change notification settings - Fork 342
/
.valgrind.suppressions
196 lines (184 loc) · 4.34 KB
/
.valgrind.suppressions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
# Ignore musls' weird error
{
musl_alpine_libc
Memcheck:Free
fun:free
obj:/lib/ld-musl-x86_64.so.1
}
# Ignore another musls' weird error
{
musl_alpine_libc
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:getdelim
obj:*
fun:vgMemCheck_new_block
obj:*
}
# Ignore yet another musls' weird error
{
musl_alpine_libc
Memcheck:Leak
match-leak-kinds: definite
fun:realloc
fun:getdelim
...
}
# rsvg_error_handle_close got fixed in
# - GNOME/librsvg@7bf1014
# (2018-11-12, first tags: v2.45.0, v2.44.9)
# but the release has to seep into the distros
{
rsvg_error_handle_close
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:g_malloc
fun:g_slice_alloc
fun:g_error_new_valist
fun:g_set_error
obj:*/librsvg-2.so*
fun:rsvg_handle_close
obj:*/loaders/libpixbufloader-svg.so
fun:gdk_pixbuf_loader_close
fun:gdk_pixbuf_get_file_info
fun:get_pixbuf_from_file
...
}
# same as above, but as occurs in CI environment
{
rsvg_error_handle_close2
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:g_malloc
fun:g_slice_alloc
fun:g_error_new_valist
fun:g_set_error
obj:*/librsvg-2.so*
obj:*/librsvg-2.so*
obj:*/loaders/libpixbufloader-svg.so
obj:*/libgdk_pixbuf-2.0.so*
fun:gdk_pixbuf_loader_close
fun:gdk_pixbuf_get_file_info
fun:get_pixbuf_from_file
...
}
# Some new in ArchLinux
{
rsvg_rust_handle_close
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
...
fun:rsvg_rust_handle_close
obj:*/loaders/libpixbufloader-svg.so
...
fun:gdk_pixbuf_new_from_file
...
}
# rsvg_error_writehandler got fixed in
# - GNOME/librsvg@7b4cc9b
# (2018-11-12, first tags: v2.45.0, v2.44.9)
# but the release has to seep into the distros
{
rsvg_error_writehandler
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:g_malloc
fun:g_slice_alloc
fun:g_error_new_valist
fun:g_set_error
obj:*/librsvg-2.so*
fun:rsvg_handle_write
obj:*/loaders/libpixbufloader-svg.so
obj:*/libgdk_pixbuf-2.0.so*
fun:gdk_pixbuf_loader_close
fun:gdk_pixbuf_get_file_info
fun:get_pixbuf_from_file
...
}
# a librsvg memoryleak that shows up in arch, but not in the CI environment
{
<librsvg-arch>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
obj:/usr/lib/librsvg-2.so.2.48.0
...
fun:rsvg_handle_close
obj:/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
obj:/usr/lib/libgdk_pixbuf-2.0.so.0.4200.6
fun:gdk_pixbuf_new_from_file
...
}
# fontconfig memory leaks that occur when using certain pango library
# functions, such as pango_layout_get_pixel_size
{
fontconfig_pango_leaks
Memcheck:Leak
fun:*alloc
...
obj:*fontconfig*
...
obj:*pango*
...
}
{
rsvg_conditional_jump
Memcheck:Cond
obj:/usr/lib*/librsvg-2.so.2.48.0
...
fun:rsvg_handle_get_pixbuf
obj:/usr/lib*/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
obj:/usr/lib*/libgdk_pixbuf-2.0.so.0.4200.10
fun:gdk_pixbuf_new_from_file
fun:notification_setup_raw_image
fun:notification_load_icon_with_scaling
...
}
{
# Basically the same as above, but just for Debian
rsvg_conditional_jump-debian
Memcheck:Cond
obj:/usr/lib/*/librsvg-2.so.2.48.0
...
fun:rsvg_handle_get_pixbuf
obj:/usr/lib/*/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
obj:/usr/lib/*/libgdk_pixbuf-2.0.so.0.4200.8
fun:gdk_pixbuf_new_from_file
fun:notification_setup_raw_image
fun:notification_load_icon_with_scaling
...
}
{
# Basically the same as above, but just for Ubuntu Focal
rsvg_conditional_jump-ubuntu_focal
Memcheck:Cond
obj:/usr/lib/*/librsvg-2.so.2.47.0
...
fun:rsvg_rust_handle_close
obj:/usr/lib/*/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
obj:/usr/lib/*/libgdk_pixbuf-2.0.so.0.4000.0
fun:gdk_pixbuf_new_from_file
fun:notification_setup_raw_image
fun:notification_load_icon_with_scaling
...
}
{
# Something new on Ubuntu Noble Numbat
rsvg_conditional_jump-ubuntu_focal
Memcheck:Cond
obj:/usr/lib/*/librsvg-2.so.2.50.0
...
fun:rsvg_handle_new
obj:/usr/lib/*/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
obj:/usr/lib/*/libgdk_pixbuf-2.0.so.0.4200.10
fun:gdk_pixbuf_new_from_file
fun:notification_setup_raw_image
fun:notification_load_icon_with_scaling
...
}