Bug 98439 - Calc crashes on doing sort
Summary: Calc crashes on doing sort
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
5.1.1.1 rc
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-05 06:12 UTC by Elmar
Modified: 2016-03-09 13:05 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
file that crashes on sort (22.76 KB, application/vnd.oasis.opendocument.spreadsheet)
2016-03-05 06:12 UTC, Elmar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Elmar 2016-03-05 06:12:02 UTC
Created attachment 123309 [details]
file that crashes on sort

calc crashes when doing sort.
Appears to be related to setting: 

1. added data to existing sheet "Bal"
2. noted that did not recognise when testing for "bal" in formula
3. changed setting to be case insensitive
4. captured data
5. sorted on date column
6. crashes
7. changed setting back to case sensitive
8. get fatal error: std::bad_alloc
9. became unpredictable after this, once it worked on sort, but cannot recreate
Comment 1 raal 2016-03-05 19:36:58 UTC
No crash when sorting  with Version: 5.2.0.0.alpha0+
Build ID: aaca25d67eb5ea252730cdcf555ecc04ce04a5e6
CPU Threads: 4; OS Version: Linux 4.2; UI Render: default; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2016-02-24_23:58:47

Seems to be fixed in dev version. Please could you test with dev version?
http://dev-builds.libreoffice.org/daily/master/
Thank you
Comment 2 Elmar 2016-03-07 14:07:34 UTC
Have not tested in 5.2
I have just created a virtualbox version of LM XFCE, it does not crash there with LO 4.4.3.2.
Are there simple instructions on how I can test it in LO 5.2.0.0? (Without disturbing the installed versions?
Comment 3 Elmar 2016-03-07 14:13:33 UTC
I thought it might be a problem in LO 5.1.1.1 rc
so I removed it in reinstalled 5.1.0.3, but that turned out to be wasted effort. crashes in that version too.
Comment 4 raal 2016-03-08 07:54:53 UTC
(In reply to Elmar from comment #2)

> Are there simple instructions on how I can test it in LO 5.2.0.0? (Without
> disturbing the installed versions?

Download master build from http://dev-builds.libreoffice.org/daily/master/

for example http://dev-builds.libreoffice.org/daily/master/Linux-rpm_deb-x86@71-TDF/current/
unpack
sudo dpkg -i *

it's installed into /opt/libreofficedev5/
Comment 5 Elmar 2016-03-09 12:46:15 UTC
created LMC17.3 virtualbox
tested the sort with LO 5.0.3.2
changed setting to case insensitive, and formula to ExcelA1
has not crashed

created an LMC17.3 virtual machine with LO 5.2.0.0 
has also not crashed.
Thanks Raal

seems is just a problem with LO 5.1
(In reply to raal from comment #4)
> (In reply to Elmar from comment #2)
> 
> > Are there simple instructions on how I can test it in LO 5.2.0.0? (Without
> > disturbing the installed versions?
> 
> Download master build from http://dev-builds.libreoffice.org/daily/master/
> 
> for example
> http://dev-builds.libreoffice.org/daily/master/Linux-rpm_deb-x86@71-TDF/
> current/
> unpack
> sudo dpkg -i *
> 
> it's installed into /opt/libreofficedev5/

Thanks  -I created a new VB0x with LMC17.3 
Installed LO 5.2.0.0 as you suggested
Worked fine

I also tested with LO 5.0.3.2
Also no problem
Comment 6 raal 2016-03-09 13:05:40 UTC
Thanks for testing. Closing bug.