The attached RTF document created on windows platform with some windows tools (MS office or wordpad I'm not sure) doesn't open with Libreoffice on Ubuntu.
LO 184.108.40.206 from Ubuntu reps reports "Input/output error".
Nightly build from 17.02 (220.127.116.11) crashes on open attempt.
I've also checked abiword and wine wordpad. Abiword crashes, but Wine wordpad manages to show the document, though there is of course some formatting loses.
Created attachment 113543 [details]
the document that LO fails to open
I can open file with Version: 18.104.22.168.alpha0+
Build ID: 62969accf9c01b71b738424d4d643db8bfaed182
TinderBox: Linux-rpm_deb-x86_64@46-TDF, Branch:master, Time: 2015-02-08_23:22:32
crash with Version: 22.214.171.124.alpha0+
Build ID: 52b25c1adf3a70819aea2080b0ad50a14a3c104b
TinderBox: Linux-rpm_deb-x86_64@46-TDF, Branch:master, Time: 2015-02-17_03:10:47
Created attachment 113564 [details]
console bt with master sources
On pc Debian x86-64 with master sources updated today, I could reproduce this.
I attached console logs + bt
A gdb session showed that after having passed 28 times here:
the next one showed pObj was empty.
But even when adding a if (pObj) after SdrObject* pObj = pSvxShape->GetSdrObject();
I got another bt:
#0 0x00002aaace290b28 in SdrObject::GetRelativeHeight (this=0x0) at /home/julien/compile-libreoffice/libreoffice/svx/source/svdraw/svdobj.cxx:594
#1 0x00002aaac9e2d3ed in SwXShape::getPropertyValue (this=0x6052cb0, rPropertyName="RelativeHeight")
#2 0x00002aaad0b93c0f in writerfilter::TagLogger::unoPropertySet (this=0x29e0d70, rPropSet=uno::Reference to (SwXShape *) 0x6052ce8)
#3 0x00002aaad0ac5ce5 in writerfilter::dmapper::DomainMapper_Impl::PushShapeContext (this=0x2a11a40, xShape=uno::Reference to (SwXShape *) 0x6052d10)
#4 0x00002aaad0a7dd77 in writerfilter::dmapper::DomainMapper::lcl_startShape (this=0x2a11900, xShape=uno::Reference to (SwXShape *) 0x6052d10)
#5 0x00002aaad0b2d57a in writerfilter::LoggedStream::startShape (this=0x2a11958, xShape=uno::Reference to (SwXShape *) 0x6052d10)
So the lack of pObj seems wrong.
Miklos: one for you?
This stopped working in the 4.5 dbgutil bibisect tree as of:
Looks to me like the below is the only plausible commit in that range.
Adding Cc: to firstname.lastname@example.org; Could you possibly take a look at this? Thanks
Author: Vasily Melenchuk <email@example.com>
Date: Mon Feb 2 09:43:51 2015 +0000
tdf#49893 partial fix for blank rentangle problem in RTF
* pib structure in rtf shape is processed always, if exists, not only
for shape #75 (picture frame): it is possible for other shapes, at
least for #1 (rectangle)
* picture inside shape gets width and height from shape: this picture
looks like pib object and should fit shape frame
I confirm that this crash is consequence of my fix to tdf#49893. I will debug this situation.
Vasily Melenchuk committed a patch related to this issue.
It has been pushed to "master":
tdf#89496 fixed crash on rtf shape group parsing
It will be available in 4.5.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.
Migrating Whiteboard tags to Keywords: (bibisected)