https://bugs.documentfoundation.org/show_bug.cgi?id=168139

            Bug ID: 168139
           Summary: LibreOffice crashe asserts with Skia/Vulkan on X11
                    (gen) VCL backend
           Product: LibreOffice
           Version: 26.2.0.0 alpha0+ master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: graphics stack
          Assignee: [email protected]
          Reporter: [email protected]

Description:
LibreOffice X11 (gen) VCL backend is a good platform for testing.
Unfortunately, it crashes with Skia enabled. This happens both for Skia/Raster:
tdf#168138 and Skia/Vulkan (this report).

Steps to Reproduce:
1. Build LibreOffice core on Linux
2. Try Vulkan/Vulkan on X11:

export SAL_USE_VCLPLUGIN=gen
export SAL_SKIA=vulkan
instdir/program/soffice --writer

Actual Results:
Upon opening a new Writer, etc. window, LibreOffice crashes immediately.

Expected Results:
No crash should happen


Reproducible: Always


User Profile Reset: No

Additional Info:
LibreOffice with Skia/Vulkan itself works fine with LibreOffice 25.8 stable:

Version: 25.8.0.4 (X86_64)
Build ID: 48f00303701489684e67c38c28aff00cd5929e67
CPU threads: 12; OS: Linux 6.2; UI render: Skia/Vulkan; VCL: x11
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

But with the latest LO 26.2 dev master, it faces with crash assert in a debug
build:

$ instdir/program/soffice --version
LibreOfficeDev 26.2.0.0.alpha0 f6411560817dd9e2c07564eef100dcb8f995804f


$ instdir/program/soffice --writer
...
soffice.bin: vcl/skia/x11/salvd.cxx:83: virtual bool
X11SkiaSalVirtualDevice::SetSize(tools::Long, tools::Long, bool): Assertion
`!bAlphaMaskTransparent && "TODO"' failed.

By disabling the assertion in vcl/skia/x11/salvd.cxx:83, LibreOffice works
normally.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to