Bug 96449 - Calc crashes with this particular ODS file
Summary: Calc crashes with this particular ODS file
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
5.1.0.0.beta1
Hardware: x86-64 (AMD64) Linux (All)
: high normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace, regression
Depends on:
Blocks:
 
Reported: 2015-12-12 22:38 UTC by Jean-Baptiste Faure
Modified: 2016-03-30 04:56 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Calc crashes on this file (57.64 KB, application/vnd.oasis.opendocument.spreadsheet)
2015-12-12 22:38 UTC, Jean-Baptiste Faure
Details
bt with debug symbols (17.30 KB, text/plain)
2015-12-12 23:17 UTC, Julien Nabet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Baptiste Faure 2015-12-12 22:38:37 UTC
Created attachment 121249 [details]
Calc crashes on this file

Step to reproduce:
1/ open the attached file
2/ click on the second tab (consommation) ==> crash
3/ reopen th file and add some values in the column A, C, D, I at row 22, then select C22 and press the Delete key ==> crash
4/ reopen the file and try to delete a value in column C ==> crash
5/ reopen the file, then look at column J and see that J10:J21 range shows values 0, these values are erroneous because the sum involved in each formula is not null.

The crash is reproduced with my own build :
Version: 5.1.0.0.beta2+
Build ID: 8f63516df72b49e9347d90750f6d3ef3d4a1813f
Threads 4; Ver: 4.2; Render: default; 
Ubuntu_15.10_x86-64
Locale : fr-FR (fr_FR.UTF-8)

and with the build provided by Mageia Cauldron: Build ID: 5.1.0.0-0.beta2.3.mga6

Best regards. JBF
Comment 1 Jean-Baptiste Faure 2015-12-12 22:41:22 UTC
I forgot to add:
6/ reopen the file and do nothing ==> Calc crashes after 2 or 3 minutes.

Best regards. JBF
Comment 2 Julien Nabet 2015-12-12 23:17:45 UTC
Created attachment 121250 [details]
bt with debug symbols

On pc Debian x86-64 with master sources updated 2 days ago, I could reproduce this.
Comment 3 Julien Nabet 2015-12-12 23:19:52 UTC
The bt I attached was the crash on second tab.
BTW, I don't reproduce this same crash with LO Debian package 5.0.4RC1
Comment 4 m_a_riosv 2015-12-13 01:42:50 UTC
Not reproducible, Win10x64
Version: 5.1.0.0.beta2+ (x64) Build ID: aa30fb5c901ae7700efde5c55e137c8cd42cb230
Threads 4; Ver: Windows 6.19; Render: GL;
Comment 5 Julien Nabet 2015-12-18 22:30:59 UTC
Perhaps this patch http://cgit.freedesktop.org/libreoffice/core/commit/?id=ddeca090ba612cdd5a2d55785fb1c4b66b6bc0a5 fixes this.

I'll try to find some time once I update my local repo.
Comment 6 Julien Nabet 2015-12-19 16:21:12 UTC
(In reply to Julien Nabet from comment #5)
> Perhaps this patch
> http://cgit.freedesktop.org/libreoffice/core/commit/
> ?id=ddeca090ba612cdd5a2d55785fb1c4b66b6bc0a5 fixes this.
> 
> I'll try to find some time once I update my local repo.

No better with master sources updated today (dd258f168f7e5952a71d84a2564c3d5162a613c8) :-(
Comment 7 Markus Mohrhard 2016-03-27 13:30:24 UTC
I can't reproduce any of these issues in master. There were also recently quite a few patches fixing issues around the ScRefCellMAtrix including some memory corruption issues.
Comment 8 Jean-Baptiste Faure 2016-03-30 04:56:09 UTC
(In reply to Markus Mohrhard from comment #7)
> I can't reproduce any of these issues in master. There were also recently
> quite a few patches fixing issues around the ScRefCellMAtrix including some
> memory corruption issues.

Thank you for the reminder.

Not reproducible anymore for me too with LO 5.1.3.0.0+ built at home under Ubuntu 15.10 x86-64

Closing as WorksForMe.
Best regards. JBF