Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | OO crashes while loading the document. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Writer | Reporter: | darkcloud <gerektoolhy> | ||||||
Component: | open-import | Assignee: | eric.savary | ||||||
Status: | CLOSED FIXED | QA Contact: | issues@sw <issues> | ||||||
Severity: | Trivial | ||||||||
Priority: | P2 | CC: | chengxiuzhi, issues, kpalagin, liujiaxiang, liuyu | ||||||
Version: | OOo 2.2 | Keywords: | crash | ||||||
Target Milestone: | --- | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Issue Type: | PATCH | Latest Confirmation in: | --- | ||||||
Developer Difficulty: | --- | ||||||||
Issue Depends on: | |||||||||
Issue Blocks: | 72764 | ||||||||
Attachments: |
|
Description
darkcloud
2007-04-11 13:40:28 UTC
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 |