Bug 140583 - x11_present_to_x11_dri3: Assertion `chain->sent_image_count <= chain->base.image_count' failed.
Summary: x11_present_to_x11_dri3: Assertion `chain->sent_image_count <= chain->base.im...
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.1.0.3 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Skia
  Show dependency treegraph
 
Reported: 2021-02-21 16:07 UTC by Hans Meyer
Modified: 2021-02-22 11:32 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Options pane "View" (84.65 KB, image/png)
2021-02-21 20:51 UTC, Hans Meyer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hans Meyer 2021-02-21 16:07:58 UTC
Description:
mesa: for the --simplifycfg-sink-common option: may only occur zero or one times!
mesa: for the --global-isel-abort option: may only occur zero or one times!
mesa: for the --amdgpu-atomic-optimizations option: may only occur zero or one times!
mesa: for the --structurizecfg-skip-uniform-regions option: may only occur zero or one times!
../mesa/src/vulkan/wsi/wsi_common_x11.c:1089: Swapchain status changed to VK_ERROR_OUT_OF_DATE_KHR
../mesa/src/vulkan/wsi/wsi_common_x11.c:1089: Swapchain status changed to VK_ERROR_OUT_OF_DATE_KHR
../mesa/src/vulkan/wsi/wsi_common_x11.c:1089: Swapchain status changed to VK_ERROR_OUT_OF_DATE_KHR
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)[0x7fbdfa21dbc4]
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x3ed4c)[0x7fbdfa21dd4c]
/usr/lib/libc.so.6(+0x3cf80)[0x7fbdf9f14f80]
/usr/lib/libc.so.6(gsignal+0x145)[0x7fbdf9f14ef5]
/usr/lib/libc.so.6(abort+0x116)[0x7fbdf9efe862]
/usr/lib/libc.so.6(+0x26747)[0x7fbdf9efe747]
/usr/lib/libc.so.6(+0x35646)[0x7fbdf9f0d646]
/usr/lib/libvulkan_radeon.so(+0x20385f)[0x7fbdd9b8985f]
/usr/lib/libvulkan_radeon.so(+0x203b05)[0x7fbdd9b89b05]
/usr/lib/libpthread.so.0(+0x9299)[0x7fbdf9b7b299]
/usr/lib/libc.so.6(clone+0x43)[0x7fbdf9fd7053]

Steps to Reproduce:
1. Have Linux, mesa and radeonsi driver
2. Enable Skia / Vulkan renderer (classic renderer is very laggy)
3. crash

Actual Results:
dlerror: libclang-cpp.so.11: cannot open shared object file: No such file or directory
mesa: for the --simplifycfg-sink-common option: may only occur zero or one times!
mesa: for the --global-isel-abort option: may only occur zero or one times!
mesa: for the --amdgpu-atomic-optimizations option: may only occur zero or one times!
mesa: for the --structurizecfg-skip-uniform-regions option: may only occur zero or one times!
../mesa/src/vulkan/wsi/wsi_common_x11.c:1089: Swapchain status changed to VK_ERROR_OUT_OF_DATE_KHR
../mesa/src/vulkan/wsi/wsi_common_x11.c:1089: Swapchain status changed to VK_ERROR_OUT_OF_DATE_KHR
../mesa/src/vulkan/wsi/wsi_common_x11.c:1089: Swapchain status changed to VK_ERROR_OUT_OF_DATE_KHR
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)[0x7fbdfa21dbc4]
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x3ed4c)[0x7fbdfa21dd4c]
/usr/lib/libc.so.6(+0x3cf80)[0x7fbdf9f14f80]
/usr/lib/libc.so.6(gsignal+0x145)[0x7fbdf9f14ef5]
/usr/lib/libc.so.6(abort+0x116)[0x7fbdf9efe862]
/usr/lib/libc.so.6(+0x26747)[0x7fbdf9efe747]
/usr/lib/libc.so.6(+0x35646)[0x7fbdf9f0d646]
/usr/lib/libvulkan_radeon.so(+0x20385f)[0x7fbdd9b8985f]
/usr/lib/libvulkan_radeon.so(+0x203b05)[0x7fbdd9b89b05]
/usr/lib/libpthread.so.0(+0x9299)[0x7fbdf9b7b299]
/usr/lib/libc.so.6(clone+0x43)[0x7fbdf9fd7053]

Expected Results:
no crash


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
vulkaninfo log needed? https://pastebin.com/mByEuaV1
Comment 1 Roman Kuznetsov 2021-02-21 18:24:28 UTC
Lubos, skia shouldn't work on Linux or I missed something?

Hans, where you do it "2. Enable Skia / Vulkan renderer (classic renderer is very laggy)"? In LibreOffice's Options dialog? 
Which Linux distro do you use? 
Do you use LibreOffice from your distro packages or from official site?
Comment 2 Hans Meyer 2021-02-21 19:03:28 UTC
I'm using ArchLinux https://archlinux.org/packages/extra/x86_64/libreoffice-fresh/

== Info ==
Version: 7.1.0.3 / LibreOffice Community
Build ID: 10(Build:3)
CPU threads: 12; OS: Linux 5.11; UI render: Skia/Vulkan; VCL: x11
Locale: en-US (de_DE.UTF-8); UI: en-US
7.1.0-1
Calc: CL
Comment 3 Hans Meyer 2021-02-21 20:51:24 UTC
Created attachment 169948 [details]
Options pane "View"
Comment 4 Hans Meyer 2021-02-21 20:53:38 UTC
Desktop environment is Xfce, no Wayland installed (only  X.Org)
Comment 5 Luboš Luňák 2021-02-22 11:32:42 UTC
If Mesa aborts on a failed internal assertion, then it's most likely a Mesa bug. And even if it's not, it's still taking place in Mesa, which is something only Mesa developers know. Please report this to them.