Bug 47353 - FILEOPEN: Crash on import of a particular RTF file
Summary: FILEOPEN: Crash on import of a particular RTF file
Status: RESOLVED DUPLICATE of bug 49178
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
3.5.0 release
Hardware: All All
: medium normal
Assignee: Miklos Vajna
Whiteboard: BSA
Keywords: filter:rtf, regression
Depends on:
Reported: 2012-03-15 05:59 UTC by Jean-Baptiste Faure
Modified: 2015-12-15 11:48 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:

RTF bugdoc which kills LO (961.30 KB, application/rtf)
2012-03-15 05:59 UTC, Jean-Baptiste Faure
Bug 47353 - WinDbg session (13.16 KB, text/plain)
2012-06-04 04:13 UTC, bfoman (inactive)

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Baptiste Faure 2012-03-15 05:59:27 UTC
Created attachment 58506 [details]
RTF bugdoc which kills LO

Problem description: Writer crashes when opening the attached bugdoc

Steps to reproduce:
1. launch LO 3.5.0
2. File > Open > choose the attached file

Current behavior: LO crashes with the following error message (when launched  in a terminal) : 
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc

Expected behavior: no crash

Crash occurs in LO 3.5.0, LO 3.5.1, LO 3.5.2 rc0+ (Version ID : ecb7bfe-720bbeb-73cb0b8-f269e46-686380c) and master (LibreOffice 3.6.0alpha0+ Build ID: 5cc6398-f89f0d1-e67b1bf-879ce36-638d9c)

Platform (if different from the browser): 
Browser: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
Comment 1 Jean-Baptiste Faure 2012-03-15 06:06:33 UTC
Hi Miklos,

I think this one is for you. Another file for your RTF files collection. :-)
As usual, please feel free to reassign if you can't handle this bug.

Best regards.
Comment 2 Jean-Baptiste Faure 2012-05-05 08:05:40 UTC
No crash anymore with LibreOffice Version ID : 235ab8a-3802056-4a8fed3-2d66ea8-e241b80

I do not know which commit solved the problem. Closing as fixed anyway.

Best regards. JBF
Comment 3 s-joyemusequna 2012-05-19 02:03:36 UTC
Tested with LOdev 3.6 (master - 18-May-2012 02h44 x86@6-fast; Build ID: 8b1d29b) and LibO 3.5.4 RC1 under Windows Vista 64 / Windows XP.

The error reemerged. LibO 3.6dev and LibO 3.5.4 RC1 crash when opening the file. Reopening the issue...
Comment 4 Miklos Vajna 2012-05-30 01:52:01 UTC
Hm, can't reproduce on Linux, maybe Windows-specific?
Comment 5 bfoman (inactive) 2012-06-04 04:13:06 UTC
Created attachment 62499 [details]
Bug 47353 - 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 6 Julien Nabet 2012-06-21 15:12:05 UTC
Miklos: according to the bt, I think it's a dup of fdo#49178
If I'm wrong, don't hesitate to revert the status.

*** This bug has been marked as a duplicate of bug 49178 ***
Comment 7 Robinson Tryon (qubit) 2015-12-15 11:48:43 UTC
Migrating Whiteboard tags to Keywords: (rtf_filter -> filter:rtf)