It seems that in FPC 2.6.2 the dwarf reading code in LnfoDwrf is broken.
It always gives a run-error 131

compiled below example with
 -MObjFPC -Scghi -O1 -gw2 -gl -gh -vewnhi

and boom

program Project1;
{$mode objfpc}{$H+}
begin
  TObject.Create;
end.


it prints

Heap dump by heaptrc unit
1 memory blocks allocated : 4/8
0 memory blocks freed     : 0/0
1 unfreed memory blocks : 4
True heap size : 98304 (112 used in System startup)
True free heap : 98112
Should be : 98120
Call trace for block $00087458 size 4
  $00401427 line 6 of project1.lpr

and then 131 is risen



_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to