Bug 159493 - Assertion failed when opened an OLE in a text document
Summary: Assertion failed when opened an OLE in a text document
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Mike Kaganski
URL:
Whiteboard: target:24.8.0
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-01 05:46 UTC by Mike Kaganski
Modified: 2024-02-01 10:23 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
A Package OLE (12.01 KB, application/vnd.oasis.opendocument.text)
2024-02-01 05:46 UTC, Mike Kaganski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kaganski 2024-02-01 05:46:25 UTC
Created attachment 192313 [details]
A Package OLE

Open the attached document using a master dbgutil build; double-click on the OLE object in it, and when asked if you want to open the PDF, confirm it.

On Windows, this gets printed to console:

> Assertion failed: ImplGetSVData()->mpDefInst->GetYieldMutex()->IsCurrentThread()
> && "SolarMutex not owned!", file C:/lo/core/vcl/source/app/dbggui.cxx, line 35

and the dialog is shown:

---------------------------
Microsoft Visual C++ Runtime Library
---------------------------
Debug Error!

Program: C:\lo\build\instdir\program\soffice.bin

abort() has been called

(Press Retry to debug the application)

---------------------------
Abort   Retry   Ignore   
---------------------------
Comment 1 Commit Notification 2024-02-01 10:22:40 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/575a713aae2beb4402ea9c41802311966329b8ea

tdf#159493: hold solar mutex in TimerUpdate

It will be available in 24.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.