Delphi (x64) ACCESS Violation resulted by a Freed Object Class
Brought to you by:
pierre_le_riche
Fast Memory Manager 4.991
When the function Image1.Bitmap.LoadFromFile('....\Image.jpg'); is performed in any function (FormCreate...), and FastMM4 is used on a new project, the following message(s) are reported 3x times.
FastMM has detected an attempt to call a virtual method on a freed object. An access violation will now be raised in order to abort the current operation.
Freed object class: TFileStream
Virtual method: Offset +64
Virtual method address: 512CB0
The allocation number was: 2227