Bug 37057

Summary: FILEOPEN Writer cannot open attached file
Product: LibreOffice Reporter: leighman <leighmanthegreat>
Component: WriterAssignee: Caolán McNamara <caolanm>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: medium CC: gleppert
Version: 3.3.2 release   
Hardware: x86 (IA32)   
OS: All   
URL: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/780381
Whiteboard:
i915 platform: i915 features:
Attachments: Testcase
First part of 7z zipped file strace.log of the crash
Second part of 7z zipped file strace.log of the crash
testcase resaved in Word2003 as separate .doc file

Description leighman 2011-05-10 02:53:38 UTC
Created attachment 46527 [details]
Testcase

Attached file does not open in Writer.
Opens fine in Word 2007.
Comment 1 Christopher M. Penalver 2011-05-10 03:57:13 UTC
Adding downstream bug link.
Comment 2 gleppert 2011-05-10 08:05:44 UTC
I tested the "Testcase" file on my system and I can confirm the problem and I also can make the problem even more complicated.

1st: Reproducing the bug:
Opening the file with LO, I get the error message "Reading problem. The file is no WinWord 97 file". However, TextMaker 2008 and MS Word 2003 can open the file without any problems.

2nd: Making the problem even more complicated:
In MS Word 2003, I have opened the file and selected "Save As" and saved it as a separate .doc-file. The re-saved file opens in LibreOffice, but after a few seconds, LibreOffice crashes. You find the strace.log of the crash attached to this bug as well as my re-saved .doc-file. Again, TextMaker 2008 and MS Word 2003 can open this file without any problem.

Can you reproduce the crash?

System: Ubuntu 10.10/Gnome 2, LibreOffice 3.3.2 PPA, German UI, Intel 32-Bit.
Comment 3 gleppert 2011-05-10 08:14:56 UTC
Created attachment 46549 [details]
First part of 7z zipped file strace.log of the crash
Comment 4 gleppert 2011-05-10 08:15:31 UTC
Created attachment 46550 [details]
Second part of 7z zipped file strace.log of the crash
Comment 5 gleppert 2011-05-10 08:16:21 UTC
Created attachment 46551 [details]
testcase resaved in Word2003 as separate .doc file
Comment 6 Noel Power 2011-05-10 12:47:25 UTC
opens for me with libreoffice3.4(beta4) please try that version, feel free to reopen the bug if it still fails for you ( hopefully it won't )
Comment 7 Caolán McNamara 2011-07-02 14:08:55 UTC
valgrind mentioned a uninitialized variable on loading attachment 1 [details] [review], fixed that with writer/ff6dcb8eaf47d056f179ebcdb289ae66e96b124b

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.