Bug 73254 - FILEOPEN: Calc crashes when opening xls document (win only)
Summary: FILEOPEN: Calc crashes when opening xls document (win only)
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.2.0.1 rc
Hardware: Other Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA NoRepro:4.2.0.1:OSX Repro:4.2.0.1...
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-03 10:59 UTC by draganb
Modified: 2026-01-22 13:23 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Failing document (223.88 KB, application/vnd.ms-excel)
2014-01-03 10:59 UTC, draganb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description draganb 2014-01-03 10:59:55 UTC
Created attachment 91456 [details]
Failing document

Problem description: 
Cannot open XLS document. LibreOffice 4.1 just crashes. LO 4.2 gives error : Bad allocation.

The XLS document is exported using the Microsoft Reporting Services built-in XLS export. Not all documents exported from ReportingServices fail, but some do.


Steps to reproduce:
1. Try to open the document


Current behavior:

Expected behavior:

              
Operating System: Windows 7
Version: 4.2.0.1 rc
Comment 1 draganb 2014-01-03 11:23:15 UTC
We concluded that the reason it fails to open is because it contains an image. When we removed the image from the report, it opens without problems.


Also, if the original xls file (with image) is opened in excel, not changed at all, and just saved again as xls file, it opens in LO without problems.
Comment 2 retired 2014-01-03 11:49:37 UTC
NoRepro:4.2.0.1:OSX

I open attached test file and it opens fine without any issues. The image at the top left does not load but since that is not the issue at hand and this bug is about LO crashing when opening the test file might be win only.
Comment 3 Thomas van der Meulen [retired] 2014-01-03 12:01:09 UTC
I can reproduce this bug on windows 4.2.0.1 
The file opens with out a problem in excel and it opens with out a problem on mac and 4.2.0.1
Comment 4 Joel Madero 2015-05-02 15:42:53 UTC Comment hidden (spam)
Comment 5 MM 2015-06-14 02:41:11 UTC
No crash with v4.4.4.1 under window 7 x64.

Indeed the image in the topleft doesn't load, but thats's not the issue here.
Comment 6 Timur 2015-06-30 13:15:47 UTC
Since no crash with LO 4.3.7., I close as WFM.
Image should be searched for in the existing bugs, and reported only if not found.
Comment 7 Commit Notification 2026-01-22 13:11:16 UTC
Justin Luth committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/13d3110c0116b6ce9d3dc59b6523902d461143a7

mso-test tdf#73254 xlsx export: invalid xdr:twoCellAnchor

It will be available in 26.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.