From 41bd0fddcd366cf5a0e92d190f8ac297866a6089 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Tue, 24 Jan 2023 11:20:04 +0000 Subject: [PATCH] glib.supp: Further ignore system thread allocations This should stop the following valgrind error: ``` ==14506== 80 bytes in 1 blocks are definitely lost in loss record 1,098 of 1,463 ==14506== at 0x484086F: malloc (vg_replace_malloc.c:381) ==14506== by 0x48C5D83: g_malloc (gmem.c:130) ==14506== by 0x48E7911: g_slice_alloc (gslice.c:1074) ==14506== by 0x48E7951: g_slice_alloc0 (gslice.c:1100) ==14506== by 0x493617D: g_system_thread_new (gthread-posix.c:1188) ==14506== by 0x48F9EAA: g_thread_new_internal (gthread.c:935) ==14506== by 0x48F9E29: g_thread_try_new (gthread.c:919) ==14506== by 0x48FA351: g_thread_pool_spawn_thread (gthreadpool.c:312) ==14506== by 0x48F9D2C: g_thread_proxy (gthread.c:831) ==14506== by 0x4EFA2A4: start_thread (in /usr/lib64/libpthread-2.33.so) ==14506== by 0x4D89322: clone (in /usr/lib64/libc-2.33.so) ``` Signed-off-by: Philip Withnall --- tools/glib.supp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/glib.supp b/tools/glib.supp index 5b03557d9..941d64bc9 100644 --- a/tools/glib.supp +++ b/tools/glib.supp @@ -505,7 +505,7 @@ { g-system-thread-init-malloc Memcheck:Leak - match-leak-kinds:possible,reachable + match-leak-kinds:possible,reachable,definite fun:malloc ... fun:g_system_thread_new