Bug 133399

Summary: Abort after assertion failure in master built in dbgutil mode
Product: LibreOffice Reporter: Mike Kaganski <mikekaganski>
Component: graphics stackAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED INVALID    
Severity: normal CC: aron.budea, l.lunak, telesto
Priority: medium    
Version: 7.0.0.0.alpha1+   
Hardware: All   
OS: All   
Whiteboard: target:7.0.0
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 129062    

Description Mike Kaganski 2020-05-26 07:44:39 UTC
Ubuntu 18.04 / gtk3

With master toward 7.0, built with --enable-dbgutil, create a new Draw document, and insert an ellipde using toolbar -> crash. The console has this:

> warn:vcl.gdi:23344:23344:vcl/headless/svpgdi.cxx:133: unsupported SvpSalGraphics::blendAlphaBitmap case
> soffice.bin: /home/mike/lo/core/vcl/source/outdev/bitmap.cxx:689: void OutputDevice::DrawDeviceAlphaBitmap(const Bitmap&, const AlphaMask&, const Point&, const Size&, const Point&, const Size&): Assertion `!SkiaHelper::isVCLSkiaEnabled()' failed.

Version: 7.0.0.0.alpha1+
Build ID: fd238380ae7820f12ac1f7c52d0f7180a93f3ba3
CPU threads: 4; OS: Linux 4.15; UI render: Skia/Vulkan; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 1 Luboš Luňák 2020-05-26 12:12:16 UTC
That doesn't make sense, according to the info you use Skia with gtk3, but that combination is blocked. Maybe you have explicitly forced Skia (there's an expert 'ForceSkia' setting)?
Comment 2 Mike Kaganski 2020-05-26 12:24:30 UTC
(In reply to Luboš Luňák from comment #1)

Yes you are correct - I must had enabled that at some point, and forgot. (But shouldn't the isVCLSkiaEnabled check return false in that case *if* it doesn't work there, even if forced? I don't know if it does, just asking.)
Comment 3 Commit Notification 2020-05-26 14:51:53 UTC
Luboš Luňák committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/a65cba8e5bafb183924c1a8ff34382c99f1381cc

make disabling of Skia override forcing it (tdf#133399)

It will be available in 7.0.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.