Control: forwarded -1 https://gitlab.gnome.org/GNOME/gtk/-/issues/7022
HiOn Mon, 16 Sep 2024 19:25:35 +0200 =?utf-8?q?Zolt=C3=A1n?= <islandofcalmn...@gmail.com> wrote:
Package: libgtk-4-bin Version: 4.16.1+ds-2 Severity: important Dear Maintainer, Since installing the new version on sid gtk4 applications crash on startup with SIGSEGV. The crash seems to occur with the vulkan renderer, disabling it with GDK_DISABLE=vulkan things run fine. I'm running a kde desktop on wayland (kwin-wayland 4:5.27.11-2) on AMD with mesa-vulkan-drivers 24.2.2-1 Example partial backtrace: Thread 1 "zenity" received signal SIGSEGV, Segmentation fault. 0x00007fffd2555ebd in wsi_GetPhysicalDeviceSurfaceCapabilitiesKHR (physicalDevice=0x555555b02fe0, _surface=0x0, pSurfaceCapabilities=0x7fffffffc5e0) at ../src/vulkan/wsi/wsi_common.c:827 (gdb) bt #0 0x00007fffd2555ebd in wsi_GetPhysicalDeviceSurfaceCapabilitiesKHR (physicalDevice=0x555555b02fe0, _surface=0x0, pSurfaceCapabilities=0x7fffffffc5e0) at ../src/vulkan/wsi/wsi_common.c:827 #1 0x00007ffff76f2a79 in gdk_vulkan_context_check_swapchain (context=0x5555566fce00, error=error@entry=0x7fffffffc6e0) at ../../../gdk/gdkvulkancontext.c:431 #2 0x00007ffff76f3208 in gdk_vulkan_context_surface_resized (draw_context=<optimized out>) at ../../../gdk/gdkvulkancontext.c:783 #3 0x00007ffff76e8828 in _gdk_surface_update_size (surface=surface@entry=0x5555556ae800) at ../../../gdk/gdksurface.c:887#4 0x00007ffff767502b in gdk_wayland_surface_update_size (surface=surface@entry=0x5555556ae800, width=<optimized out>, height=<optimized out>, scale=scale@entry=0x7fffffffc724) at ../../../gdk/wayland/gdksurface-wayland.c:272
I can confirm this issue and filed this upstream.As additional info: the segfault does not happen for me when I run those applications from within a GNOME desktop session.
My backtrace looks slightly different though, maybe a result of having fractional scaling enabled (150% for the external and internal monitor).
@Simon: If you think we should split this into two separate bug reports, please let me know.
Regards, Michael
OpenPGP_signature.asc
Description: OpenPGP digital signature