Bug 142364 - Crash when closing document after canceling chart wizard (Writer)
Summary: Crash when closing document after canceling chart wizard (Writer)
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Hardware: All All
: medium normal
Assignee: Caolán McNamara
Whiteboard: target:7.2.0
Keywords: bibisected, bisected, haveBacktrace, regression
Depends on:
Reported: 2021-05-19 03:14 UTC by Aron Budea
Modified: 2021-05-25 17:11 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:

Backtrace (26.48 KB, text/plain)
2021-05-19 03:14 UTC, Aron Budea

Note You need to log in before you can comment on or make changes to this bug.
Description Aron Budea 2021-05-19 03:14:00 UTC
Created attachment 172157 [details]

In an empty Writer document:
- add a table,
- with the caret in the table, click the chart icon in the toolbar to add a chart, this opens the chart wizard,
- cancel the wizard, and close the document (no need to save it).

=> Crash.

Observed using LO Version: (c781776f3c79bbe3175b1452d26c79ebb931a500) / Ubuntu.
No crash in LO
=> regression

Bibisected to the following commit using repo bibisect-linux-64-7.2. Adding CC: to Caolán McNamara.

author		Caolán McNamara <caolanm@redhat.com>	2021-03-04 17:22:14 +0000
committer	Caolán McNamara <caolanm@redhat.com>	2021-03-11 17:42:22 +0100

remove intermediate containers in sidebars
Comment 1 Caolán McNamara 2021-05-19 15:57:04 UTC
I wonder if that always threw an exception, just that now its in a destructor that's fatal
Comment 2 Commit Notification 2021-05-19 19:38:38 UTC
Caolán McNamara committed a patch related to this issue.
It has been pushed to "master":


tdf#142364 exception thrown during destruction

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

Affected users are encouraged to test the fix and report feedback.
Comment 3 BogdanB 2021-05-25 17:11:18 UTC
No crash

Verified in
Version: / LibreOffice Community
Build ID: 42d2b2d55a27f11153ea1713737d93540a19211d
CPU threads: 4; OS: Linux 5.8; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded