Starting from revision 19044, when i put a TVirtualStringTree control in a form the IDE crashes (see attached log). I could not reproduce with other controls and i'm not sure if the problem is in the changes introduced in 19044 or if just revealed a TVirtualStringTree bug.

The VTV code can be obtained from: https://lazarus-ccr.svn.sourceforge.net/svnroot/lazarus-ccr/components/virtualtreeview-new It requires LCLExtension package: https://luipack.googlecode.com/svn/trunk/lclextensions


Any help is appreciated.

Luiz
TMainIDE.ParseCmdLineOptions:
  PrimaryConfigPath="C:\Documents and Settings\luiz\Configurações 
locais\Dados de aplicativos\lazarus"
  SecondaryConfigPath="D:\repositories\lazarus"
NOTE: help options config file not found - using defaults
TMainIDE.DoNewProject A
TCustomFormEditor.CreateComponent Form1:TForm1 True
TMainIDE.DoNewEditorFile END unit1.pas
Parent is 'Form1:TForm1'
TCustomFormEditor.CreateComponent VirtualStringTree1:TVirtualStringTree True
TMainIDE.OnPropHookPersistentAdded A VirtualStringTree1:TVirtualStringTree
TApplication.HandleException Access violation
  Stack trace:
  $0040B249
  $00641C2A  TLISTPROPERTYEDITOR__GETELEMENTCOUNT,  line 3394 of propedits.pp
  $0064218A  TLISTPROPERTYEDITOR__DOSAVEELEMENTS,  line 3501 of propedits.pp
  $00641EBD  TLISTPROPERTYEDITOR__SAVEELEMENTS,  line 3436 of propedits.pp
  $006426D1  TLISTPROPERTYEDITOR__INITIALIZE,  line 3608 of propedits.pp
  $0064AEEC  REC,  line 6817 of propedits.pp
  $0064ACE2  ISINTERESTING,  line 6832 of propedits.pp
  $0062979D  TOICUSTOMPROPERTYGRID__EDITORFILTER,  line 2169 of 
objectinspector.pp
  $0063D91F  GETPERSISTENTPROPERTIES,  line 2092 of propedits.pp
  $0063DC93  GETPERSISTENTPROPERTIES,  line 2157 of propedits.pp
  $00627532  TOICUSTOMPROPERTYGRID__BUILDPROPERTYLIST,  line 1575 of 
objectinspector.pp
  $0062575E  TOICUSTOMPROPERTYGRID__SETSELECTION,  line 1125 of 
objectinspector.pp
  $0063130D  TOBJECTINSPECTORDLG__REFRESHSELECTION,  line 4080 of 
objectinspector.pp
  $006311FD  TOBJECTINSPECTORDLG__SETSELECTION,  line 4060 of objectinspector.pp
  $00711775  TCUSTOMFORMEDITOR__SETSELECTION,  line 909 of customformeditor.pp
  $0044FBC5  TMAINIDE__ONCONTROLSELECTIONCHANGED,  line 11721 of main.pp
  $0071AE8A  TCONTROLSELECTION__DOCHANGE,  line 1799 of 
D:/repositories/lazarus/designer/controlselection.pp
TMainIDE.CloseUnitComponent unit1.pas Form1:TForm1
TProject.UpdateUnitComponentDependencies checking properties ...
Search UnitComponent=Form1:TForm1 
AComponent=VirtualStringTree1:TVirtualStringTree ReferenceUnit=False
TProject.UpdateUnitComponentDependencies checking designers ...
TProject.UpdateUnitComponentDependencies used by designer: unit1.pas
TMainIDE.CloseUnitComponent freeing component and designer: unit1.pas 
Form1:TForm1
TProject.UpdateUnitComponentDependencies checking designers ...
LAZARUS END - cleaning up ...
[TMainIDE.Destroy] A 
[TMainIDE.Destroy] B  -> inherited Destroy... TMainIDE
[TMainIDE.Destroy] END
_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to