Bug 129546

Summary: Skia: Crash when starting LO without supported device
Product: LibreOffice Reporter: Aron Budea <aron.budea>
Component: graphics stackAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: 79045_79045, l.lunak, vsfoote, xiscofauli
Priority: medium    
Version: 7.0.0.0.alpha0+   
Hardware: All   
OS: Windows (All)   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=129929
Whiteboard: target:6.5.0
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 129062    
Attachments: Backtrace

Description Aron Budea 2019-12-22 02:46:19 UTC
This is an Intel i7-3520 CPU with a HD4000 iGP.
When starting an LO master build (6.5.0.0.alpha0+, ddd1d219beb74f55eefbccc3ab8a8883dd0b4b69 / Windows 7), it outputs the following, and then crashes:

warn:vcl.opengl:10404:11080:vcl/opengl/win/WinDeviceInfo.cxx:496: use :
vkEnumeratePhysicalDevices returned no supported devices.
warn:vcl.skia:10404:11080:vcl/skia/gdiimpl.cxx:269: cannot create Vulkan offscreen GPU surface, disabling Vulkan
Illegal instruction
Comment 1 Xisco Faulí 2020-01-10 11:07:21 UTC
I guess it's fine to move it to NEW
Comment 2 Luboš Luňák 2020-01-10 13:41:32 UTC
Can you please provide a backtrace? The 'illegal instruction' is strange, it should mean either miscompilation or some bad memory corruption.
Comment 3 Aron Budea 2020-01-11 11:41:44 UTC
Created attachment 157077 [details]
Backtrace

Attaching backtrace. At this point VS is giving me this message:
"Unhandled exception at 0x000007FEBE9E0E6E (skialo.dll) in soffice.bin: 0xC000001D: Illegal Instruction."
Comment 4 Commit Notification 2020-01-14 11:17:30 UTC
Luboš Luňák committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/51882d9ec5a139bc7bc282ebf4ab03ada9ff2694

fix Skia CPU instruction set support (tdf#129546)

It will be available in 6.5.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.
Comment 5 Roman Kuznetsov 2020-01-15 09:09:19 UTC
*** Bug 129929 has been marked as a duplicate of this bug. ***