Bug 37057 - FILEOPEN Writer cannot open attached file
Summary: FILEOPEN Writer cannot open attached file
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.3.2 release
Hardware: x86 (IA32) All
: medium major
Assignee: Caolán McNamara
QA Contact:
URL: https://bugs.launchpad.net/ubuntu/+so...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-10 02:53 UTC by leighman
Modified: 2011-07-02 14:08 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Testcase (113.50 KB, application/msword)
2011-05-10 02:53 UTC, leighman
Details
First part of 7z zipped file strace.log of the crash (921.60 KB, application/octet-stream)
2011-05-10 08:14 UTC, gleppert
Details
Second part of 7z zipped file strace.log of the crash (861.96 KB, application/octet-stream)
2011-05-10 08:15 UTC, gleppert
Details
testcase resaved in Word2003 as separate .doc file (122.00 KB, application/msword)
2011-05-10 08:16 UTC, gleppert
Details

Note You need to log in before you can comment on or make changes to this bug.
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, fixed that with writer/ff6dcb8eaf47d056f179ebcdb289ae66e96b124b