Bug 81173 - Writer crashes with General I/O error on opening RTF file
Summary: Writer crashes with General I/O error on opening RTF file
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.2.5.2 release
Hardware: All All
: high major
Assignee: Miklos Vajna
URL:
Whiteboard: interoperability target:4.3.0 target...
Keywords: filter:rtf, haveBacktrace, notBibisectable, regression
Depends on:
Blocks:
 
Reported: 2014-07-10 13:31 UTC by fred4u
Modified: 2015-12-17 11:14 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
linux backtrace (2.99 KB, application/zip)
2014-07-10 21:01 UTC, Yousuf Philips (jay) (retired)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fred4u 2014-07-10 13:31:54 UTC
Writer from 4.2.5.2 reports a General I/O error upon opening an RTF file.
Writer from 4.1.6.2 opens the file without an error (but with formatting issues).

Link to sample RTF file: http://bip.ms.gov.pl/Data/Files/_public/bip/krs/formularze/krs_form_z30.rtf
Comment 1 Yousuf Philips (jay) (retired) 2014-07-10 21:00:43 UTC
Hi fred4u,

Yes i can confirm that it crashes in 4.2.5 on Linux Mint, but not in 4.1.6 or 4.3.1.
Comment 2 Yousuf Philips (jay) (retired) 2014-07-10 21:01:06 UTC
Created attachment 102581 [details]
linux backtrace
Comment 3 Joel Madero 2014-07-12 06:25:31 UTC
Unfortunately can't bibisect this one. 

Prioritizing:
Major - while there is a crash it's a single rtf file - no proof that many users will be affected with an uncommon (relative to odt, doc, docx) filter.
High - highest is reserved for special use - high is appropriate

@vmiklos - any thoughts on this one? Looks like it was fixed in 4.3, any way that we can backport it to 4.2.7?
Comment 4 Michael Stahl (allotropia) 2014-07-16 13:34:55 UTC
was fixed on master by commit 08fb25ab7941c52d4eed0435a45a38b03aff588c
Comment 5 Commit Notification 2014-07-16 13:36:14 UTC
Miklos Vajna committed a patch related to this issue.
It has been pushed to "libreoffice-4-2":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=50df6263ccde24874191812950dcccd8f839754b&h=libreoffice-4-2

fdo#81173 abi#3623 RTF import: missing null pointer check


It will be available in LibreOffice 4.2.7.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.
Comment 6 Commit Notification 2014-07-17 11:45:15 UTC
Miklos Vajna committed a patch related to this issue.
It has been pushed to "libreoffice-4-2-6":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=b0dae2115364ae1644203c046765f10ccfe9a8ac&h=libreoffice-4-2-6

fdo#81173 abi#3623 RTF import: missing null pointer check


It will be available already in LibreOffice 4.2.6.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.
Comment 7 Robinson Tryon (qubit) 2015-12-17 11:14:36 UTC
Migrating Whiteboard tags to Keywords: (rtf_filter -> filter:rtf, notBibisectable)
[NinjaEdit]