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 <cgmeiner@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38347>
(cherry picked from commit e9341568fa)
This commit is contained in:
Christian Gmeiner 2025-11-10 10:27:17 +01:00 committed by Eric Engestrom
parent dfaae6fe7a
commit 11e7b717fa
2 changed files with 2 additions and 2 deletions

View file

@ -8074,7 +8074,7 @@
"description": "meson: require sysprof-capture-4 >= 4.49.0",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null

View file

@ -2170,7 +2170,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