Bug 391120 - Crash after inserting top row, then editing cell
Summary: Crash after inserting top row, then editing cell
Status: RESOLVED FIXED
Alias: None
Product: calligrasheets
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Calligra Sheets (KSpread) Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-26 20:05 UTC by Noel Bennett
Modified: 2022-11-16 08:20 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Bug Report generated by drkonqi (9.47 KB, text/plain)
2018-02-26 20:05 UTC, Noel Bennett
Details
The problematic document (4.28 KB, application/vnd.oasis.opendocument.spreadsheet)
2018-02-26 20:06 UTC, Noel Bennett
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Noel Bennett 2018-02-26 20:05:31 UTC
Created attachment 111027 [details]
Bug Report generated by drkonqi

Version is 3.0.1.

Event: Segmentation fault
Steps to replicate:
1. Create basic document
2. Select the cells in the top row, columns B through D.
3. Perform a cut operation.
4. Insert a row at the top.
5. Paste the cut cells into the top row, column b.
6. Witness the segmentation fault.
Comment 1 Noel Bennett 2018-02-26 20:06:03 UTC
Created attachment 111028 [details]
The problematic document
Comment 2 Noel Bennett 2018-02-26 20:07:25 UTC
Crashes when cutting & pasting a single cell, in the same manner.
Comment 3 Noel Bennett 2018-02-26 20:14:23 UTC
(In reply to Noel Bennett from comment #2)
> Crashes when cutting & pasting a single cell, in the same manner.

Should mention specifically that the issue lies with:
1. Creating the document.
2. Inserting a row at the top.
3. Paste content into a cell within the new top row, or edit the cell manually and attempt to save it.
Comment 4 Justin Zobel 2022-11-15 22:58:54 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 5 Noel Bennett 2022-11-16 01:52:49 UTC
I was able to replicate the issue, but only when using the original document:
1. Download the problematic document from the attachment.
2. Open the document via Calligra Sheets.
3. Select the cells B2, C2, D2.
4. Cut.
5. Insert a row above Row 1.
6. Click on cell A2
7. Paste.

That said... if I copy the contents of the original document to a new spreadsheet (click on A1, shift click on E12, copy, paste into new document at A1), then save it... and then replicate the steps above, Calligra Sheets does not crash. It appears the attached document has a integral role in the crash.
Comment 6 Noel Bennett 2022-11-16 01:53:28 UTC
This occurred on a fresh installation of versoin 3.2.1
Comment 7 Tomas Mecir 2022-11-16 08:20:20 UTC
Fixed in next version.