Re: [fpc-devel] fpc 2.6.2 - heaptrc and dwarf will crash

2013-05-05 Thread Bruce Tulloch
It appears heaprc has another problem; if the RTL (and therefore heaprc) is compiled with OVERFLOWCHECKS enabled (i.e. -Co) it blows up when the aggregate of memory allocations made by a thread exceeds 4GB (the size of 32 bit allocation variables, e.g. getmem8_size). Does this perhaps suggest

Re: [fpc-devel] fpc 2.6.2 - heaptrc and dwarf will crash

2013-03-18 Thread Ludo Brands
On 03/17/2013 08:53 PM, Martin wrote: It seems that in FPC 2.6.2 the dwarf reading code in LnfoDwrf is broken. It always gives a run-error 131 Reported and cause identified more than a year ago: http://bugs.freepascal.org/view.php?id=20296 Ludo

[fpc-devel] fpc 2.6.2 - heaptrc and dwarf will crash

2013-03-17 Thread Martin
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