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 1125 - Setting Transparency property for TFastLineSeries results in segfault 11
Summary: Setting Transparency property for TFastLineSeries results in segfault 11
Status: CONFIRMED
Alias: None
Product: FireMonkey TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: 150120
Hardware: Other Android
: Normal critical
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-07 08:51 EST by Vsevolod V Gromov
Modified: 2015-02-12 08:22 EST (History)
2 users (show)

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


Attachments
Callstack at segfault (8.11 KB, image/png)
2015-02-07 08:51 EST, Vsevolod V Gromov
Details
Test project (8.29 KB, application/octet-stream)
2015-02-11 13:29 EST, 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 2015-02-07 08:51:59 EST
Created attachment 393 [details]
Callstack at segfault

Executng the following code on Android results in segfault on Transparency assignment:
(C++ Builder XE7 Upd 1, Android Lollipop hotfix installed)

  m_osc = new TFastLineSeries(0);
  ES_ASSERT(m_osc);
  m_osc->Transparency = TTeeTransparency(10); // <<< Segfault here

Snapshot of callstack is attached.
Comment 1 Vsevolod V Gromov 2015-02-07 08:53:48 EST
I suspect though, it's a more common bug, related not only to fast line series, but to any series transparency.
Comment 2 sandra pazos 2015-02-11 06:44:52 EST
Hello Vsevolod V Gromov, 
Unfortunately, we can't reproduce the problem you are experiencing, using a simple code as next in latest TeeChart Pro VCL/FMX 2015 
void __fastcall TForm1::FormCreate(TObject *Sender)
{
Series1->FillSampleValues(10);
Series1->Pen->Width = 3;
Series1->Transparency = TTeeTransparency(50);
}
Could you attach a simple project where the problem appears?
Comment 3 Vsevolod V Gromov 2015-02-11 13:29:21 EST
Created attachment 397 [details]
Test project

Simple test project, I ran it both, on Android emulators and real hardware, as soon as "Transparency" button is clicked, AV occurred.

software used:
C++Builder XE7 Upd1 Version 21.0.17707.5020
Beta Android hotfix for Lollipop
TeeChart Full Source 2015.14.150120,
re-built from source to accomodate Android hotfix.
Comment 4 Vsevolod V Gromov 2015-02-11 13:34:17 EST
(In reply to sandra pazos from comment #2)
> Hello Vsevolod V Gromov, 
> Unfortunately, we can't reproduce the problem you are experiencing, using a
> simple code as next in latest TeeChart Pro VCL/FMX 2015 
> void __fastcall TForm1::FormCreate(TObject *Sender)
> {
> Series1->FillSampleValues(10);
> Series1->Pen->Width = 3;
> Series1->Transparency = TTeeTransparency(50);
> }
> Could you attach a simple project where the problem appears?

Project attached. Maybe it's beta Android Lollipop hotfix infulence...
Comment 5 sandra pazos 2015-02-12 08:22:33 EST
Hello Vsevolod V Gromov, 
The problem is reproduced using the project you have attached. 

Many thanks for your help. 
Regards.