Apache OpenOffice (AOO) Bugzilla – Issue 76258
OO crashes while loading the document.
Last modified: 2013-08-07 14:42:49 UTC
OO crashes while loading the document. see attachment OO should not crash, but tell that the document is invalid. (if it really is). Hint: this issue is related to this one: http://www.openoffice.org/issues/show_bug.cgi?id=71239
Created attachment 44347 [details] OO 2.2 crashes while loading this file.
Reassigned to ES.
Confirming with 2.2m8 on WinXP. Upping priority, setting keyword.
ES->AMA: Stack ID:971751. Reproduced als on Linux (m8) and Windows (m205). Same crash with OOo 2.0 -> target 2.x.
Created attachment 50145 [details] patchfile
ch2000liuy, I suggest setting issue type to patch so that Sun developers would easily see the patch. I also suggest making http://www.openoffice.org/issues/show_bug.cgi? id=72764 dependant on this one.
liuyu->ama: I found the problem is the value of "nAbsWidth" is 0, when the "nAbsWidth" is used as a divisor. So I add a condition to the judgement ( " if( nAbsWidth < nWidth && nAbsWidth != 0 )" ). What do you think?
liuyu->kpalagin: Yes, you're right. Thank you.
ama->liuyu: Yes, your fix will avoid the crashing when document will be loaded. Actually OS fixed this in another CWS sw8u10bf02 without a bug document becuase of crash reports we got. I will integrate your patch into CWS sw8u10bf03 as well because I'm changing some more files. With your patch I crashed when I tried to save the document again. I will fix those crashes in CWS sw8u10bf03 as well. Thank you for your patch, you can regard this issue as fixed.
Fixed in CWS sw8u10bf03 xmltbli.cxx
Ready for QA.
Verified in CWS sw8u10bf03
Verified in OOo 3.0 - closing - Sophie