Bug 167990 - Appearance theme extension removal restart destructor fails with skia Vulkan rendering on NVidia GPU
Summary: Appearance theme extension removal restart destructor fails with skia Vulkan ...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
Version:
(earliest affected)
25.8.0.0 alpha0+
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace
Depends on:
Blocks: UI-Theming Skia 164970
  Show dependency treegraph
 
Reported: 2025-08-17 17:02 UTC by V Stuart Foote
Modified: 2025-11-13 16:51 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
WinDbg stack trace of pointer crash at exit destructor with skia Vulkan on nVidia GPU (15.46 KB, text/plain)
2025-08-17 17:02 UTC, V Stuart Foote
Details
25.8.3.2 -- WinDbg ST and analyze on failed restart following Extension mgr removal of Appearance them (14.55 KB, text/plain)
2025-11-13 16:51 UTC, V Stuart Foote
Details

Note You need to log in before you can comment on or make changes to this bug.
Description V Stuart Foote 2025-08-17 17:02:35 UTC
Created attachment 202366 [details]
WinDbg stack trace of pointer crash at exit destructor with skia Vulkan on nVidia GPU

While testing for bug 167987 "Don't ask for a restart on removal of an unused theme" noticed that LO would not actually restart.

I had skia / Vulkan rendering enabled.

Attached process to WinDbg with symbols, the stack trace of the crash during LO detach for the appearance theme removal is attached--affecting the nVidia Vulkan driver support:

skialo!skwindow::internal::VulkanWindowContext::`dynamic atexit destructor for 'fGlobalShared'

When I disabled Vulkan and went to software raster based rendering no issue.

Stack trace with symbols attached.


Version: 25.8.0.2 (X86_64)
Build ID: 80a8bc2ef75d415a197e282da0ebf917315d5e24
CPU threads: 28; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 1 V Stuart Foote 2025-08-17 17:10:45 UTC
Guess that was more the too late action

skialo!GrVkPrimaryCommandBuffer::forceSync

skia\src\gpu\ganesh\vk\GrVkCommandBuffer.cpp @ 698
Comment 2 Noel Grandin 2025-08-17 19:38:27 UTC
I am guessing that some window is not being properly destructed before process shutdown, and that is keeping the fGlobalShared data structure around after the point in time when it should have been shut down.

Other than that, no idea
Comment 3 V Stuart Foote 2025-11-13 16:51:14 UTC
Created attachment 203961 [details]
25.8.3.2 -- WinDbg ST and analyze on failed restart following Extension mgr removal of Appearance them

Remains an issue.

With a 25.8.3.2 build on Windows 11 (25H2) and nVidia 4060 dGPU with skia Vulkan rendering enabled, still getting crash when attempting restart following removal of an Appearance theme extension via Extension manager and the follow-on prompted "restart" LO pop-up.  Have to launch new LO instance.

Same system but with skia raster rendering. No issue and the restart after extension removal succeeds.

=-configs-=
Driver Version	32.0.15.7683 (msinfo32.exe Display)

vulcaninfo.exe (VulkanSDK 1.4.328.1)
Device Properties and Extensions:
=================================
GPU0:
VkPhysicalDeviceProperties:
---------------------------
        apiVersion        = 1.4.303 (4210991)
        driverVersion     = 576.83.0.0 (2417278976)
        vendorID          = 0x10de
        deviceID          = 0x2803
        deviceType        = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
        deviceName        = NVIDIA GeForce RTX 4060 Ti
        pipelineCacheUUID = a552de6d-1faf-8ad5-158b-c59dbef92c16


LO skia.log
-----------
RenderMethod: vulkan
Vendor: 0x10de
Device: 0x2803
API: 1.4.303
Driver: 576.332.0
DeviceType: discrete
DeviceName: NVIDIA GeForce RTX 4060 Ti
Denylisted: no