From 1766bbeab4f6807e4ed1ecd26db8a9947f72cf58 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Sat, 14 Oct 2017 13:28:20 +0200 Subject: [PATCH] test: add gdbus leak to valgrind.suppressions ==28576== 78 (72 direct, 6 indirect) bytes in 1 blocks are definitely lost in loss record 843 of 1,311 ==28576== at 0x4C2EB6B: malloc (vg_replace_malloc.c:299) ==28576== by 0x6FD0A38: g_malloc (gmem.c:94) ==28576== by 0x6FE8575: g_slice_alloc (gslice.c:1025) ==28576== by 0x6FE8A08: g_slice_alloc0 (gslice.c:1051) ==28576== by 0x7010261: g_system_thread_new (gthread-posix.c:1152) ==28576== by 0x6FF283E: g_thread_new_internal (gthread.c:874) ==28576== by 0x6FF28E7: g_thread_new (gthread.c:827) ==28576== by 0x6FCC4A3: g_get_worker_context (gmain.c:5851) ==28576== by 0x681A814: g_task_thread_pool_init (gtask.c:1977) ==28576== by 0x681A814: g_task_get_type (gtask.c:592) ==28576== by 0x685CB50: ensure_required_types (gdbusprivate.c:231) ==28576== by 0x685CB50: _g_dbus_initialize (gdbusprivate.c:1927) ==28576== by 0x6850CA0: g_bus_get_sync (gdbusconnection.c:7267) ==28576== by 0x10B6AC: nmtstc_service_init (nm-test-utils-impl.c:91) ==28576== by 0x10D261: test_setup (test-secret-agent.c:249) ==28576== by 0x6FF118B: test_case_run (gtestutils.c:2160) ==28576== by 0x6FF118B: g_test_run_suite_internal (gtestutils.c:2244) ==28576== by 0x6FF139A: g_test_run_suite_internal (gtestutils.c:2256) ==28576== by 0x6FF139A: g_test_run_suite_internal (gtestutils.c:2256) ==28576== by 0x6FF1571: g_test_run_suite (gtestutils.c:2332) ==28576== by 0x6FF1590: g_test_run (gtestutils.c:1599) ==28576== by 0x10D0EE: main (test-secret-agent.c:654) --- valgrind.suppressions | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/valgrind.suppressions b/valgrind.suppressions index cafde5e8a2..a13212ec34 100644 --- a/valgrind.suppressions +++ b/valgrind.suppressions @@ -455,9 +455,7 @@ fun:g_task_thread_pool_init fun:g_task_get_type fun:ensure_required_types - fun:_g_dbus_shared_thread_ref - fun:_g_dbus_worker_new - fun:initable_init + ... fun:g_bus_get_sync } {