Issue 63726 - Chart: Bar-Chart with Empty NumberFormat -> Memory Corruption
Summary: Chart: Bar-Chart with Empty NumberFormat -> Memory Corruption
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: chart (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: kla
QA Contact: issues@graphics
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-28 16:00 UTC by bjoern.milcke
Modified: 2013-02-24 21:21 UTC (History)
1 user (show)

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


Attachments
Document with an empty number format at the y-axis (13.50 KB, application/vnd.oasis.opendocument.spreadsheet)
2006-03-28 16:01 UTC, bjoern.milcke
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description bjoern.milcke 2006-03-28 16:00:51 UTC
Open the attached file. (As it contains random numbers it will be automatically
reloaded to avoid just loading the meta-file). Close OOo -> Assertions about
Memory Corruption in the desctructor of the SchChartDocShell (probably of the
ChartModel).

The reason why this file causes this problem is the number format of the y-axis.
It is set to ";;;" which produces empty strings for all numbers.
Comment 1 bjoern.milcke 2006-03-28 16:01:50 UTC
Created attachment 35312 [details]
Document with an empty number format at the y-axis
Comment 2 bjoern.milcke 2006-03-28 17:03:41 UTC
Empty textshapes (with empty text string and zero-width) are no longer created
in ChartAxis::CreateMarkDescr()
Comment 3 bjoern.milcke 2006-03-29 09:44:05 UTC
To test:
Boefore the fix:
1. Load the attached document. Press F9 several times (not necessary, but maybe
increases chances for a crash)
2. Close the Office
=> In a pro Version you should get a crash-reporter or a system dialog box about
a memory error. In a non-pro Version, you should get assertions as mentioned
before, and the the crash-reporter.

With the fix:
1., 2. as before
=> The Office should quit silently. No assertions. (At least non about
memory-corruption)

re-open issue and reassign to kla@openoffice.org
Comment 4 bjoern.milcke 2006-03-29 09:44:08 UTC
reassign to kla@openoffice.org
Comment 5 bjoern.milcke 2006-03-29 09:44:11 UTC
reset resolution to FIXED
Comment 6 kla 2006-03-31 10:57:57 UTC
verified
Comment 7 kla 2006-05-12 13:38:08 UTC
seen ok into the master -> closed