Here's a work in progress custom component I was making
https://pastebin.com/DdDUiTRjIf I have FItems anywhere in the Paint method, the thing dies with mysterious errors.
Trying the horrendous method recommended on the Wiki page of opening lazarus.lpi and then starting lazarus and debugging in that way...
It SIGSEGVs at FFFFFFFF. The assembler simply says <error>
With the nil check commented out, at one point it SIGSEGV'd but gave highlighted the line "if FItems.Count > 0 then "
With all references of FItems removed from Paint, there are no crashes. I cannot figure out why. My debugging (and programming as well) skills are not great
In SetItems, it appears FItems is set correctly (as shown from correct data from the kludgy ShowMessage).
What am I trying to do? Well, I am writing a simple vertical TListView component. I want the user to be able to edit the TStrings in the Lazarus object inspector (and have them save correctly, which it doesn't but I'm not sure if that's related). Then those TStrings will be drawn by the component.
I am using Lazarus 1.6.4 SVN revision 54278 64 bit on Windows 10. Thanks for your time