** Description changed: On resolute armhf, GTK 4 apps abort at start when GTK uses the Vulkan renderer on lavapipe. I see it on an ODROID-U2 (Exynos 4412, Cortex-A9) with Armbian resolute and XFCE. The Mali-400 GL driver can't give GTK a GL context there, so GTK falls back to lavapipe. Versions: mesa-vulkan-drivers 26.0.8-1ubuntu0.3 libllvm21 1:21.1.8-6ubuntu1 libgtk-4-1 4.22.4+ds-0ubuntu0.2 On the board: - gnome-calculator and transmission-gtk abort with "malloc(): invalid size (unsorted)" - gnome-text-editor also aborts (exit 134) - vkcube --c 30 crashes with SIGSEGV It also shows up without the board, in an armhf container under qemu- user: docker run --rm --init --platform linux/arm/v7 ubuntu:26.04 bash -c "apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends mesa-vulkan-drivers vulkan-tools xvfb xauth && xvfb-run -a -s '-screen 0 640x480x24' vkcube --c 30" There vkcube aborts with a glibc heap error, for example "free(): invalid size" or "corrupted size vs. prev_size". With the lavapipe driver from mesa-vulkan-drivers 26.2.4-1ubuntu1~26.04.1 (resolute-proposed, built with LLVM 22.1.2), gnome-calculator and transmission-gtk open their windows and stay up on the board, gnome-text-editor keeps running too, and vkcube passes in the container. I only tested that one driver, loaded with VK_DRIVER_FILES, not the whole proposed stack. vkcube on the board still crashes with 26.2.4. That is a different bug in llvmpipe on ARMv7 CPUs without vrint, and current upstream has it - too. I will report it upstream and link it here. + too. + + Proposed upstream fixes for it: + https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/46947 (mesa) + and https://github.com/llvm/llvm-project/pull/247324 (LLVM). Will the fix reach resolute with the 26.2.4 backport (LP: #2167673), or does 26.0.x need its own fix?
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2178477 Title: lavapipe makes GTK 4 apps abort on armhf in resolute (fixed by the 26.2.4 backport in -proposed) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/2178477/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
