Atozed Forums
AV & Memory leak - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: AV & Memory leak (/thread-1896.html)



AV & Memory leak - Encina - 08-21-2020

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...


RE: AV & Memory leak - Alexandre Machado - 08-21-2020

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,