Bug 123035 - Crash after undoing chart and shape insertion, then closing LO
Summary: Crash after undoing chart and shape insertion, then closing LO
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
3.5.0 release
Hardware: All All
: high major
Assignee: Not Assigned
Keywords: haveBacktrace, preBibisect, regression
Depends on:
Blocks: Undo-Redo Shapes Crash
  Show dependency treegraph
Reported: 2019-01-29 11:16 UTC by Aron Budea
Modified: 2020-05-16 21:39 UTC (History)
1 user (show)

See Also:
Crash report or crash signature: ["SdrObject::Free(SdrObject * &)"]

Backtrace (4.10 KB, text/plain)
2019-01-29 11:16 UTC, Aron Budea

Note You need to log in before you can comment on or make changes to this bug.
Description Aron Budea 2019-01-29 11:16:53 UTC
Created attachment 148733 [details]

I came across this when chasing bug bug 122942 and bug 123032, but is completely independent from them.

- Start a new document,
- Insert a chart,
- Insert a shape by Ctrl-clicking on the respective toolbar icon (this inserts it in the middle of the view),
- Undo the changes until you get back an empty document.
- Close LO, or just the document.

=> Crash. VS says: "Exception thrown: read access violation. this was 0xFFFFFFFFFFFFFFFF."
At https://opengrok.libreoffice.org/xref/core/include/com/sun/star/uno/Reference.h?r=06ec8a95#94

No crash report is generated. Attaching backtrace.

Observed using LO (76c7a6c39d769cb9bdb9b951d9f95507c0139372), / Windows 7.
No crash when using LO 3.3.0.
=> regression

If crash is reproducible in Linux, it has to be checked with oldest commit of bibisect-43all whether it's bibisectable or not.
Comment 1 Aron Budea 2019-01-29 11:28:09 UTC
Crashes in Linux as well, and even with oldest commit of bibisect-43all. => preBibisect
Comment 2 Timur 2019-01-29 16:04:18 UTC
Repro 6.3+ in Windows. 
I got crash report, but without link.
Comment 3 Aron Budea 2019-10-17 22:50:42 UTC
Still crashes in LO (9b5dad13b56bdde7c40970351af3da3a2c3c9350) / Ubuntu 19.04.
Comment 4 Telesto 2020-05-16 20:11:03 UTC
No crash for me.. The save dialog appears.. Every time.. also in older versions

Version: (x64)
Build ID: f9790da286f2d2fa47f1748f8cfa6172c6622ca3
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win; 
Locale: de-CH (nl_NL); UI: en-US
Calc: CL