Created attachment 119367 [details]
RTF file of a bank statement (personal information removed)
Trying to open the attached file produces an error dialog with following content:
General input/output error.
The file can be opened by Wordpad but looks scrambled. MS Word opens it properly.
This file crashes Version: 22.214.171.124.alpha1+
Build ID: 83ef294dddf3b1ab5cd5f91a792a7d9413a08f1f
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2015-09-20_07:00:46
crash in LO 4.4.2, linux
Created attachment 119398 [details]
On pc Debian x86-64 with master sources updated today, I could reproduce this, here's the relevant part with enable-dbgutil:
#4 0x00002aaad65b3fd1 in com::sun::star::uno::Reference<com::sun::star::beans::XPropertySet>::operator->() const (this=0x2dcc3d0)
#5 0x00002aaad65983f9 in writerfilter::rtftok::RTFDocumentImpl::dispatchValue(writerfilter::rtftok::RTFKeyword, int) (this=0x2bfedd0, nKeyword=writerfilter::rtftok::RTF_DPPTY, nParam=1232) at /home/julien/compile-libreoffice/libreoffice/writerfilter/source/rtftok/rtfdocumentimpl.cxx:4664
#6 0x00002aaad660906f in writerfilter::rtftok::RTFTokenizer::dispatchKeyword(rtl::OString&, bool, int) (this=0x2c05cc0, rKeyword="dppty", bParam=true, nParam=1232)
#7 0x00002aaad66087ae in writerfilter::rtftok::RTFTokenizer::resolveKeyword() (this=0x2c05cc0)
Already crashes in 4.4.5 -> not a regression in 5.0.x
Oliver Specht committed a patch related to this issue.
It has been pushed to "master":
tdf#94835: crash while loading RTF with \dppolygon token fixed
It will be available in 5.1.0.
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:
Affected users are encouraged to test the fix and report feedback.
Created attachment 120216 [details]
A file which is not displayed properly
Created attachment 120217 [details]
A correct rendering of the file
Created attachment 120218 [details]
An incorrect rendering of the file by LibreOffice
The crash is fixed in master. I tested this version:
However the file is not displayed correctly. I attached a file with a bit more content, along with approximately correct conversion to PDF by https://online2pdf.com/text-to-pdf and an incorrect conversion to PDF by LibreOffice. Is this incorrect rendering a known issue?
(In reply to Dženan Zukić from comment #9)
> The crash is fixed in master. I tested this version:
> However the file is not displayed correctly. I attached a file with a bit
> more content, along with approximately correct conversion to PDF by
> https://online2pdf.com/text-to-pdf and an incorrect conversion to PDF by
> LibreOffice. Is this incorrect rendering a known issue?
Please open new bug.
Oliver, would you be so kind to backport this to 5.0? Thank you.