#1 2017-12-26 19:33:26

gothbert
Member
Registered: 2017-11-08
Posts: 12

26 - RESTful ORM/RESTserver segfaults at termination

Hi,

using Lazarus 1.8.0 with fpc 3.0.4 under Windows 10, target x86_64, mode Delphi.

RESTserver example compiles and runs. On termination, after Enter key is pressed, a Segmentation fault occurs.

With the aid of the debugger, I could track down the issue to the inherited call in the destructor of TSQLRestServerFullMemory in mORMot.pas.

destructor TSQLRestServerFullMemory.Destroy;
begin
  UpdateToFile;
  inherited;
end;

Exception occurs at SYSTEM_$$_REMOVE_FREED_FIXED_CHUNKS$POSCHUNK

No such issues under Delphi 10.2.2 (Tokyo).

What I can do to fix the issue?

Best regards
Boris

Offline

Board footer

Powered by FluxBB