[glib: 10/11] valgrind: Add more suppressions to glib.supp
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 10/11] valgrind: Add more suppressions to glib.supp
- Date: Fri, 29 Jun 2018 13:33:30 +0000 (UTC)
commit da44b78bef973d1a275a4878f230d993b15e6dc3
Author: Philip Withnall <withnall endlessm com>
Date: Wed Jun 27 10:01:40 2018 +0100
valgrind: Add more suppressions to glib.supp
These were spotted by running the entire test suite under valgrind,
thanks to the magic of Meson: see the build rules in valgrind-x86_64 in
.gitlab-ci.yml.
Signed-off-by: Philip Withnall <withnall endlessm com>
glib.supp | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
---
diff --git a/glib.supp b/glib.supp
index 7a3fe6bc3..f64826b3c 100644
--- a/glib.supp
+++ b/glib.supp
@@ -51,6 +51,16 @@
fun:initialize_module_inlock_reentrant
}
+# One-time allocation from libc for getpwnam() results
+{
+ g-local-vfs-getpwnam
+ Memcheck:Leak
+ fun:malloc
+ ...
+ fun:getpwnam
+ fun:g_local_vfs_parse_name
+}
+
{
gobject-init-malloc
Memcheck:Leak
@@ -232,6 +242,18 @@
fun:_g_io_module_get_default
}
+# One-time getaddrinfo() configuration loading
+{
+ g-threaded-resolver-getaddrinfo-config
+ Memcheck:Leak
+ fun:malloc
+ ...
+ fun:__resolv_conf_allocate
+ ...
+ fun:getaddrinfo
+ fun:do_lookup_by_name
+}
+
# memcheck checks that the third argument to ioctl() is a valid pointer, but
# some ioctls use that argument as an integer
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]