Crash in 3D chart

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Art
Newbie
Newbie
Posts: 2
Joined: Thu Nov 23, 2017 12:00 am

Crash in 3D chart

Post by Art » Thu Dec 14, 2017 12:50 am

I am using VCL 2015 (TeeChart2015RADXE2.exe) with Dephi XE2. On some computers (not all of them) I get the following stack trace with a creash deep in the steema code, when the 3D chart is rotated, what could be causing it and how could it be fixed:

exception class : EAccessViolation
exception message : Access violation at address 00000000010FC4C1 in module 'test_x64.exe'. Read of address 0000000000000008.

main thread ($1758):
010fc4c1 +011 VCLTee.TeeSurfa TCustom3DGridSeries.ExistFourGridIndex
010fc98c +00c VCLTee.TeeSurfa TSurfaceSeries.FourGridIndex
010ff2d2 +112 VCLTee.TeeSurfa TSurfaceSeries.DrawCell
010fe05f +21f VCLTee.TeeSurfa DrawAllSorted
010fe2fc +15c VCLTee.TeeSurfa TSurfaceSeries.DrawAllValues
00a2f988 +7a8 VCLTee.TeEngine DrawSeries
00a2fb11 +091 VCLTee.TeEngine DoDraw
00a2fd0e +0ee VCLTee.TeEngine DrawAllSeries
00a2fe03 +073 VCLTee.TeEngine TCustomAxisPanel.DrawAxesSeries
00a2e70c +20c VCLTee.TeEngine TCustomAxisPanel.InternalDraw
009ec64e +29e VCLTee.TeeProcs InnerDraw
009ec78c +01c VCLTee.TeeProcs TCustomTeePanel.Draw
009ebf0e +02e VCLTee.TeeProcs TCustomTeePanel.Draw
009ec85b +02b VCLTee.TeeProcs TCustomTeePanel.Paint
005e35e6 +056 Vcl.Controls TCustomControl.PaintWindow
005da878 +1e8 Vcl.Controls TWinControl.PaintHandler
005db5af +08f Vcl.Controls TWinControl.WMPaint
005e3578 +018 Vcl.Controls TCustomControl.WMPaint
0040d81e +03e System TObject.Dispatch
005d30b3 +383 Vcl.Controls TControl.WndProc
005da493 +893 Vcl.Controls TWinControl.WndProc
009ed1c2 +012 VCLTee.TeeProcs TCustomTeePanel.WndProc
005d9707 +027 Vcl.Controls TWinControl.MainWndProc
004e5cf3 +023 System.Classes StdWndProc

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Crash in 3D chart

Post by Yeray » Thu Dec 14, 2017 10:53 am

Hello,

The ExistFourGridIndex method is probably accessing some invalid index of GridIndex array.
Could you please arrange a simple example project we can run as-is to reproduce the problem here?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply