From e9341568fa9e4af1084db6702174ed4b4881bc73 Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Mon, 10 Nov 2025 10:27:17 +0100 Subject: [PATCH] meson: require sysprof-capture-4 >= 4.49.0 When Mesa is compiled with sysprof support, applications can crash with a segfault during shutdown. This happens because sysprof_collector_mark() registers thread-local storage destructors that get called after the library containing the destructor code has been unloaded. The problem was fixed in sysprof https://gitlab.gnome.org/GNOME/sysprof/-/merge_requests/152 CC: mesa-stable Closes: mesa/mesa#13571 Signed-off-by: Christian Gmeiner Part-of: --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index f241ba862cd..8655c8d4129 100644 --- a/meson.build +++ b/meson.build @@ -2200,7 +2200,7 @@ endif with_sysprof = get_option('sysprof') if with_sysprof - dep_sysprof = dependency('sysprof-capture-4', version: '>= 3.38.0') + dep_sysprof = dependency('sysprof-capture-4', version: '>= 4.49.0') pre_args += '-DHAVE_SYSPROF' endif