Crash of LibreOffice's skia library using Vulkan (Assertion `chain->sent_image_count <= chain->base.image_count' failed)
I'm getting the following crash
soffice.bin: ../mesa/src/vulkan/wsi/wsi_common_x11.c:1096: x11_present_to_x11_dri3: Assertion `chain->sent_image_count <= chain->base.image_count' failed.
Fatal exception: Signal 6
Stack:
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x3ebc4)[0x7f5ea3709bc4]
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x3ed4c)[0x7f5ea3709d4c]
/usr/lib/libc.so.6(+0x3cf80)[0x7f5ea3400f80]
/usr/lib/libc.so.6(gsignal+0x145)[0x7f5ea3400ef5]
/usr/lib/libc.so.6(abort+0x116)[0x7f5ea33ea862]
/usr/lib/libc.so.6(+0x26747)[0x7f5ea33ea747]
/usr/lib/libc.so.6(+0x35646)[0x7f5ea33f9646]
/usr/lib/libvulkan_radeon.so(+0x22ca8f)[0x7f5e35132a8f]
/usr/lib/libvulkan_radeon.so(+0x22cd35)[0x7f5e35132d35]
/usr/lib/libpthread.so.0(+0x9299)[0x7f5ea3067299]
/usr/lib/libc.so.6(clone+0x43)[0x7f5ea34c3053]
in Libreoffice with skia/Vulkan rendering.
Libreoffice says it's not their bug: https://bugs.documentfoundation.org/show_bug.cgi?id=140583
mesa-mainline, self compiled from AUR – RX 460 GPU – X.Org (no Wayland)
My vulkaninfo log: https://pastebin.com/mByEuaV1
I could recompile with debug symbols, but only LibreOffice and not mesa itself crashes.