Bug 162051 - LO freezes then crashes when making a change to an OLE object and Development Tools are open on Properties tab
Summary: LO freezes then crashes when making a change to an OLE object and Development...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.0.4 release
Hardware: x86-64 (AMD64) All
: medium critical
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace
Depends on:
Blocks: Crash UNO-Object-Inspector
  Show dependency treegraph
 
Reported: 2024-07-16 07:43 UTC by Vas
Modified: 2024-07-18 04:52 UTC (History)
1 user (show)

See Also:
Crash report or crash signature: ["VCRUNTIME140_1.dll"]


Attachments
Test Document for LO Crash Report (5.24 MB, application/octet-stream)
2024-07-17 12:32 UTC, Vas
Details
gdb trace (564.11 KB, application/zip)
2024-07-18 04:52 UTC, Stéphane Guillou (stragu)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vas 2024-07-16 07:43:50 UTC
Description:
The Development Tools window is open to view the various properties and methods of the current file. I have "Current Selection" enabled. If I right click on the OLE object in the document and select properties and make a change, LO as a whole becomes unresponsive and will eventually crash. Making a change without the Dev tools window open is ok.

I've only tried this in Writer, so I don't know if this is a problem elsewhere.

Steps to Reproduce:
1. Open Development Tools window in Writer
2. Select "Current Selection"
3. Select an OLE object
4. R-click on the OLE object and select properties then make a change and press "OK"
5. LO becomes unresponsive and eventually crashes

Actual Results:
LO becomes unresponsive and after a few seconds LO will eventually crash

Expected Results:
Any changes to the OLE object properties are reflected in the properties window of the Development Tools window without any crash.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.6.4.1 (X86_64) / LibreOffice Community
Build ID: e19e193f88cd6c0525a17fb7a176ed8e6a3e2aa1
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: en-GB (en_GB); UI: en-GB
Calc: CL threaded
Comment 1 Stéphane Guillou (stragu) 2024-07-17 07:48:03 UTC
Not reproduced with a chart object on Linux:

Version: 7.6.7.2 (X86_64) / LibreOffice Community
Build ID: dd47e4b30cb7dab30588d6c79c651f218165e3c5
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US

Not on Windows 11:

Version: 24.2.4.2 (X86_64) / LibreOffice Community
Build ID: 51a6219feb6075d9a4c46691dcfe0cd9c4fff3c2
CPU threads: 4; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US

I tried changing the object size, the protected properties, and the wrap.

LO 7.6 will not get any more updates. Can you please update to 24.2 and try again?
If you can still reproduce, please provide more precise steps.
Thank you!
Comment 2 Vas 2024-07-17 12:32:43 UTC
Created attachment 195350 [details]
Test Document for LO Crash Report

One page document containing an OLE image. Can be used to test the crash
Comment 3 Vas 2024-07-17 12:39:15 UTC
I have tested this against the latest version in Windows. I have attached a test file to play with and also added links to three crash reports.

LO 24.2.5.2
https://crashreport.libreoffice.org/stats/crash_details/4592de59-6626-4961-a287-7722bbb6acc3#frames (crash after I changed object properties)

LO 7.6.4.1
https://crashreport.libreoffice.org/stats/crash_details/05244746-eebb-405b-a68e-0a0670bac937 (crash after I changed object properties)

https://crashreport.libreoffice.org/stats/crash_details/281916be-657b-4434-865f-371649d0782e (crash after I saved the file)

I have manage to make Writer crash just by saving the document, not even making a change to the properties. All it needs are steps 1-4 below

Steps to Reproduce:
1. Open Development Tools window in Writer (minimised or in view)
2. Select "Current Selection"
3. Select "Properties" tab
4. Select an OLE object

These two scenarios will cause a crash
5a. R-click on the OLE object and select properties then make a change and press "OK"
5b. Save the document

6. LO becomes unresponsive and eventually crashes
Comment 4 QA Administrators 2024-07-18 03:15:56 UTC Comment hidden (obsolete)
Comment 5 Stéphane Guillou (stragu) 2024-07-18 04:09:16 UTC
(In reply to Vas from comment #3)
> These two scenarios will cause a crash
> 5a. R-click on the OLE object and select properties then make a change and
> press "OK"
> 5b. Save the document
Thanks, I can reproduce now, I changed the name of the object, pressed OK, then it froze and eventually crashed. Same if I save the document with changing the object's properties instead.

In a recent trunk build:

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: bbd5079c58e352ece8f10328f8dcda9819c4cfbe
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded

As well as:

Version: 24.2.5.2 (X86_64) / LibreOffice Community
Build ID: bffef4ea93e59bebbeaf7f431bb02b1a39ee8a59
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Already the case in LO 7.2.0.4, so likely since Development Tools was implemented.
Comment 6 Stéphane Guillou (stragu) 2024-07-18 04:52:17 UTC
Created attachment 195365 [details]
gdb trace