Issue 118533 - Crash opening very small docx file
Summary: Crash opening very small docx file
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: open-import (show other issues)
Version: OOo 3.3
Hardware: PC All
: P3 Critical (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: crash, ms_interoperability
Depends on:
Blocks:
 
Reported: 2011-10-20 13:23 UTC by Philippe DE RIVAROLA
Modified: 2017-05-20 10:35 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
File that causes the crash (131.39 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2011-10-20 13:24 UTC, Philippe DE RIVAROLA
no flags Details
ODT-export by Microsoft_Word_2010 (115.59 KB, application/vnd.oasis.opendocument.text)
2012-03-04 07:00 UTC, ape
no flags Details
Simple test file to reproduce this issue (12.26 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2014-01-10 11:39 UTC, Franz de Copenhague
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Philippe DE RIVAROLA 2011-10-20 13:23:13 UTC
OpenOffice cannot open the attached docx file, that have been saved by MS Word 2007. Tried with OO 3.2 and 3.3 on Win XP and LibreOffice 3.3.4 on Ubuntu. All three crash when opening the file.
If you open the file with Word, remove the yellow rows in the table, and save the document, then OO can open it.
Comment 1 Philippe DE RIVAROLA 2011-10-20 13:24:24 UTC
Created attachment 76906 [details]
File that causes the crash
Comment 2 Marcus 2011-10-20 13:48:38 UTC
Thanks for the bugdoc. With this I can confirm the crash with OOo 3.3 and Fedora Linux.
Comment 3 r4zoli 2011-10-21 07:10:38 UTC
The attached document cause crash in OOo 3.3 and 3.4Beta on win7.
Can open it with LibO 3.4.3.
Comment 4 ape 2012-03-04 07:00:26 UTC
Created attachment 77287 [details]
ODT-export by Microsoft_Word_2010

Confirm the collapse process soffice.bin program ApacheOpenOffice Writer 3.4.0beta (Windows_NT-5.1sp3_x32; 5.2sp2_x64; 6.1sp1_x32). This is a blocking bug for AOO-3.4.0b. This file can open OOo-3.1.1 and LibreOffice-3.5.0. They do this work with a different result.
ODT-export by Microsoft_Word_2010 (correct) is located in the attachment.
Comment 5 Oliver-Rainer Wittmann 2013-06-04 09:53:09 UTC
I reproduced the crash on AOO 3.4.1 and my local build of trunk (revision 1484819) on Windows 7
Comment 6 Franz de Copenhague 2014-01-10 11:37:13 UTC
I've reproduced the problem on AOO 4.1.0 and my local build of trunk (revision 1556167) on Windows 7
Comment 7 Franz de Copenhague 2014-01-10 11:39:41 UTC
Created attachment 82252 [details]
Simple test file to reproduce this issue
Comment 8 Oliver-Rainer Wittmann 2014-01-15 10:07:37 UTC
(In reply to Juande Manjon from comment #7)
> Created attachment 82252 [details]
> Simple test file to reproduce this issue

On my Windows 7 my AOO 3.4.1, AOO 4.0.0 and AOO 4.0.1 do not crash on opening this given sample file. The sample file is not opened, but reports message "General input/output error" which is really strange on such a simple document.
Comment 9 Oliver-Rainer Wittmann 2014-01-15 10:08:40 UTC
On my Windows 7 the original given sample document does not cause a crash in AOO 4.0.0 and AOO 4.0.1, but does not import it with message "General input/output error"
Comment 10 Franz de Copenhague 2014-01-15 21:24:44 UTC
(In reply to Oliver-Rainer Wittmann from comment #9)
> On my Windows 7 the original given sample document does not cause a crash in
> AOO 4.0.0 and AOO 4.0.1, but does not import it with message "General
> input/output error"

This what happens to me, I've got the same message. I said crash, but I didn't have a segv. Probably the exception is caught.

Something is wrong in the zip package, because opening it with a zip tool, like winrar, and saving it the problem gone.
Comment 11 Oliver-Rainer Wittmann 2014-01-16 09:44:38 UTC
(In reply to Juande Manjon from comment #10)
> (In reply to Oliver-Rainer Wittmann from comment #9)
> > On my Windows 7 the original given sample document does not cause a crash in
> > AOO 4.0.0 and AOO 4.0.1, but does not import it with message "General
> > input/output error"
> 
> This what happens to me, I've got the same message. I said crash, but I
> didn't have a segv. Probably the exception is caught.
> 

Yes, that is what I am also assuming.

> Something is wrong in the zip package, because opening it with a zip tool,
> like winrar, and saving it the problem gone.

Hm... may be our zip packaging tool has a problem
Comment 12 Rainer Bielefeld 2014-03-04 16:19:59 UTC
With 4.0.1 same result as  Oliver-Rainer Wittmann comment 9

No longer reproducible with server installation of "AOO 4.1.0-Beta – English UI / German locale - [AOO410m14(Build:9760)  -  Rev. 1572868
2014-02-25 11:43:28]" on German WIN7 Home Premium (64bit)", own separate user profile.

Fix-Verifications?
Comment 13 Oliver-Rainer Wittmann 2014-03-05 09:31:06 UTC
(In reply to Rainer Bielefeld from comment #12)
> With 4.0.1 same result as  Oliver-Rainer Wittmann comment 9
> 
> No longer reproducible with server installation of "AOO 4.1.0-Beta – English
> UI / German locale - [AOO410m14(Build:9760)  -  Rev. 1572868
> 2014-02-25 11:43:28]" on German WIN7 Home Premium (64bit)", own separate
> user profile.
> 
> Fix-Verifications?

I can confirm Rainer's observation. The given document is imported (local build of rev. 1574101). Unfortunately, I was not able to found the code change which fixes this issue.