Apache OpenOffice (AOO) Bugzilla – Issue 94947
PerfTest: while loading Impress doc Office crashes on Linux/Solaris
Last modified: 2008-12-10 11:42:41 UTC
While the Performace Tests is loading a test document the office crashes. This causes also in the UI. Try to load the following document: $SRC_ROOT/performancetest/data/performance-impress-1.odp This Issue breaks the Performance-Test. On Windows platform the crash does not ocur but the document is not loaded/displayed
cn->af: stack id 15449
*** Issue 94935 has been marked as a duplicate of this issue. ***
This is a regression introduced by a fix for issue 93392: a property called "ListId" is set at a property set without checking that the property is known by the set and without catching any UnknownPropertyExceptions. Such an exception what causes the crash. The property "ListId" is not known by SvxUnoTextRangeBase. The resulting exception is not caught and leads to the termination of the office process. The fix should be simple: either check for support of the property, like it is done in the calling method XMLTextImportHelper::SetStyleAndAttrs at various other places, or catch the UnknownPropertyException, or, best, do both.
@MST: If I read the diffs of xmloff/source/text/txtimp.cxx correctly (and with the recent switch to SVN I am not sure about that) then this fix went not only into the DEV300 master. Can you check that?
Created attachment 57211 [details] fix: re-insert accidentally removed hasProperty check
ouch! it seems i accidentally removed the hasProperty check for ListId when refactoring the list import for numbered-paragraph import. attached a patch to fix that. it seems to me that this completely breaks the impress ODF import, and thus, various automated tests; raising priority to P1. @af: as discussed, only DEV300 is affected
Fixed on MWS DEV300_m34.
@mst: verify, please
verified on trunk
*** Issue 95309 has been marked as a duplicate of this issue. ***
*** Issue 94924 has been marked as a duplicate of this issue. ***
close