Issue 114415 - OOo crashes on valid ODF
Summary: OOo crashes on valid ODF
Status: CONFIRMED
Alias: None
Product: Calc
Classification: Application
Component: open-import (show other issues)
Version: OOO320m12
Hardware: All Linux, all
: P2 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2010-09-08 15:53 UTC by aguelzow
Modified: 2013-01-29 21:54 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
sample spreadsheet file (4.90 KB, application/vnd.oasis.opendocument.spreadsheet)
2010-09-08 15:54 UTC, aguelzow
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description aguelzow 2010-09-08 15:53:52 UTC
I will be attaching a valid (according to the validator at
http://tools.odftoolkit.org/odfvalidator/) ODF file that when one attempts to
open it with OOo yields a crash.
Comment 1 aguelzow 2010-09-08 15:54:26 UTC
Created attachment 71616 [details]
sample spreadsheet file
Comment 2 Regina Henschel 2010-09-08 17:14:47 UTC
I see the crash too with DEV300m86 on WinXP.

With my build I get the debug outputs,

OElementImport::createElement: no service name to create an element!
From File C:/DEV300m86my/xmloff/source/forms/elementimport.cxx at Line 535

OPropertyImport::simulateDefaultedAttribute: the component should be more
gossipy about it`s properties!
From File C:/DEV300m86my/xmloff/source/forms/elementimport.cxx at Line 550

OElementImport::OElementImport: invalid parent container!
From File C:/DEV300m86my/xmloff/source/forms/elementimport.cxx at Line 161

PropertyConversion::convertString: could not convert "31.3636363636364" into an
integer!
From File C:/DEV300m86my/xmloff/source/forms/propertyimport.cxx at Line 136

OElementImport::EndElement: did not find a name attribute!
From File C:/DEV300m86my/xmloff/source/forms/elementimport.cxx at Line 303

Then it crashes.
Comment 3 aguelzow 2010-09-08 17:41:49 UTC
I probably should have mentioned that this is related to issue 114416. OOo doe
snot appear to create a control unless an implementation is specified. The file
attached to this issue was created with OOo's scrollbar implementation name
given (in the hope that OOo would use default settings). I was surprised to see
OOo crash instead.

Without the implementation specified, OOo seems to simply ignore this control.
That is issue 114416.