Bug 39384 - FILEOPEN - crashing when trying to open docx file
Summary: FILEOPEN - crashing when trying to open docx file
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.4.1 release
Hardware: x86-64 (AMD64) Windows (All)
: medium critical
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 40579
  Show dependency treegraph
 
Reported: 2011-07-19 12:20 UTC by Oleksandr Kalyniak
Modified: 2011-12-27 10:14 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
docx (69.74 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2011-07-19 12:20 UTC, Oleksandr Kalyniak
Details
1.docx (228.62 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2011-07-19 21:53 UTC, Oleksandr Kalyniak
Details
A file I received via e-mail from a Windows user. (16.84 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2011-07-25 08:13 UTC, Serge
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oleksandr Kalyniak 2011-07-19 12:20:45 UTC
Created attachment 49313 [details]
docx

see attachment.
Comment 1 Jeffrey 2011-07-19 19:54:25 UTC
Document does not crash on LibreOffice 3.4  340m1(Build:103) on OpenSuse Linux. When I download attachment, in read-only mode I can see the e-mail list graphics. When I save it and open it in edit mode, the document is blank. There is no crash.

Please provide more information on the problem. Attaching one document and saying it crashes does not tell enough of the situation. Other docx files open up fine on LO, so if you could guess what might be the problem with this one file. I think it has to do with the graphics. If you can, it would be great if you could provide the backtrace to the crash. It will help diagnosing much easier! http://wiki.documentfoundation.org/BugReport if using Linux.
Comment 2 Oleksandr Kalyniak 2011-07-19 21:53:01 UTC
I'm using LO 3.4.1 under Windows 7 x64. Today I've tried to open it - and get success!
So I remembered that before open that file I had LO with opened another file (see attachment). I decided to reproduce this situations and when I opened first '1.docx' and then 'e-mail.docx' LO crashes.
Comment 3 Oleksandr Kalyniak 2011-07-19 21:53:39 UTC
Created attachment 49325 [details]
1.docx
Comment 4 noname 2011-07-23 20:12:29 UTC
Unconfirmed with [Win2K LibreOffice 3.4.2 OOO340m1 (Build:202)]
Both files load without a problem (in the right order), no crash.
Only problem as Jeffrey already said is that the email list is invisible when opening in edit mode. But that's another bug.
Comment 5 Oleksandr Kalyniak 2011-07-24 03:28:36 UTC
I've just tried to reproduce the problem on VirtualBox with Windows XP SP3 x86 and LO 3.4.1. Result was the same. It's still crashing.
So, I decided to reinstall LO from 3.4.1 to 3.4.2 OOO340m1 (Build:202). And no crash :-). I thought it's fixed. But when I reinstalled LO on my PC (Windows 7 Ultimate x64) - the LO crashed again. Maybe it's just something with my Windows, I don't know. I don't want to reinstall it.
I think we can close this BUG.
About e-mail.docx with invisible email's list - I will create new bug.
Thanks!
Comment 6 noname 2011-07-24 08:30:37 UTC
I reopened this bugreport because I know how to reproduce this one. atleast on my system.

Confirmed with [Win2K LibreOffice 3.4.2 OOO340m1 (Build:202)].

1) Select 'Tools' -> 'Options'
2) Select 'Load/Save' -> 'General'
3) Untick 'Load' > 'Load user-specific settings with the document'
4) Press 'OK'
5) Load Reporter's email.docx file
6) Crash !!!

When the user-specific setting is ticked, NO crash.
Comment 7 Serge 2011-07-25 08:13:24 UTC
Created attachment 49531 [details]
A file I received via e-mail from a Windows user.

I can confirm that LibreOffice 3.3.3 on (Linux Mint) Debian wheezy/sid (32bit) also crashes on opening the attached file.

The attached file opens well with Google Docs and OpenOffice 3.2.1 on Windows XP.
Comment 8 noname 2011-07-30 07:41:09 UTC
(In reply to comment #7)
> Created an attachment (id=49531) [details]
> A file I received via e-mail from a Windows user.
> 
> I can confirm that LibreOffice 3.3.3 on (Linux Mint) Debian wheezy/sid (32bit)
> also crashes on opening the attached file.
> 
> The attached file opens well with Google Docs and OpenOffice 3.2.1 on Windows
> XP.

Your file doesn't crash over here with [Win2K LibreOffice 3.4.2 OOO340m1 Build:203)].
Comment 9 Julien Nabet 2011-10-25 14:12:18 UTC
On a Debian Wheezy x86-32, I tested the 3 files by calling LO 3.4.3 (Debian packages) from console, I had no crashes.
There were no logs for the 2 last files but for 1.docx, I had a lot of messages.

I haven't tested on other environments so do you confirm you still have got the problem with last version of LO ?
Comment 10 Oleksandr Kalyniak 2011-10-26 10:28:52 UTC
(In reply to comment #9)
> On a Debian Wheezy x86-32, I tested the 3 files by calling LO 3.4.3 (Debian
> packages) from console, I had no crashes.
> There were no logs for the 2 last files but for 1.docx, I had a lot of
> messages.
> 
> I haven't tested on other environments so do you confirm you still have got the
> problem with last version of LO ?

Yes, it's still crashing (LO 3.4.3 under Windows 7 x64).
I repeat:
You should open 1.docx, after that open email.docx
Comment 11 Julien Nabet 2011-10-26 11:11:30 UTC
I tried again on LO 3.4.3 (Debian packages) :
- open 1.docx
- open email.docx

No pb (the first one is quite long to open but it's ok.

Serge had reproduced the pb with 3.3.3 but on another bug (the 40720), the packages provided by Linux Mint seemed to be the pb.

I think we need here this pb to be reproduced on Linux distrib (Ubuntu/Debian, Fedora, Suse, ...) or on Mac
The goal is to see if it's a specific Windows pb

Moreover, if it can reproduced on these environments, a backtrace could be retrieved (ideally with symbols)

Oleksandr: 2 other things :
1) is there anything in event manager (system or application part) just which would correspond to the time of the crash ?
To open it : launch execute, then type eventvwr

2) By reading your comment 5, I wondered if something wrong in a previous version could have stayed on the profil files or registry. Could you uninstall LO and delete all the things which could stay after a deinstall (in registry or profile). (Use ccleaner, a simple and free tool to make some cleaning) then reinstall ?
Comment 12 Julien Nabet 2011-10-26 12:45:44 UTC
noname: I read your comment 6. I followed the steps and no crash for me, and I would add "badfully".
So could you do the 2 things I told Oleksandr to try in comment 11 ?
It could be interesting.
Comment 13 Oleksandr Kalyniak 2011-10-28 08:50:47 UTC
OK. So I uninstalled LO.
Manually removed folders:
   1. C:\Program Files (x86)\LibreOffice 3.4
   2. C:\Users\sash\AppData\Roaming\LibreOffice

CCleaner:
   1. Removed unnecessary files.
   2. Cleanup registry.

Installed LO 3.4.3
I tried again:
- open 1.docx (didn't close it)
- open email.docx

And, it's crashing.

Event manager:
Only "Application" part:
1.
Faulting application with the name: soffice.bin, version: 3.4.302.500, timestamp: 0x4e54357a
Name of emergency module: MSVCR90.dll, version: 9.0.30729.4974, timestamp: 0x4b7a226f
Exception code: 0xc0000417
Error offset: 0x0006ccb5
Process error code: 0xc70
Time running application errors: 0x01cc9587582d4647
Faulting application path: C:\Program Files (x86)\LibreOffice 3.4\program\soffice.bin
The path error module: C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4974_none_50940634bcb759cb\MSVCR90.dll
Report ID: 9d6bc922-017a-11e1-b8a6-485b39978c96

2.
A segment of memory errors, type 0
Event Name: BEX
Answer: Not Available
Code CAB-file: 0

Signature issues:
P1: soffice.bin
P2: 3.4.302.500
P3: 4e54357a
P4: MSVCR90.dll
P5: 9.0.30729.4974
P6: 4b7a226f
P7: 0006ccb5
P8: c0000417
P9: 00000000
P10:

Attachments:

Possible location of files:
C:\Users\sash\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_soffice.bin_6b17bcb2a32f61ac8676ab90293f1b6adf2bcb95_0996ba94

Character analysis:
Re-search solution: 0
Report ID: 9d6bc922-017a-11e1-b8a6-485b39978c96
Status report: 0
Comment 14 Julien Nabet 2011-10-28 10:20:08 UTC
Thank you Oleksandr for patiently having runned these tests.
It seems the bug concerns only Windows, so I change the platform to Windows.
Perhaps a Windows specialist dev could help.
Could you put on platform option if you've got x86-32, x86-64 (AMD64) or other ?
Comment 15 Oleksandr Kalyniak 2011-12-24 12:20:33 UTC
LibreOffice 3.5.0 beta2
Cool! It's not crashing any more. Thanks.