AV & Memory leak

<< Click to Display Table of Contents >>

Navigation:  Forum >

AV & Memory leak

Forum link

 


 

08-21-2020, 03:15 AM:

 

Delphi10.3.3

 

Intraweb v15.2.12

 

1.New / Other / Delphi / Intraweb / Intraweb Application Wizard

 

  StandAlone Application (Http.sys)

 

  Project Name: Test

 

2.program Test

 

  + ReportMemoryLeaksOnShutdown := True;

 

3.New / Other / Delphi / Intraweb / New Frame

 

unit Unit2;

 

interface

 

uses

 

  SysUtils, Classes, Controls, Forms, IWVCLBaseContainer, IWColor, IWContainer,

 

  IWRegion, IWHTMLContainer, IWHTML40Container;

 

type

 

  TIWFrame2 = class(TFrame)

 

    IWFrameRegion: TIWRegion;

 

    IWRegion1: TIWRegion;

 

  private

 

    { Private declarations }

 

  public

 

    { Public declarations }

 

  end;

 

implementation

 

{$R *.dfm}

 

end.

 

4.Copy IWFrame2(Unit2.pas) to IWForm1(Unit1.pas)

 

unit Unit1;

 

interface

 

uses

 

  Classes, SysUtils, IWAppForm, IWApplication, IWColor, IWTypes, Vcl.Controls,

 

  Vcl.Forms, IWVCLBaseContainer, IWContainer, IWHTMLContainer, IWHTML40Container, Unit2;

 

type

 

  TIWForm1 = class(TIWAppForm)

 

    IWFrame2: TIWFrame2;

 

  public

 

  end;

 

implementation

 

{$R *.dfm}

 

initialization

 

  TIWForm1.SetAsMainForm;

 

end.

 

5.Run (F9)

 

6.Launch Firefox and execute application

 

  http://127.0.0.1:8888/

 

7.Shutdown

 

  AV...

 

  Memory Leak...

 


 

08-21-2020, 04:02 PM:

 

Memory leak is direct consequence of the AV.

 

We are aware of this issue and a fix is already in place. We are just finishing our tests before releasing it.

 

Cheers,