View Issue Details

IDProjectCategoryView StatusLast Update
0035583LazarusLCLpublic2019-10-19 12:58
Reporterhdrz Assigned To 
Status newResolutionopen 
Platformx64OSwin10 home 
Product Version2.0 
Summary0035583: TTIGRID crashes on boolean properties
DescriptionUsing the TTIGrid example provided by lazarus, and adding a boolean property to the object, the grid crashes with SIGSEGV.
It should render a checkbox if I'm not mistaken.
Steps To ReproduceOpen RTTI example project 'exampleprojectgrid1', Add a boolean property to the object and run.

--- removed the copy/pasted code by Juha. ---
Additional InformationThe SIGSEGV is raised by the function 'TPropertyEditorHook.GetHandlerCount' in the file 'propedits.pp', specifically on line 7291 which reads: 'if FHandlers[HookType]<>nil then'. The array 'FHandlers' seems not to be in context for some reason...
TagsNo tags attached.
Fixed in Revision
Attached Files


related to 0032545 new TTIEdit doesnot support UnicodeString properties 


Juha Manninen

2019-05-14 19:46

developer   ~0116197

Could you please upload a compressed demo app instead of copying code to "Steps To Reproduce" field.


2019-05-15 06:51

reporter   ~0116201

The sample project is attached here

Juha Manninen

2019-05-17 10:22

developer   ~0116232

Yes I can reproduce.
The crash happens when changing LookupRoot for the properties. It is called before TForm1.Form1Create of the app.
Somehow the Boolean prop still messes it up. Interesting ...
You can also try to debug what is going on.

Issue History

Date Modified Username Field Change
2019-05-14 14:26 hdrz New Issue
2019-05-14 19:46 Juha Manninen Note Added: 0116197
2019-05-15 06:51 hdrz File Added:
2019-05-15 06:51 hdrz Note Added: 0116201
2019-05-17 10:09 Juha Manninen Steps to Reproduce Updated View Revisions
2019-05-17 10:09 Juha Manninen LazTarget => -
2019-05-17 10:09 Juha Manninen Widgetset Win32/Win64 => Win32/Win64
2019-05-17 10:22 Juha Manninen Note Added: 0116232
2019-10-19 12:58 Juha Manninen Relationship added related to 0032545