Page 1 of 1

Access violation at address 00000000. Read address 00000000

Posted: Mon Jul 16, 2012 1:19 pm
by 16562549
Hello,

I have a program in C++ Builder XE2 using Tee chart. I have 3 TColorLine tools attached to my chart and everything is correct at run time.
When I double-click the TChart (to open the editor) and navigate to the tools-section the following error message pops up immeadetly:
Access violation at address 00000000. Read address 00000000.
I can then see the three ColorLine items on the right but they do not have properties. Each time I click one of them the error comes up in the exact same way.
I am able to remove the ColorLine tools and the error disappears when I deleted all tool-objects!
The error seems to come up with any tool I add, regardless if it is an axis-tool or a series-tool.

I am using the latest XE2 version and the latest teechart version.

Following "stack-trace" is generated by XE2:

Code: Select all

[0A3DA84C]{fmx163.bpl  } FMX.Types.TControl.LocalToAbsolute (Line 10231, "FMX.Types.pas" + 7) + $1A
[503325D0]{vcl160.bpl  } Vcl.Controls.TControl.Perform (Line 6982, "Vcl.Controls.pas" + 10) + $8
[50330FC9]{vcl160.bpl  } Vcl.Controls.TControl.GetTextLen (Line 6030, "Vcl.Controls.pas" + 0) + $9
[5033105E]{vcl160.bpl  } Vcl.Controls.TControl.GetText (Line 6091, "Vcl.Controls.pas" + 1) + $2
[4362F1BF]{TeeLanguage916.bpl} Vcltee.Teetranslate.TeeTranslateAControl + $3F
[5003CCFD]{rtl160.bpl  } System.@AfterConstruction (Line 14213, "System.pas" + 2) + $5
[4223ABF5]{Tee916.bpl  } Vcltee.Teeprocs.TeeTranslateControl + $9
[4223AC01]{Tee916.bpl  } Vcltee.Teeprocs.TeeTranslateControl + $5
[184A5D41]{TeeUI916.bpl} Vcltee.Teeedittools.TFormTeeTools.LBToolsClick + $ED
[184A61B0]{TeeUI916.bpl} Vcltee.Teeedittools.TFormTeeTools.FillAndSet + $30
[184A6262]{TeeUI916.bpl} Vcltee.Teeedittools.TFormTeeTools.FormShow + $9E
[504495FD]{vcl160.bpl  } Vcl.Forms.TCustomForm.DoShow (Line 3963, "Vcl.Forms.pas" + 1) + $14
[5044DC35]{vcl160.bpl  } Vcl.Forms.TCustomForm.CMShowingChanged (Line 6581, "Vcl.Forms.pas" + 11) + $7
[184A64D9]{TeeUI916.bpl} Vcltee.Teeedittools.TFormTeeTools.CMShowingChanged + $5
[50332995]{vcl160.bpl  } Vcl.Controls.TControl.WndProc (Line 7204, "Vcl.Controls.pas" + 91) + $6
[503372F3]{vcl160.bpl  } Vcl.Controls.TWinControl.WndProc (Line 9976, "Vcl.Controls.pas" + 152) + $6
[5044A021]{vcl160.bpl  } Vcl.Forms.TCustomForm.WndProc (Line 4344, "Vcl.Forms.pas" + 201) + $5
[503325D0]{vcl160.bpl  } Vcl.Controls.TControl.Perform (Line 6982, "Vcl.Controls.pas" + 10) + $8
[503366F1]{vcl160.bpl  } Vcl.Controls.TWinControl.UpdateShowing (Line 9612, "Vcl.Controls.pas" + 19) + $C
[50336686]{vcl160.bpl  } Vcl.Controls.TWinControl.UpdateShowing (Line 9603, "Vcl.Controls.pas" + 10) + $10
[50336800]{vcl160.bpl  } Vcl.Controls.TWinControl.UpdateControlState (Line 9647, "Vcl.Controls.pas" + 21) + $3
[50335A52]{vcl160.bpl  } Vcl.Controls.TWinControl.InsertControl (Line 9040, "Vcl.Controls.pas" + 25) + $2
[50330F60]{vcl160.bpl  } Vcl.Controls.TControl.SetParent (Line 5999, "Vcl.Controls.pas" + 9) + $4
[5033C3CD]{vcl160.bpl  } Vcl.Controls.TWinControl.SetParent (Line 13312, "Vcl.Controls.pas" + 5) + $5
[184C613D]{TeeUI916.bpl} Vcltee.Teeeditcha.TChartEditForm.TreeChange + $A9
[5039D1C4]{vcl160.bpl  } Vcl.ComCtrls.TCustomTreeView.Change (Line 11750, "Vcl.ComCtrls.pas" + 4) + $A
[5039CC8E]{vcl160.bpl  } Vcl.ComCtrls.TCustomTreeView.CNNotify (Line 11505, "Vcl.ComCtrls.pas" + 212) + $14
[50332995]{vcl160.bpl  } Vcl.Controls.TControl.WndProc (Line 7204, "Vcl.Controls.pas" + 91) + $6
[503372F3]{vcl160.bpl  } Vcl.Controls.TWinControl.WndProc (Line 9976, "Vcl.Controls.pas" + 152) + $6
[5039CF4D]{vcl160.bpl  } Vcl.ComCtrls.TCustomTreeView.WndProc (Line 11657, "Vcl.ComCtrls.pas" + 20) + $4
[503325D0]{vcl160.bpl  } Vcl.Controls.TControl.Perform (Line 6982, "Vcl.Controls.pas" + 10) + $8
[50337443]{vcl160.bpl  } Vcl.Controls.DoControlMsg (Line 10045, "Vcl.Controls.pas" + 12) + $11
[50337EF9]{vcl160.bpl  } Vcl.Controls.TWinControl.WMNotify (Line 10325, "Vcl.Controls.pas" + 1) + $7
[50332995]{vcl160.bpl  } Vcl.Controls.TControl.WndProc (Line 7204, "Vcl.Controls.pas" + 91) + $6
[062AE176]{AQtime7BDS9.bpl} Aqdockutils.ShowDockForm + $302
[503372F3]{vcl160.bpl  } Vcl.Controls.TWinControl.WndProc (Line 9976, "Vcl.Controls.pas" + 152) + $6
[5044A021]{vcl160.bpl  } Vcl.Forms.TCustomForm.WndProc (Line 4344, "Vcl.Forms.pas" + 201) + $5
[50336948]{vcl160.bpl  } Vcl.Controls.TWinControl.MainWndProc (Line 9689, "Vcl.Controls.pas" + 3) + $6
[500B688C]{rtl160.bpl  } System.Classes.StdWndProc (Line 13878, "System.Classes.pas" + 8) + $0
[503373F0]{vcl160.bpl  } Vcl.Controls.TWinControl.DefaultHandler (Line 10017, "Vcl.Controls.pas" + 30) + $17
[50332FFD]{vcl160.bpl  } Vcl.Controls.TControl.WMLButtonDown (Line 7349, "Vcl.Controls.pas" + 2) + $6
[5039D90C]{vcl160.bpl  } Vcl.ComCtrls.TCustomTreeView.WMLButtonDown (Line 12011, "Vcl.ComCtrls.pas" + 4) + $5
[5003CA63]{rtl160.bpl  } System.TObject.Dispatch (Line 13727, "System.pas" + 11) + $0
[50332995]{vcl160.bpl  } Vcl.Controls.TControl.WndProc (Line 7204, "Vcl.Controls.pas" + 91) + $6
[5003CF1C]{rtl160.bpl  } System.TMonitor.CheckOwningThread (Line 14411, "System.pas" + 2) + $0
[50336B88]{vcl160.bpl  } Vcl.Controls.TWinControl.IsControlMouseMsg (Line 9753, "Vcl.Controls.pas" + 9) + $25
[503372F3]{vcl160.bpl  } Vcl.Controls.TWinControl.WndProc (Line 9976, "Vcl.Controls.pas" + 152) + $6
[5039CF4D]{vcl160.bpl  } Vcl.ComCtrls.TCustomTreeView.WndProc (Line 11657, "Vcl.ComCtrls.pas" + 20) + $4
[50336948]{vcl160.bpl  } Vcl.Controls.TWinControl.MainWndProc (Line 9689, "Vcl.Controls.pas" + 3) + $6
[500B688C]{rtl160.bpl  } System.Classes.StdWndProc (Line 13878, "System.Classes.pas" + 8) + $0
[50453213]{vcl160.bpl  } Vcl.Forms.TApplication.ProcessMessage (Line 10164, "Vcl.Forms.pas" + 23) + $1
[50453256]{vcl160.bpl  } Vcl.Forms.TApplication.HandleMessage (Line 10194, "Vcl.Forms.pas" + 1) + $4
[5044EA75]{vcl160.bpl  } Vcl.Forms.TCustomForm.ShowModal (Line 7035, "Vcl.Forms.pas" + 33) + $5
[184D1BD7]{TeeUI916.bpl} Vcltee.Editchar.EditChartPage + $2B
[184D1E32]{TeeUI916.bpl} Vcltee.Editchar.EditChart + $2
[184D1EDF]{TeeUI916.bpl} Vcltee.Editchar.EditChartPart + $9B
[4290879C]{DclTeePro916.bpl} Teechartreg.EditChartDesign + $24
[42908961]{DclTeePro916.bpl} Teechartreg.TChartCompEditor.Edit + $1D
[20FD9E6D]{designide160.bpl} ComponentDesigner.TInternalItem.Edit (Line 7200, "ComponentDesigner.pas" + 1) + $F
[20FA0D58]{designide160.bpl} Designer.TDesigner.Edit (Line 974, "Designer.pas" + 0) + $4
[20FA304F]{designide160.bpl} Designer.TDesigner.MouseDown (Line 1673, "Designer.pas" + 50) + $6
[51D3E21A]{vcldesigner160.bpl} VCLSurface.MouseEvent (Line 2906, "VCLSurface.pas" + 36) + $2A
[5003D25B]{rtl160.bpl  } System.TMonitor.Exit (Line 14614, "System.pas" + 2) + $7
[51D3EE3F]{vcldesigner160.bpl} VCLSurface.TVclDesignSurface.IsDesignMsg (Line 3176, "VCLSurface.pas" + 48) + $6
[5003C866]{rtl160.bpl  } System.@IsClass (Line 13351, "System.pas" + 1) + $8
[5033271B]{vcl160.bpl  } Vcl.Controls.TControl.WndProc (Line 7117, "Vcl.Controls.pas" + 4) + $21
[5003CF1C]{rtl160.bpl  } System.TMonitor.CheckOwningThread (Line 14411, "System.pas" + 2) + $0
[50336B88]{vcl160.bpl  } Vcl.Controls.TWinControl.IsControlMouseMsg (Line 9753, "Vcl.Controls.pas" + 9) + $25
[503372F3]{vcl160.bpl  } Vcl.Controls.TWinControl.WndProc (Line 9976, "Vcl.Controls.pas" + 152) + $6
[50336948]{vcl160.bpl  } Vcl.Controls.TWinControl.MainWndProc (Line 9689, "Vcl.Controls.pas" + 3) + $6
[500B688C]{rtl160.bpl  } System.Classes.StdWndProc (Line 13878, "System.Classes.pas" + 8) + $0
[50453213]{vcl160.bpl  } Vcl.Forms.TApplication.ProcessMessage (Line 10164, "Vcl.Forms.pas" + 23) + $1
[50453256]{vcl160.bpl  } Vcl.Forms.TApplication.HandleMessage (Line 10194, "Vcl.Forms.pas" + 1) + $4
[50453595]{vcl160.bpl  } Vcl.Forms.TApplication.Run (Line 10332, "Vcl.Forms.pas" + 26) + $3
Can somebody help me?

cheers
Jochen

Re: Access violation at address 00000000. Read address 00000000

Posted: Mon Jul 16, 2012 1:41 pm
by narcis
Hi Jochen,

Thanks for reporting. I could reproduce the issue here and added it (TV52016257) to the defect list to be investigated for next releases. It looks like adding any tool to a VCL project at design-time in XE2 will cause this error.

Re: Access violation at address 00000000. Read address 00000000

Posted: Mon Jul 16, 2012 3:45 pm
by 16562549
Hello NarcĂ­s,

thanks for the quick response! I'll stay tuned to the next release!
I hope this does not take long.

cheers
Jochen

Re: Access violation at address 00000000. Read address 00000000

Posted: Wed Aug 01, 2012 8:18 am
by narcis
Hi Jochen,

I have now found TV52016257 was a duplicate entry in the bug list so I have removed it. The correct bug tracking number is TV52016253.