Bug 86360 - Calc crashes hard during sort if sort is: descending, by columns, all cells empty except sort value
Summary: Calc crashes hard during sort if sort is: descending, by columns, all cells e...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.3.3.2 release
Hardware: All macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-17 01:37 UTC by David Ruggiero
Modified: 2015-04-21 15:06 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
example spreadsheet to reproduce sort crash (10.58 KB, application/vnd.oasis.opendocument.spreadsheet)
2014-11-17 01:37 UTC, David Ruggiero
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Ruggiero 2014-11-17 01:37:29 UTC
Created attachment 109577 [details]
example spreadsheet to reproduce sort crash

LO 4.3.3.2 under Mac OS X 10.6.8 (Snow Leopard). Calc crashes 100% of the time, hard and reproducibly, by:

- selecting a range of cells with some values in row 1 (mine are all numeric)
- rows 2 through end of selection are empty / have NO data values (i.e., are all blank cells except for formatting)
- options selected: sort is descending, sort by columns, sort by values in row 1

LO immediately crashes after clicking "sort". However, if there is ANY data in the range, the crash doesn't happen. If the sort is ascending, the crash doesn't happen. This is a small number of rows/columns, btw - maybe 10x10 max.

[Why am I sorting an empty range? Some cells are highlighted (even though blank) and I was trying to reverse the order of the highlighted cells.])

Someone else verify on their setup...want to make sure this isn't somehow snow leopard specific.

Example spreadsheet is attached so you can reproduce. Select A1:J18, data->sort-> options "by columns", descending, row 1.
Comment 1 Matthew Francis 2014-11-17 02:42:36 UTC
I could not reproduce this on OSX 10.9.5 / LO 4.3.4.1

Could you please try with 4.3.4 and see if that fixes the problem for you? Thanks


Setting this to NEEDINFO for now. If you can still reproduce this with 4.3.4, please set the status back to UNCONFIRMED and we will investigate further.
Comment 2 David Ruggiero 2014-11-17 06:22:13 UTC
Upgraded to 4.3.4.1. Unable to reproduce. Must have been fixed by another change since 4.3.3.2. You are welcome to close if nothing else needs documenting here.
Comment 3 Matthew Francis 2014-11-17 06:28:47 UTC
Good to hear. Thanks for testing it again

Setting -> RESOLVED