Apache OpenOffice (AOO) Bugzilla – Issue 32879
Sample "Biorhythm" crashes the office
Last modified: 2013-08-07 15:15:02 UTC
Reproduction: - load template - save as .sxc to a location of your choice - close - reload document - save again -> Errormessage: "Main memory shortage" -> crash Crashreport has been generated.
Hi Christof, StackID: 79005 Report tool will assign this Stack to you also. On Solaris I get a Bus Error. Frank
Created attachment 17103 [details] debug session and stack trace
cp->hdu: as discussed, please discuss with sj
> #9 in OutputDevice::DrawTextArray (..., pDXAry=0x4883d330, nIndex=0, nLen=7) > (gdb) x /10d pDXAry > 136 0 204 0 341 0 477 0 546 0 HDU->SJ: the pDXArray you are providing doesn't look good... (we could also work around the immediate crash, but the result would look poor and the wrong pDXArray is the root cause of the problem)
accepted
*** Issue 33020 has been marked as a duplicate of this issue. ***
SJ->HDU: There is no graphic filter involved if loading the sample document, so the dx array is provided by one of the application (calc/chart) but not by me. As the problem appears in vcl it should be best if this bug goes back to you.
As I already said the root cause is that the pDXArray is invalid. Need to investigate where this comes from if it is not from one of SJ's filters...
Updated sallayout.cxx so that even with a bad pDXArray the text width will never be negative, so the crash doesn't happen again. So this issue is fixed. I try to find the root cause of the bad pDXArray.
Reopening for reassignment
reassigning
HDU->US: please verify in CWS vcl26 that the crash is fixed. Unfortunately the rotated text problem that is also visible in the bugdoc is fixed in CWS fontlists03, which has not been integrated, so vcl26 couldn't been resynced to include this related fix...
.
JA: verified in cws vcl26
close