Steema Issues Database

Note: 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.



Bug 905 - TFastLineSeries setting Value->Order causes segmentation error on deletion
Summary: TFastLineSeries setting Value->Order causes segmentation error on deletion
Status: CONFIRMED
Alias: None
Product: FireMonkey TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: unspecified
Hardware: All Android
: Normal major
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-30 11:34 EDT by Vsevolod V Gromov
Modified: 2014-09-02 03:49 EDT (History)
1 user (show)

See Also:
Chart Series: FastLine
Delphi / C++ Builder RAD IDE Version: RAD XE6


Attachments
Mobile test project (6.56 KB, application/octet-stream)
2014-08-30 11:34 EDT, Vsevolod V Gromov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vsevolod V Gromov 2014-08-30 11:34:54 EDT
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.