Bug 128764 - Trying to delete an XY-Chart causes crash
Summary: Trying to delete an XY-Chart causes crash
Status: RESOLVED DUPLICATE of bug 127306
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.3.2.2 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-13 07:56 UTC by Laszlo
Modified: 2019-11-13 20:26 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example for reproducing bug (15.17 KB, application/vnd.oasis.opendocument.spreadsheet)
2019-11-13 15:21 UTC, Laszlo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Laszlo 2019-11-13 07:56:31 UTC
Description:
After creating an point-and-lines chart (with time and values columns) tried to delete it. After an error message "getCurrentController was called on an already disposed or closed model" calc disappears. Lost data could be reconstructed by next start through recovery.
I use Austrian/German settings.

Steps to Reproduce:
1. Create two columns e.g. 
Time	Current
15:13:00	810
15:25:00	705

2. Draw an XY-Chart with point-and-lines
3. Delete the chart (focus is table only or whole picture)
4. after the error message Calc closes itself

Actual Results:
Crash

Expected Results:
Chart should disappear


Reproducible: Always


User Profile Reset: No



Additional Info:
getCurrentController was called on an already disposed or closed model

Version: 6.3.2.2 (x64)
Build-ID: 98b30e735bda24bc04ab42594c85f7fd8be07b9c
CPU-Threads: 4; BS: Windows 10.0; UI-Render: GL; VCL: win; 
Gebietsschema: de-AT (de_AT); UI-Sprache: de-DE
Calc: threaded
Comment 1 Xisco Faulí 2019-11-13 14:01:04 UTC
Thanks for reporting this issue.
I can't reproduce it in

Version: 6.4.0.0.alpha1+
Build ID: 26b7ff2b6cc4def8ff7b02e223961534ba88e654
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
Calc: threaded

Please attach a sample document, as this makes it easier for us to verify the bug. 
(Please note that the attachment will be public, remove any sensitive information before attaching it. 
See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.)

I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
Comment 2 Laszlo 2019-11-13 15:21:06 UTC
Created attachment 155788 [details]
Example for reproducing bug

I created an XY-chart, than deleted (del button).
After that created a line-chart and tried to delete -> crash.
Remarks
1: Language/territory selection can play a role
2: Try to create and delete different art of charts
3: The bug hits me not really, I want to save others to loose data
Comment 3 Oliver Brinzing 2019-11-13 17:16:42 UTC
this issue could be a duplicate of:

Bug 127306 - CRASH: Closing LibreOffice after deleting a chart 

it should be fixed with LO 6.3.3, can you please check?
Comment 4 Laszlo 2019-11-13 18:36:25 UTC
In the newer version Calc seems to behave correctly.
Bug could not be reproduced.

Version: 6.3.3.2 (x64)
Build-ID: a64200df03143b798afd1ec74a12ab50359878ed
CPU-Threads: 4; BS: Windows 10.0; UI-Render: GL; VCL: win; 
Gebietsschema: de-AT (de_AT); UI-Sprache: de-DE
Calc: threaded
Comment 5 Oliver Brinzing 2019-11-13 20:26:26 UTC
(In reply to Laszlo from comment #4)
> In the newer version Calc seems to behave correctly.
> Bug could not be reproduced.
> Version: 6.3.3.2 (x64)

ok, thanks for checking, setting issue to RESOLVED/DUPLICATE

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