Bug 55728 - Crash Opening Word .docx document
Summary: Crash Opening Word .docx document
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.6.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium critical
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2012-10-07 14:54 UTC by John Mellor
Modified: 2012-12-18 14:44 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Normal application document from the City (978.97 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2012-10-07 14:54 UTC, John Mellor
Details
Traceback generated by abrt (167.86 KB, text/plain)
2012-10-07 15:01 UTC, John Mellor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Mellor 2012-10-07 14:54:24 UTC
Created attachment 68209 [details]
Normal application document from the City

.docx document received in Evolution mail, opened with default application (LibreOffice Writer), and LibreOffice crash.

Save to a file, and attempt to open without Evolution in the chain.  Same crash.

Copy file to a Windows-7 host, and document opens without issue.

Abrt traceback is matched to https://bugzilla.redhat.com/show_bug.cgi?id=758860, which is an old bug in LibreOffice 3.4.4.  It is not clear whether this is re-introduced in Fedora-latest or Abrt is mismatching bugs.

100% repeatable.  Environment is fully-updated Fedora-17 on an AMD processor.
Comment 1 John Mellor 2012-10-07 15:01:17 UTC
Created attachment 68210 [details]
Traceback generated by abrt

Traceback generated by abrt
Comment 2 John Mellor 2012-10-07 15:16:35 UTC
Redhat bug https://bugzilla.redhat.com/show_bug.cgi?id=863810 created, in case the problem is due to problems building LibreOffice in Fedora-17.
Comment 3 leighman 2012-10-07 21:09:35 UTC
Is the Windows host using the same version?

I don't get a crash using 3.5.4 or current master on Ubuntu 12.04 or 3.6.2 on 12.10 so looks like either Fedora specific or a regression in the 3.5 series.
Comment 4 John Mellor 2012-10-07 22:55:46 UTC
The differences between the (presumably) Windows host that created the document and the one that I used to check it are unknown.  I used the home & student edition, and presumably they used a more expensive and more complete version.

I have a Ubuntu 12.10 install at work, so it sounds like I'll be able to fill out the form from there.
Comment 5 Michael Stahl (allotropia) 2012-10-08 13:21:30 UTC
this is a regression in LO 3.5.5 on the libreoffice-3-5 branch;
current libreoffice-3-6 appears not not crash or loop.

it appears the commit on the libreoffice-3-5 branch that
makes the import fail is d32f3048052af80b21e8968d24eb55c48d298052

it doesn't crash for me but complains about some
invalid nodes array index and then goes into infinite loop.
Comment 6 Michael Meeks 2012-10-08 14:20:25 UTC
I wonder how serious this is; how many .docx documents trigger the mis-behaviour; presumably not all - is it isolated to those containing embedded shapes or somesuch ? ...
Comment 7 Michael Meeks 2012-12-18 14:44:14 UTC
This appears to work nicely in 3.6.x and 4.x betas and master - so since 3.5 is at end-of-life, closing this. Apparently we missed something necessary for the back-port of that - sorry about that & thanks for filing the bug !