[Lazarus] RFH: AV when deleting TAChart from the form

Martin lazarus at mfriebe.de
Sun Apr 11 15:55:38 CEST 2010


On 11/04/2010 13:57, Alexander Klenin wrote:
> Can anyone help me with http://bugs.freepascal.org/view.php?id=16035 ?
> This code is so complicated, I can not understand what is going on.
> It may be a bug in TAChart itself, but I do not see it either.
> Now that the user was burned by the issue
> (see http://bugs.freepascal.org/view.php?id=16254),
> I think the priority has risen somewhat.
>
>    
Not sure if it helps.

but I found the following:

When it crashes, it reads the Property  (and tries to perform an "is 
TCollection" on it)
   TLineSeries.Marks

(in this case ChartTSummer)

However it Seems that Marks has a dangling pointer to a destroyed object.

I don't know where it may have been destroyed, nor if that should have 
removed the pointer.

Martin






More information about the Lazarus mailing list