Issue 100995 - Simple way to make Chart crashing
Summary: Simple way to make Chart crashing
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: chart (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P2 Trivial (vote)
Target Milestone: ---
Assignee: kla
QA Contact: issues@graphics
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-09 18:12 UTC by daniel.rentz
Modified: 2013-02-24 21:20 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description daniel.rentz 2009-04-09 18:12:22 UTC
Insert a chart with some points, set Y axis to logarithmic, enable manual major
step, insert a high value (I used 1000). OK -> crash

In chart2/source/view/axes/TickMarkHelper.cxx, line 561, function
TickmarkHelper::getAllTicks(), the return value of getMaxTickCount(0) is -2e9.
This value is passed unchecked to uno::Sequence<>::realloc() in line 564 which
crashes then.
Comment 1 IngridvdM 2009-04-24 14:13:37 UTC
Fixed in CWS chart37. The problem was that the ScaleAutomatism has produced
invalid ExplicitScaleData.
Comment 2 IngridvdM 2009-04-28 10:01:35 UTC
@kla, please verify in CWS chart37.
Comment 3 kla 2009-05-25 08:52:17 UTC
No crash anymore -> verified
Comment 4 kla 2009-07-24 14:51:17 UTC
Seen ok in current master -> closed