Issue 32879 - Sample "Biorhythm" crashes the office
Summary: Sample "Biorhythm" crashes the office
Status: CLOSED FIXED
Alias: None
Product: Calc
Classification: Application
Component: code (show other issues)
Version: recent-trunk
Hardware: All Linux, all
: P2 Trivial (vote)
Target Milestone: ---
Assignee: ulf.stroehler
QA Contact: issues@sc
URL:
Keywords:
: 33020 (view as issue list)
Depends on:
Blocks:
 
Reported: 2004-08-12 09:27 UTC by joerg.skottke
Modified: 2013-08-07 15:15 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
debug session and stack trace (11.81 KB, text/plain)
2004-08-12 15:06 UTC, christof.pintaske
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description joerg.skottke 2004-08-12 09:27:55 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.
Comment 1 frank 2004-08-12 11:50:42 UTC
Hi Christof,

StackID: 79005

Report tool will assign this Stack to you also.

On Solaris I get a Bus Error.

Frank
Comment 2 christof.pintaske 2004-08-12 15:06:11 UTC
Created attachment 17103 [details]
debug session and stack trace
Comment 3 christof.pintaske 2004-08-12 15:06:56 UTC
cp->hdu: as discussed, please discuss with sj
Comment 4 hdu@apache.org 2004-08-12 15:30:41 UTC
> #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)
Comment 5 sven.jacobi 2004-08-16 16:19:51 UTC
accepted
Comment 6 bjoern.milcke 2004-08-16 16:32:38 UTC
*** Issue 33020 has been marked as a duplicate of this issue. ***
Comment 7 bjoern.milcke 2004-08-16 16:37:17 UTC
*** Issue 33020 has been marked as a duplicate of this issue. ***
Comment 8 sven.jacobi 2004-08-23 12:53:53 UTC
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.

Comment 9 hdu@apache.org 2004-08-23 15:16:57 UTC
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...
Comment 10 hdu@apache.org 2004-08-24 15:03:50 UTC
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.
Comment 11 hdu@apache.org 2004-08-27 11:04:52 UTC
Reopening for reassignment
Comment 12 hdu@apache.org 2004-08-27 11:05:25 UTC
reassigning
Comment 13 hdu@apache.org 2004-08-27 11:07:32 UTC
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...
Comment 14 hdu@apache.org 2004-08-27 12:39:56 UTC
.
Comment 15 Joost Andrae 2004-09-01 13:50:26 UTC
JA: verified in cws vcl26
Comment 16 joerg.skottke 2004-11-29 10:14:10 UTC
close