Bug 99788 - Calc spreadsheet crash when trying to show Math OLE equation
Summary: Calc spreadsheet crash when trying to show Math OLE equation
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
5.1.2.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-12 00:58 UTC by Bret R
Modified: 2016-05-12 18:40 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
.ods File with Math Equation Which Triggers Crash (28.69 KB, application/vnd.oasis.opendocument.spreadsheet)
2016-05-12 00:58 UTC, Bret R
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bret R 2016-05-12 00:58:00 UTC
Created attachment 124994 [details]
.ods File with Math Equation Which Triggers Crash

A spreadsheet our office uses regularly crashes (Fatal Error / bad allocation) when Calc 5.1.x attempts to render a particular Math equation on-screen. A stripped-down version of this spreadsheet is attached (which is also confirmed to have the same crash behavior).

Three other Math plug-in equations are nearby on the page, and Calc can render them without crashing.

We have confirmed that no crash is triggered by this equation in LibreOffice 5.0.6 or OpenOffice 4.1.x. We have not confirmed whether LibreOffice 5.1.0 or 5.1.1 crash, but I suspect they will.

(Rendering of the equations in 5.1.x is also significantly worse than in 5.0.x, but I will enter a separate ticket for that.)
Comment 1 Bret R 2016-05-12 01:24:46 UTC
An additional data point: The crash occurs whether OpenGL is disabled or not.
Comment 2 Jean-Baptiste Faure 2016-05-12 04:43:34 UTC
No crash for me:
- when editing the file
- when editing each math equation

Tested with LO 5.1.4.0.0+ and the master, both built at home under Ubuntu 16.04 x86-64.

Best regards. JBF
Comment 3 raal 2016-05-12 05:30:35 UTC
I can repro crash with 5.1.1.3, but no crash with Version: 5.2.0.0.alpha1+; win7

Seems to be fixed with dev version. Please could you test it with dev version?  You can download it here: http://dev-builds.libreoffice.org/daily/master/
Thank you
Comment 4 Bret R 2016-05-12 15:51:23 UTC
I've installed 5.2.0.0.alpha1+ on my Win7 machine and confirmed that the dev version does not trigger the same crash.

Noticing that 5.1.3.2 has just been released, I installed and tested that as well, and it appears to not trigger the crash either.

Marking this RESOLVED/FIXED for now; it can be reopened if problems are encountered on other Windows machines. Thanks!
Comment 5 raal 2016-05-12 18:40:15 UTC
Thanks for testing. Correct status WFM.