Bug 164788 - LibreOffice 25.2 RC2+ failed to run on Windows
Summary: LibreOffice 25.2 RC2+ failed to run on Windows
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
25.2.0.0 alpha0+
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:25.8.0
Keywords:
Depends on:
Blocks: Crash
  Show dependency treegraph
 
Reported: 2025-01-21 16:21 UTC by Volga
Modified: 2025-04-14 12:07 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Reports copied from system (5.38 KB, application/x-7z-compressed)
2025-01-21 16:30 UTC, Volga
Details
Another crash reports (3.63 KB, application/x-7z-compressed)
2025-01-24 16:00 UTC, Volga
Details
Another crash reports for 25.2 RC3 (4.84 KB, application/x-7z-compressed)
2025-02-02 16:13 UTC, Volga
Details
Crash dumps copied from system (1.05 MB, application/x-7z-compressed)
2025-02-02 16:18 UTC, Volga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Volga 2025-01-21 16:21:46 UTC
Description:
After installing LibreOffice 25.2 RC2 on Windows, I found it failed to launch, the only exception is Safety Mode. Removing C:\Users\Xyz\AppData\Roaming\LibreOffice doesn't affect.

Steps to Reproduce:
1.Click LibreOffice icon from the Start menu.

Actual Results:
soffice running several seconds, then crash. However, if I click LibreOffice (安全模式), it works.

Expected Results:
N/A


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 25.2.0.2 (X86_64) / LibreOffice Community
Build ID: 62af784cc06624122f17ee71c7cf13d906cbaed0
CPU threads: 4; OS: Windows 10 X86_64 (10.0 build 19045); UI render: default; VCL: win
Locale: zh-CN (zh_CN); UI: zh-CN
Calc: threaded
Comment 1 Volga 2025-01-21 16:30:29 UTC
Created attachment 198653 [details]
Reports copied from system

Here are crash reports from system. By searching soffice with Everything (https://www.voidtools.com/) it's possible to find out them.
Comment 2 Volga 2025-01-24 16:00:19 UTC
Created attachment 198747 [details]
Another crash reports

Here are another crash reports copied from the same origin.
Comment 3 Volga 2025-02-02 16:13:34 UTC
Created attachment 198926 [details]
Another crash reports for 25.2 RC3

The problem happened again after I installed LibreOffice 25.2 RC3, and I got reports from C:\ProgramData\Microsoft\Windows\WER\ReportArchive after I searching soffice with Everything.
Comment 4 Volga 2025-02-02 16:18:33 UTC
Created attachment 198927 [details]
Crash dumps copied from system

Here are crash dumps created by system, I found them via Everything, copied them, and compressed into 7z file so you can review. They're originally stored in C:\Users\[User name]\AppData\Local\CrashDumps.
Comment 5 Mike Kaganski 2025-02-08 11:12:27 UTC
(In reply to Volga from comment #4)

The dumps indicate a problem in Vulkan initialization. May need to denylist your video/driver version.

In the meantime: forcing software rendering in Skia options should fix it.
Comment 6 Mike Kaganski 2025-02-08 11:20:21 UTC
Possibly related to Skia version bump (https://gerrit.libreoffice.org/c/core/+/174554)
Comment 7 Volga 2025-02-08 14:20:36 UTC
(In reply to Mike Kaganski from comment #5)
> The dumps indicate a problem in Vulkan initialization. May need to denylist
> your video/driver version.

Intel HD Graphics 4000, driver version 10.18.10.4358
NVIDIA GeForce 710M, driver version 23.21.13.9135

> In the meantime: forcing software rendering in Skia options should fix it.

So how can I configure it?
Comment 8 Commit Notification 2025-02-08 15:36:40 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/9735a9377b3013943e6a245b5afef57de738a0f6

Related: tdf#164788 Force Skia software rendering after crash in test

It will be available in 25.8.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 9 Mike Kaganski 2025-02-08 16:00:12 UTC
(In reply to Volga from comment #7)
> > In the meantime: forcing software rendering in Skia options should fix it.
> 
> So how can I configure it?

Safe mode -> in the dialog, check (*) Configure, check [x] Disable hardware acceleration -> [Apply Changes and Restart]
Comment 10 V Stuart Foote 2025-02-09 14:26:45 UTC
(In reply to Mike Kaganski from comment #9)
> (In reply to Volga from comment #7)

Alternatively, can also be done outside a running LO session--simply add/adjust renderings stanzas directly in per user Profile registrymodifications.xcu:

<item oor:path="/org.openoffice.Office.Common/VCL"><prop oor:name="ForceSkiaRaster" oor:op="fuse"><value>true</value></prop></item>
<item oor:path="/org.openoffice.Office.Common/VCL"><prop oor:name="UseSkia" oor:op="fuse"><value>true</value></prop></item>

They won't be there with a new default profile (and Skia Vulkan enabled by default), but you can add them both. And the ForceSkiaRaster will toggle between Skia Vulkan and Skia software based raster framing with edits outside of LibreOffice.
Comment 11 Volga 2025-02-27 14:42:16 UTC
(In reply to Mike Kaganski from comment #5)
> (In reply to Volga from comment #4)
> 
> The dumps indicate a problem in Vulkan initialization. May need to denylist
> your video/driver version.
> 
> In the meantime: forcing software rendering in Skia options should fix it.

Until I see your comment I've uninstalled LibreOffice, and then I reinstalled it on D: drive, then it works for me. Now it's no problem even if I reinstalled it on C: drive again.