Commit: patch 9.1.1597: CI reports leaks in libgtk3 library

1 view
Skip to first unread message

Christian Brabandt

unread,
Aug 7, 2025, 9:15:17 AM8/7/25
to vim...@googlegroups.com
patch 9.1.1597: CI reports leaks in libgtk3 library

Commit: https://github.com/vim/vim/commit/47a668bbe8fa18a2dc4d7ca8fb18243f77d7ec55
Author: Christian Brabandt <c...@256bit.org>
Date: Thu Aug 7 14:58:24 2025 +0200

patch 9.1.1597: CI reports leaks in libgtk3 library

Problem: CI reports leaks in libgtk3 library
Solution: Add libgtk-3 library to leak suppression

Recently, CI started reporting leaks inside the GTK3 library, which cause
failures like here
https://github.com/vim/vim/actions/runs/16796766276/job/47572520887?pr=17922

So let's add libgtk-3*.so* to the leak suppression for the
gtk_init_check() function.

Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/testdir/lsan-suppress.txt b/src/testdir/lsan-suppress.txt
index 46421d3cf..7083c1bbb 100644
--- a/src/testdir/lsan-suppress.txt
+++ b/src/testdir/lsan-suppress.txt
@@ -14,3 +14,5 @@ leak:libxcb*.so.*
# The renderer leaks 128 bytes of metadata when run under CI. Seems to only
# happen with software rendering.
leak:gdk_x11_screen_init_gl
+# leak reported on CI for test_clipmethod
+leak:libgtk-3*.so.*
diff --git a/src/version.c b/src/version.c
index 7769481ff..a08261bf4 100644
--- a/src/version.c
+++ b/src/version.c
@@ -719,6 +719,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1597,
/**/
1596,
/**/
Reply all
Reply to author
Forward
0 new messages