EAccessViolation in TeeChart 5 Pro for Cbuilder5
Posted: Tue May 16, 2006 5:56 pm
I have a customer who keeps getting an access violation with the same stack trace (bottom of trace removed for clarity):
exception class : EAccessViolation
exception message : Access violation at address 005C4C7A in module 'SB.exe'. Read of address 00000004.
main thread ($450):
005c4c7a SB.exe TeEngine TChartSeries.CalcXPos
005d4968 SB.exe Series TCustomSeries.Clicked
0068f72e SB.exe System @ClassDestroy
005cc464 SB.exe Chart _16510
005cc792 SB.exe Chart TCustomChart.MouseMove
0064cb74 SB.exe Controls TControl.WMMouseMove
0064c6e1 SB.exe Controls TControl.WndProc
0064f22a SB.exe Controls TWinControl.WndProc
0064ee2c SB.exe Controls TWinControl.MainWndProc
006341e4 SB.exe Forms _16460
77e27ed1 USER32.dll DispatchMessageA
0063cc3b SB.exe Forms TApplication.ProcessMessage
0063cc5a SB.exe Forms TApplication.ProcessMessages
I have the source code so I can see the probable cause of the exception ( an index out of range I think) but I don't understand the stack after the mouse move - what's the ClassDestroy and how does that lead to TCustomSeries.Clicked?
exception class : EAccessViolation
exception message : Access violation at address 005C4C7A in module 'SB.exe'. Read of address 00000004.
main thread ($450):
005c4c7a SB.exe TeEngine TChartSeries.CalcXPos
005d4968 SB.exe Series TCustomSeries.Clicked
0068f72e SB.exe System @ClassDestroy
005cc464 SB.exe Chart _16510
005cc792 SB.exe Chart TCustomChart.MouseMove
0064cb74 SB.exe Controls TControl.WMMouseMove
0064c6e1 SB.exe Controls TControl.WndProc
0064f22a SB.exe Controls TWinControl.WndProc
0064ee2c SB.exe Controls TWinControl.MainWndProc
006341e4 SB.exe Forms _16460
77e27ed1 USER32.dll DispatchMessageA
0063cc3b SB.exe Forms TApplication.ProcessMessage
0063cc5a SB.exe Forms TApplication.ProcessMessages
I have the source code so I can see the probable cause of the exception ( an index out of range I think) but I don't understand the stack after the mouse move - what's the ClassDestroy and how does that lead to TCustomSeries.Clicked?