![]() | Steema Issues DatabaseNote: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;otherwise you can use StackOverflow. Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy. |
Summary: | TFastLineSeries setting Value->Order causes segmentation error on deletion | ||
---|---|---|---|
Product: | FireMonkey TeeChart | Reporter: | Vsevolod V Gromov <gromov.vsevolod> |
Component: | Series | Assignee: | Steema Issue Manager <issuemanager> |
Status: | CONFIRMED --- | ||
Severity: | major | CC: | narcis |
Priority: | Normal | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | Android | ||
Chart Series: | FastLine | Delphi / C++ Builder RAD IDE Version: | RAD XE6 |
Attachments: | Mobile test project |
Created attachment 279 [details] Mobile test project TeeChart Version: 2014.11.140512 C++ Builder version: 20.0.16277.1276 I create and delete fast line series programmatically. Creation: m_fls = new TFastLineSeries(0); m_fls->VertAxis = TVertAxis::aLeftAxis; m_fls->HorizAxis = THorizAxis::aBottomAxis; m_fls->FillSampleValues(100); m_fls->ParentChart = chart_; Deletion: m_fls->ParentChart = 0; delete m_fls; m_fls = 0; That works fine, unless I add the following line to the creation code: m_fls->XValues->Order = TChartListOrder::loNone; Upon series deletion, I got segmentation error, I believe, something is causing ARC failure. Test project, reproducing the bug, is attached.