Bug 90044 - Writer crashes when opening DOCX
Summary: Writer crashes when opening DOCX
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.2.4.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-16 21:22 UTC by Apelsecs
Modified: 2015-10-29 12:15 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
windows backtrace (36.50 KB, text/plain)
2015-03-16 21:22 UTC, Apelsecs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Apelsecs 2015-03-16 21:22:04 UTC
Created attachment 114137 [details]
windows backtrace

I have a big business DOCX document (~22MB) originally created in MsWord.
It contains all kinds of stuff - tables, graphics, comments, etc...

When the document is double-clicked Writer shows it and keeps loading in background for about 1,5 minutes. during that period I can scroll the document from top to bottom without any problems but even if I do absolutely nothing, after 1,5 minutes it consistently crashes. If I discard recovering, it gives a fatal error "Unknown SEH Exception".

It fails on Windows since LO version 4.2.4.1 up to current release 4.4.1.2
I also tested it on Linux with LO 3.5.4.2 - it seems to be working.  
There are no problems in MsWord as well.

Windows Backtrace file is attached.
Comment 1 Robinson Tryon (qubit) 2015-03-19 15:53:29 UTC
(In reply to Apelsecs from comment #0)
> Created attachment 114137 [details]
> windows backtrace
> 
> I have a big business DOCX document (~22MB) originally created in MsWord.
> It contains all kinds of stuff - tables, graphics, comments, etc...
> 
> When the document is double-clicked Writer shows it and keeps loading in
> background for about 1,5 minutes. during that period I can scroll the
> document from top to bottom without any problems but even if I do absolutely
> nothing, after 1,5 minutes it consistently crashes.

Hi Apelsecs,
If you zip-up the file and remove any personal information, is it small enough to upload to this bugtracker? Perhaps you can remove some images or etc... and still cause the crash? That would be the best way for us to reproduce the problem and make some headway here.

Status -> NEEDINFO
Comment 2 Apelsecs 2015-03-21 00:02:52 UTC
Thanks for the reply!

Well, I wanted to do that since the beginning but unfortunately, if I touch anything in it and save, that heisenbug disappears.

Here are some new testing results:
1. I tried to save document under another name using MsWord2013: it give me an option to upgrade document to latest version or keep compatibility with older versions.
If I agree to upgrade and then open that document with LO - bug disappears, otherwise, it stays there.
How can I find the version of original document?

2. Document is under "revision". It allows me to accept/reject "insertions" and "format changes". If I accept all insertions, save it and open with LO - bug disappears. Basically, I can't remove anything from the document without accepting changes, that breaks the bug reproduction.

I already had troubles with that revisions in the past, then LO shown them incorrectly, so it could be related to this crash. I'll play around it and let you know.

I could debug it better with debugger, if you let me know how.
Comment 3 QA Administrators 2015-10-14 19:50:24 UTC
Dear Bug Submitter,

This bug has been in NEEDINFO status with no change for at least 6 months. Please provide the requested information as soon as possible and mark the bug as UNCONFIRMED. Due to regular bug tracker maintenance, if the bug is still in NEEDINFO status with no change in 30 days the QA team will close the bug as INVALID due to lack of needed information.

For more information about our NEEDINFO policy please read the wiki located here: 
https://wiki.documentfoundation.org/QA/FDO/NEEDINFO

If you have already provided the requested information, please mark the bug as UNCONFIRMED so that the QA team knows that the bug is ready to be confirmed.


Thank you for helping us make LibreOffice even better for everyone!


Warm Regards,
QA Team

This NEEDINFO message was generated on: 2015-10-14
Comment 4 Timur 2015-10-29 12:15:12 UTC
Sorry, but without the document, leaving this bug open doesn't make sense.