Bug 51342 - FILEOPEN: Crash on .rtf file open.
Summary: FILEOPEN: Crash on .rtf file open.
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
3.5.4 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
Whiteboard: BSA
Depends on:
Reported: 2012-06-22 10:57 UTC by Stephen Rasku
Modified: 2012-10-21 18:48 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:

File that crashes on open. (43.41 KB, text/rtf)
2012-06-22 10:57 UTC, Stephen Rasku
Bug 51342 - WinDbg session (14.73 KB, text/plain)
2012-06-29 04:27 UTC, bfoman (inactive)
bt + console logs on 3.5 (10.48 KB, text/plain)
2012-10-19 23:32 UTC, Julien Nabet

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Rasku 2012-06-22 10:57:43 UTC
Created attachment 63355 [details]
File that crashes on open.

Problem description: 

Steps to reproduce:
1. Open attached file
2. Crash

Current behavior:

It crashes.

Expected behavior:

It shouldn't crash.

Platform (if different from the browser): 
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5
Comment 1 Urmas 2012-06-23 07:57:19 UTC
Confirmed in 3.5.5.
Comment 2 bfoman (inactive) 2012-06-29 04:27:14 UTC
Created attachment 63601 [details]
Bug 51342 - WinDbg session

Confirmed with:
Build ID: own W7 debug build
Windows 7 Professional SP1 64 bit

Crash while loading.
Attached full WinDbg session with mini dump file loaded generated by procdump soffice.bin -h.
Comment 3 Julien Nabet 2012-06-30 00:01:06 UTC
On pc Debian x86-64, I reproduce the problem with Debian Wheezy LO packages.
With master sources updated today, I don't reproduce it just had some different type of console logs :
 warn:legacy.osl:15436:1:/home/julien/compile-libreoffice/libo/sal/rtl/source/ustring.cxx:600: rtl_string2UString_status() - Wrong TextEncoding
warn:sw:15436:1:/home/julien/compile-libreoffice/libo/sw/source/core/table/swnewtable.cxx:2162: Boxen der Line zu klein/gross
warn:sw:15436:1:/home/julien/compile-libreoffice/libo/sw/source/core/table/swnewtable.cxx:2161: Different Line Widths
warn:legacy.osl:15436:1:/home/julien/compile-libreoffice/libo/sw/source/core/doc/tblrwcl.cxx:3503: Line's Boxes are too small or too large
warn:sw.core:15436:1:/home/julien/compile-libreoffice/libo/sw/source/core/text/porlay.cxx:1374: MaskHiddenRanges, string len mismatch
warn:legacy.osl:15436:16:/home/julien/compile-libreoffice/libo/sw/inc/swrect.hxx:308: SVRect() without Width or Height
Comment 4 Julien Nabet 2012-10-19 23:32:31 UTC
Created attachment 68823 [details]
bt + console logs on 3.5

On pc Debian x86-64 with 3.6 sources updated yesterday, I don't reproduce the problem.
With 3.5 updated too yesterday, I reproduce the problem.
So I attach bt.
Comment 5 Julien Nabet 2012-10-19 23:33:26 UTC
Miklos: do you know which commit(s) from 3.6 may help here?
Comment 6 Miklos Vajna 2012-10-21 16:18:56 UTC
The thing is, 3.5.7 was the last 3.5 release, so I don't really think it makes much sense to fix anything there. Sorry for being honest. :)
Comment 7 Julien Nabet 2012-10-21 16:26:45 UTC
(In reply to comment #6)
> The thing is, 3.5.7 was the last 3.5 release, so I don't really think it
> makes much sense to fix anything there. Sorry for being honest. :)
Miklos: Oups just noticed 3.5.7 (so the last 3.5.X) was published some days ago and 3.6.2 is now proposed by default.
About honesty, don't change anything, I prefer this way :-)

Stephen: could you confirm it's ok for you with 3.6.2?
If you still reproduce it, could you try after having renamed your LO profile? (see http://wiki.documentfoundation.org/UserProfile)
Comment 8 Stephen Rasku 2012-10-21 18:14:40 UTC
The attached file no longer crashes LO as of 3.6.2.
Comment 9 Julien Nabet 2012-10-21 18:48:05 UTC
Stephen: thank you for your feedback. Since there's not a specific fix, I put WFM.