Bug 134710 - Crash: when writer chart properties close
Summary: Crash: when writer chart properties close
Status: RESOLVED DUPLICATE of bug 138762
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.1.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, haveBacktrace, regression
Depends on:
Blocks: Chart-Sidebar Crash
  Show dependency treegraph
 
Reported: 2020-07-10 10:39 UTC by sawakaze
Modified: 2022-12-22 16:15 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Screen Cast Movie (498.95 KB, video/x-matroska)
2020-07-10 10:40 UTC, sawakaze
Details
bt with debug symbols (11.32 KB, text/plain)
2020-07-10 11:22 UTC, Julien Nabet
Details
sample document (7.42 KB, application/vnd.oasis.opendocument.spreadsheet)
2020-07-30 14:55 UTC, jun meguro
Details
Simple file to reproduce the crash (14.33 KB, application/vnd.oasis.opendocument.text)
2020-11-04 21:36 UTC, Gabor Kelemen (allotropia)
Details
The sidebar after following the repro steps in comment 5 (296.62 KB, image/png)
2022-12-22 11:12 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sawakaze 2020-07-10 10:39:43 UTC
Description:
After the following step, Application Crashed
Detail is Attachment. (screen cast movie)

Steps to Reproduce:
1. Open Writer Document including Chart.
2. Click Chart Object
3. Click "Edit Chart" Button on right Properties bar.
4. Click "Properties" Icon (blue and white button)
-> open blank space on right Properties bar
5. Select other object (For Example, Heading)
-> close blank space
6. Click "Properties" Icon 
-> Application Crash

Actual Results:
Application Crash

Expected Results:
Not Crash
After Step 4, Close properties space.


Reproducible: Always


User Profile Reset: Yes



Additional Info:



I confirm following version

Version: 7.1.0.0.alpha0+
Build ID: a480b32fb7a381fc17d51c2ccd0e8c4455d38792
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: en-US (C); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2020-07-08_15:17:43
Calc: threaded

Desktop Env:MATE
OS: Ubuntu MATE
Comment 1 sawakaze 2020-07-10 10:40:21 UTC
Created attachment 162874 [details]
Screen Cast Movie
Comment 2 Julien Nabet 2020-07-10 11:22:51 UTC
Created attachment 162879 [details]
bt with debug symbols

On pc Debian x86-64 with master sources updated today, I could reproduce this.
I attached a bt.

I noticed these logs too:
warn:legacy.osl:104437:104437:chart2/source/tools/LifeTime.cxx:57: This component is already disposed 
warn:chart2.main:104437:104437:chart2/source/controller/main/ChartController.cxx:197: a well known owner has caught a CloseVetoException after calling close(true)
warn:legacy.osl:104437:104437:chart2/source/tools/LifeTime.cxx:57: This component is already disposed 
warn:chart2:104437:104437:chart2/source/tools/LifeTime.cxx:117: This component is already disposed
Comment 3 Xisco Faulí 2020-07-10 13:13:20 UTC
it seems to be a duplicate of bug 133630

*** This bug has been marked as a duplicate of bug 133630 ***
Comment 4 jun meguro 2020-07-30 14:55:45 UTC
Created attachment 163783 [details]
sample document
Comment 5 Gabor Kelemen (allotropia) 2020-11-04 21:36:04 UTC
Created attachment 167008 [details]
Simple file to reproduce the crash

This still crashes, and not because of an assertion like bug #133630

The "Edit Chart" button is not related to this, simply clicking on the chart to edit it is enough:
- Open sidebar so that you see the paragraph properties.
- Double click on the chart so that the Chart toolbar appears
- Close the sidebar with the Properties button
- Click outside the chart to finish editing
- Click again the sidebars Properties button to get the paragraph properties back -> Crash.

bibisected with bibisect-linux-6.1 repo to:

https://git.libreoffice.org/core/+/af1c5b959462bc7dcd675c6298ca69c69f33bd52

author	Katarina Behrens <Katarina.Behrens@cib.de>	Tue Mar 20 15:31:21 2018 +0100
committer	Katarina Behrens <Katarina.Behrens@cib.de>	Sat Apr 28 18:31:30 2018 +0200

Enable undocking of sidebar by dragging a deck grip
Comment 6 Gabor Kelemen (allotropia) 2020-11-04 21:37:14 UTC
Back to NEW.

Adding CC to: Katarina Behrens
Comment 7 QA Administrators 2022-12-21 03:20:11 UTC Comment hidden (obsolete)
Comment 8 Gabor Kelemen (allotropia) 2022-12-22 11:12:21 UTC
Created attachment 184312 [details]
The sidebar after following the repro steps in comment 5

This seems to have gotten better in

Version: 7.5.0.0.beta1+ (X86_64) / LibreOffice Community
Build ID: 89188837f60d83a901b2c43f73d30e1957920f50
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: hu-HU (hu_HU.UTF-8); UI: en-US
Calc: threaded

Now there is no crash, but the sidebar is empty, which is not exactly the expected behavior. Seems to be like this since 7.1, 7.0 still crashed.
Comment 9 Gabor Kelemen (allotropia) 2022-12-22 16:15:45 UTC
Seems to be fixed since:

https://git.libreoffice.org/core/+/4aa9cb784469b8c13660f36c829c0fadc11c922b

author	Aron Budea <aron.budea@collabora.com>	Wed Dec 09 18:39:54 2020 +0100
committer	Aron Budea <aron.budea@collabora.com>	Fri Dec 11 11:03:42 2020 +0100

tdf#138762: crash when trying to open sidebar w chart in Writer

The changed nature of the sidebar contents can be considered a separate issue.

*** This bug has been marked as a duplicate of bug 138762 ***