Page 1 of 1

Legend access violation normally or FastReport 5.2

Posted: Tue Mar 10, 2015 12:10 pm
by 16569069
I cannot find precisely, when this error occurs:
(Delphi XE5 pro, TeeChart 2015 with sources)
I did get this in normal runtime, but cannot find it yet ...

With FastReport 5.2 reproducable WITH Legend visible : if I have 3 series and then delete one I get this:
WITHOUT legend it is ok.

[422AB819]{Tee919.bpl } Vcltee.Chart.TCustomChartLegend.CalcItemWidth + $91
[422EBFEB]{Tee919.bpl } Vcltee.Teegdiplus.TGDIPlusCanvas.TextHeight + $8B
[422AA3B6]{Tee919.bpl } Vcltee.Chart.TCustomChartLegend.AllColumnsWidth + $12
[422AAA4A]{Tee919.bpl } Vcltee.Chart.TCustomChartLegend.AllColumnsWidth + $6A6
[422AAB36]{Tee919.bpl } Vcltee.Chart.TCustomChartLegend.AllColumnsWidth + $792
[422AB5B7]{Tee919.bpl } Vcltee.Chart.TCustomChartLegend.CalcRect + $437
[422A44DD]{Tee919.bpl } Vcltee.Chart.TChartTitle.ShouldDraw + $11
[422A5328]{Tee919.bpl } Vcltee.Chart.TCustomChart.DrawLeftWallFirst + $B0
[422A5546]{Tee919.bpl } Vcltee.Chart.TCustomChart.DrawTitlesAndLegend + $8E
[42283989]{Tee919.bpl } Vcltee.Teengine.TCustomAxisPanel.InternalDraw + $125
[422430E1]{Tee919.bpl } Vcltee.Teeprocs.TCustomTeePanel.ApplyMargins + $295
[42243195]{Tee919.bpl } Vcltee.Teeprocs.TCustomTeePanel.Draw + $21
[4224449D]{Tee919.bpl } Vcltee.Teeprocs.TCustomTeePanel.NonBufferDraw + $AD
[42244169]{Tee919.bpl } Vcltee.Teeprocs.TCustomTeePanel.DrawToMetaCanvas + $25
[42243308]{Tee919.bpl } Vcltee.Teeprocs.TCustomTeePanel.TeeCreateMetafile + $80
[290BC381]{frxTee19.bpl} Frxchart.TfrxChartView.Draw + $A1
[26C1AA7B]{frx19.bpl } Frxdesgnworkspace.TfrxDesignerWorkspace.Paint + $90B
[50060E05]{rtl190.bpl } System.@UStrArrayClr (Line 23997, "System.pas" + 16) + $0
[26BF1BB7]{frx19.bpl } Frxclass.TfrxReportPage.AlignChildren + $197
[26C1B6DD]{frx19.bpl } Frxdesgnworkspace.TfrxDesignerWorkspace.DrawObjects + $65
[26C31A7C]{frx19.bpl } Frxdesgnworkspace1.TDesignerWorkspace.DrawObjects + $210
[26BF1922]{frx19.bpl } Frxclass.TfrxReportPage.Draw + $E2
[26C1A2AF]{frx19.bpl } Frxdesgnworkspace.TfrxDesignerWorkspace.Paint + $13F
[26C1A2B9]{frx19.bpl } Frxdesgnworkspace.TfrxDesignerWorkspace.Paint + $149
[5046D65B]{vcl190.bpl } Vcl.Controls.TCustomControl.PaintWindow (Line 13837, "Vcl.Controls.pas" + 6) + $5
[50467835]{vcl190.bpl } Vcl.Controls.TWinControl.PaintHandler (Line 10123, "Vcl.Controls.pas" + 4) + $14
[50468028]{vcl190.bpl } Vcl.Controls.TWinControl.WMPaint (Line 10324, "Vcl.Controls.pas" + 6) + $5
[5046D5F5]{vcl190.bpl } Vcl.Controls.TCustomControl.WMPaint (Line 13826, "Vcl.Controls.pas" + 2) + $4
[50462B49]{vcl190.bpl } Vcl.Controls.TControl.WndProc (Line 7224, "Vcl.Controls.pas" + 91) + $6
[08C7219A]{AQtime8BDS12.bpl} Aqdockutils.ShowDockForm + $302
[50467669]{vcl190.bpl } Vcl.Controls.TWinControl.WndProc (Line 10039, "Vcl.Controls.pas" + 153) + $6
[5046A41B]{vcl190.bpl } Vcl.Controls.TWinControl.CMInvalidate (Line 12013, "Vcl.Controls.pas" + 10) + $4
[50466CAC]{vcl190.bpl } Vcl.Controls.TWinControl.MainWndProc (Line 9751, "Vcl.Controls.pas" + 3) + $6
[501749C4]{rtl190.bpl } System.Classes.StdWndProc (Line 17010, "System.Classes.pas" + 5) + $0
[5046A455]{vcl190.bpl } Vcl.Controls.TWinControl.Update (Line 12021, "Vcl.Controls.pas" + 1) + $12
[5046A46D]{vcl190.bpl } Vcl.Controls.TWinControl.Repaint (Line 12027, "Vcl.Controls.pas" + 2) + $4
[26C19E87]{frx19.bpl } Frxdesgnworkspace.TfrxDesignerWorkspace.SelectionChanged + $E3
[50156075]{rtl190.bpl } System.Classes.TList.IndexOf (Line 4280, "System.Classes.pas" + 9) + $4
[26C1EBB3]{frx19.bpl } Frxdesgnworkspace.TfrxDesignerWorkspace.MouseDown + $587
[26C330B0]{frx19.bpl } Frxdesgnworkspace1.TDesignerWorkspace.MouseDown + $2E4
[5046318C]{vcl190.bpl } Vcl.Controls.TControl.DoMouseDown (Line 7363, "Vcl.Controls.pas" + 7) + $2B
[504631DB]{vcl190.bpl } Vcl.Controls.TControl.WMLButtonDown (Line 7374, "Vcl.Controls.pas" + 7) + $E
[50462B49]{vcl190.bpl } Vcl.Controls.TControl.WndProc (Line 7224, "Vcl.Controls.pas" + 91) + $6
[50466EEC]{vcl190.bpl } Vcl.Controls.TWinControl.IsControlMouseMsg (Line 9815, "Vcl.Controls.pas" + 9) + $25
[50467669]{vcl190.bpl } Vcl.Controls.TWinControl.WndProc (Line 10039, "Vcl.Controls.pas" + 153) + $6
[17925951]{cxLibraryRS19.bpl} Dxhooks. + $0
[50466CAC]{vcl190.bpl } Vcl.Controls.TWinControl.MainWndProc (Line 9751, "Vcl.Controls.pas" + 3) + $6
[501749C4]{rtl190.bpl } System.Classes.StdWndProc (Line 17010, "System.Classes.pas" + 5) + $0
[5058E95B]{vcl190.bpl } Vcl.Forms.UnhookHintHooks (Line 8922, "Vcl.Forms.pas" + 3) + $10
[50590DC3]{vcl190.bpl } Vcl.Forms.TApplication.ProcessMessage (Line 10288, "Vcl.Forms.pas" + 23) + $1
[50590E06]{vcl190.bpl } Vcl.Forms.TApplication.HandleMessage (Line 10318, "Vcl.Forms.pas" + 1) + $4
[5058C172]{vcl190.bpl } Vcl.Forms.TCustomForm.ShowModal (Line 7084, "Vcl.Forms.pas" + 33) + $5
[26BF877F]{frx19.bpl } Frxclass.TfrxReport.DesignReport + $E3
(000011F2){dclfrx19.bpl} [26EC21F2]
[2110FB84]{designide190.bpl} DesignEditors.TComponentEditor.Edit (Line 2687, "DesignEditors.pas" + 1) + $11
[2113EEAD]{designide190.bpl} ComponentDesigner.TInternalItem.Edit (Line 7509, "ComponentDesigner.pas" + 1) + $F
[2110243C]{designide190.bpl} Designer.TDesigner.Edit (Line 1011, "Designer.pas" + 0) + $4
[2110476F]{designide190.bpl} Designer.TDesigner.MouseDown (Line 1712, "Designer.pas" + 50) + $6
[51F0B489]{vcldesigner190.bpl} VCLSurface.TComponentToolWindow.WndProc (Line 1600, "VCLSurface.pas" + 16) + $32
[51F0BF2B]{vcldesigner190.bpl} VCLSurface.TContainer.WndProc (Line 1900, "VCLSurface.pas" + 39) + $6
[51F0B2AB]{vcldesigner190.bpl} VCLSurface.TDesignerToolWindow.MainWndProc (Line 1535, "VCLSurface.pas" + 2) + $7
[501749C4]{rtl190.bpl } System.Classes.StdWndProc (Line 17010, "System.Classes.pas" + 5) + $0
[5059214F]{vcl190.bpl } Vcl.Forms.TApplication.CancelHint (Line 11117, "Vcl.Forms.pas" + 6) + $E
[50590DC3]{vcl190.bpl } Vcl.Forms.TApplication.ProcessMessage (Line 10288, "Vcl.Forms.pas" + 23) + $1
[50590E06]{vcl190.bpl } Vcl.Forms.TApplication.HandleMessage (Line 10318, "Vcl.Forms.pas" + 1) + $4
[50591141]{vcl190.bpl } Vcl.Forms.TApplication.Run (Line 10456, "Vcl.Forms.pas" + 26) + $3

thank you

Re: Legend access violation normally or FastReport 5.2

Posted: Wed Mar 11, 2015 10:40 am
by yeray
Hello,
VojkoCendak wrote:I cannot find precisely, when this error occurs:
(Delphi XE5 pro, TeeChart 2015 with sources)
I did get this in normal runtime, but cannot find it yet ...

With FastReport 5.2 reproducable WITH Legend visible : if I have 3 series and then delete one I get this:
WITHOUT legend it is ok.
Can you reproduce the problem without FastReports?
Please, try to arrange a simple example project we can run as-is to reproduce the problem here.
Thanks in advance.