Skip to content

Commit 14d4907

Browse files
committed
Update valgrind supression
1 parent fa89e61 commit 14d4907

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed

.valgrind.suppressions

+21-22
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,24 @@
5151
...
5252
}
5353

54+
{
55+
glib_freebsd
56+
Memcheck:Leak
57+
fun:*alloc
58+
...
59+
fun:g_dbus_address_get_stream_sync
60+
...
61+
}
62+
63+
{
64+
glib_leak_freebsd2
65+
Memchek:Leak
66+
fun:*alloc
67+
...
68+
fun:g_bus_own_name
69+
...
70+
}
71+
5472
# same as above, but as occurs in CI environment
5573
{
5674
rsvg_error_handle_close2
@@ -110,15 +128,15 @@
110128

111129
# a librsvg memoryleak that shows up in arch, but not in the CI environment
112130
{
113-
<librsvg-arch>
131+
librsvg-arch
114132
Memcheck:Leak
115133
match-leak-kinds: definite
116134
fun:malloc
117-
obj:/usr/lib/librsvg-2.so.2.48.0
135+
obj:/usr/lib/librsvg-2.so.2.*
118136
...
119137
fun:rsvg_handle_close
120138
obj:/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
121-
obj:/usr/lib/libgdk_pixbuf-2.0.so.0.4200.6
139+
obj:/usr/lib/libgdk_pixbuf-2.0.so.0.4200.*
122140
fun:gdk_pixbuf_new_from_file
123141
...
124142
}
@@ -213,22 +231,3 @@
213231
fun:notification_load_icon_with_scaling
214232
...
215233
}
216-
217-
{
218-
# FreeBSD part1
219-
glib_leak_freebsd1
220-
Memchek:Leak
221-
...
222-
fun:g_dbus_address_get_stream_sync
223-
...
224-
}
225-
226-
{
227-
# FreeBSD part2
228-
# XXX: Why isn't memory freed in g_bus_unown_name?
229-
glib_leak_freebsd2
230-
Memchek:Leak
231-
...
232-
fun:g_bus_own_name
233-
...
234-
}

Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ test-valgrind: test/test
102102
--leak-check=full \
103103
--show-leak-kinds=definite \
104104
--errors-for-leak-kinds=definite \
105+
--gen-suppressions=all \
105106
--num-callers=40 \
106107
--error-exitcode=123 \
107108
./test/test -v

0 commit comments

Comments
 (0)