TTIGRID crashes on boolean properties
Original Reporter info from Mantis: hdrz
-
Reporter name:
Original Reporter info from Mantis: hdrz
- Reporter name:
Description:
Using 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 reproduce:
Open RTTI example project 'exampleprojectgrid1', Add a boolean property to the object and run.
--- removed the copy/pasted code by Juha. ---
Additional information:
The 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...
Mantis conversion info:
- Mantis ID: 35583
- OS: win10 home
- OS Build: 1809
- Build: SVN REV 60307
- Platform: x64
- Version: 2.0
- Fixed in revision: r63345 (#0a06f431)