Bug 876606 - Libreoffice can't open a specific xls file
Libreoffice can't open a specific xls file
Product: Fedora
Classification: Fedora
Component: libreoffice (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Michael Stahl
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-11-14 10:01 EST by Pavel Alexeev
Modified: 2013-07-11 22:15 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-02-01 23:37:13 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Broken xls file (602.00 KB, application/vnd.ms-excel)
2012-11-17 15:46 EST, Pavel Alexeev
no flags Details
backtrace of loading failure (2.38 KB, text/plain)
2013-01-02 04:42 EST, David Tardon
no flags Details

External Trackers
Tracker ID Priority Status Summary Last Updated
FreeDesktop.org 53909 None None None Never

  None (edit)
Description Pavel Alexeev 2012-11-14 10:01:47 EST
Description of problem:
I have: LibreOffice ID build: 350m1(Build:2)

On try open just get Generic error.
Please look at initial bugreport: https://www.aquaclusters.com/app/home/project/public/aquadatastudio/issue/7937

It have also example file.

Version-Release number of selected component (if applicable):
# rpm -qa 'libreoffice*'

How reproducible:
Comment 1 Eike Rathke 2012-11-15 08:12:30 EST
Could you attach the file in question?
Comment 2 Pavel Alexeev 2012-11-17 15:46:30 EST
Created attachment 646969 [details]
Broken xls file


Sorry, I had thinking what attachment is public from AquaCluster report.
Comment 3 David Tardon 2012-12-21 07:52:12 EST
Opens fine with my vanilla builds, but fails with Fedora's -> the failure is most probably caused by one of our patches.
Comment 4 David Tardon 2012-12-23 12:10:48 EST
The problem is not caused by any of our patches. The file is misclassified as writer_MS_Works_Document. I am investigating why.
Comment 5 David Tardon 2013-01-02 04:42:29 EST
Created attachment 671339 [details]
backtrace of loading failure

There is a problem loading the stream deep in sot. In the if condition in sot/source/sdstor/stgelem.cxx at line 407, nSize == 0, but nPage1 == -1, so StgEntry::Load returns false. But I have no clue why this apparently is not a problem in my debug build...
Comment 6 Michael Stahl 2013-01-04 13:48:27 EST
this is a 3.5.6 regression from the review patch d5345bfb40d6e33087fd053cc220308a2bc2945e,
the commit for fdo bug 53909 fixes this problem.

i'll add this and preemtively also the other 2 fixes in the upstream
3.6 branch for other regressions from that patch to the f17 package.
Comment 7 Fedora Update System 2013-01-21 05:33:45 EST
libreoffice- has been submitted as an update for Fedora 17.
Comment 8 Pavel Alexeev 2013-01-21 06:37:13 EST
It still does not opened by version of Libreoffice in Fedora 18. Do you plan add patch for F18 branch also?
Comment 9 Eike Rathke 2013-01-21 07:24:56 EST
F18 is already on that should have it from upstream. Please upgrade and try again.
Comment 10 Fedora Update System 2013-01-22 21:04:03 EST
Package libreoffice-
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libreoffice-'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
Comment 11 Fedora Update System 2013-01-23 01:39:07 EST
libreoffice- has been submitted as an update for Fedora 17.
Comment 12 Fedora Update System 2013-02-01 23:37:15 EST
libreoffice- has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 13 Pavel Alexeev 2013-02-07 10:56:41 EST
Eike, thank you very much. It works now.

Note You need to log in before you can comment on or make changes to this bug.