Apache OpenOffice (AOO) Bugzilla – Issue 70156
Crash opening odt with frames created by 3rd party application
Last modified: 2013-08-07 14:43:03 UTC
I have and ODT file with frames, which crashes OO when trying to load the file.
Created attachment 39609 [details] odt with frames
Created attachment 39610 [details] odt with frames, second variant
On my Windows XP OOo 2.0.3, the first one loads OK, but the second one causes a strange sort of freeze and crash.
confirming on linux. The second document loops with 100%CPU, memory-usage keeps stable.
Additional info: When trying to do Insert|File with the second document, OOo crashes immediately.
Created attachment 39634 [details] The original file, from which i generated documents which cause crash. The document was modified programmatically with AODL (http://www.opendocument4all.com/). This file loads OK.
MRU->ES: pls have a look, it looks that there is a problem with the 3rd party generated xml. Maybe this is somehow related to issue 71239.
The crash happens because a table with zero columns shall be created and the code can't cope with that. But the document isn't a valid ODF document anyway as it does not specify rows and columns and doing this is mandatory. We can fix the crash and throw an exception as we shouldn't allow to load invalid ODF documents silently. darkcloud: please clarify why AODL creates such broken document.
> We can fix the crash and throw an exception as we shouldn't allow to load invalid ODF documents silently. that would be great! > darkcloud: please clarify why AODL creates such broken documen I am not a cretor of that package, so I can not give precise description. I believe this is simply a bug in AODl.
I've just tested these documents with milestone DEV300m14 (Windows) The documents could be loaded without problems, looks like we fixed these instabilities already. Even the documents of issue 71239 can be loaded.
closing