[Libreoffice-bugs] [Bug 132714] New: Crash when deleting table-row used for diagram generation.

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue May 5 12:20:47 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=132714

            Bug ID: 132714
           Summary: Crash when deleting table-row used for diagram
                    generation.
           Product: LibreOffice
           Version: 6.2.8.2 release
          Hardware: x86-64 (AMD64)
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: sebbes333 at gmail.com

Description:
First, this is the bug report:
https://crashreport.libreoffice.org/stats/crash_details/f22c0a1f-e712-41b7-8d9a-0414f1101036

(I couldn't find any way to add recreation details to the automatic crash
report (consider adding a field for user text before sending the automatic
crash report, so I don't have to post several crash reports again)).

Here are recreation details:
#1: Make a table (in my case: X=3 & Y=7).
#2: Fill in some random numbers in the table.
#3: Select the table & go to: "Insert > Diagram".
#4: Generate a diagram from the data in the table.
#4.1: When done & the diagram works as expected.
#5: Go to the table & delete 1 row.
#6: Double click the diagram, so it updates the values. BOOOOM!!!
#7: Crash!

Additional data:
#1.1 In my case I used X-row-1 for axis-titles, set to heading-2
I also left the 2'nd row empty (because I tried to make the diagram not look
weird (didn't work)).
#3.1: In my case I used a line diagram with data points.

Crash Cause assumption:
I assume that the diagram isn't updated properly & tries to read the last row
that no longer exist & therefore returns some undefined- or null-value that
isn't captured & handled as it should.

Hope this is helpful.
Good luck!

Steps to Reproduce:
see description.

Copy from description:

Here are recreation details:
#1: Make a table (in my case: X=3 & Y=7).
#2: Fill in some random numbers in the table.
#3: Select the table & go to: "Insert > Diagram".
#4: Generate a diagram from the data in the table.
#4.1: When done & the diagram works as expected.
#5: Go to the table & delete 1 row.
#6: Double click the diagram, so it updates the values. BOOOOM!!!
#7: Crash!

Additional data:
#1.1 In my case I used X-row-1 for axis-titles, set to heading-2
I also left the 2'nd row empty (because I tried to make the diagram not look
weird (didn't work)).
#3.1: In my case I used a line diagram with data points.


Actual Results:
Crash to desktop & recreation of the document with possibly some loss of data.

Expected Results:
A working diagram.


Reproducible: Always


User Profile Reset: No



Additional Info:
LibreOffice version: 6.2.8.2 An older version?

see description.

Crash Cause assumption:
I assume that the diagram isn't updated properly & tries to read the last row
that no longer exist & therefore returns some undefined- or null-value that
isn't captured & handled as it should.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200505/62235fb4/attachment.htm>


More information about the Libreoffice-bugs mailing list