Hi!
It seems there is a problem with dynamic arrays which are defined as
static variables in classes.
Type
TTest = class
FDynArr : Array of Integer; static;
End;
When the class is Destroy()ed, the call to CleanupInstance, which calls
fpc_finalize, does a fpc_dynarray_decr_ref which gener
Hi,
I just tried and can reproduce this with fpc rev. 16078 on win64.
Running
{$mode objfpc}{$H+}
Type
TTest = class
FDynArr : Array of Integer; static;
End;
var
x : TTest;
begin
x := TTest.Create();
x.free;
end.
gives
Program received signal SIGSEGV, Segmentation fault.
fpc_
On Tuesday 05 October 2010 01:00:19 Willibald Krenn wrote:
> Hi,
>
> I just tried and can reproduce this with fpc rev. 16078 on win64.
Same thing here on Linux , AMD64, few days old FPC trunk version.
Juha
___
fpc-devel maillist - fpc-devel@lists.fre
Hi!
Am Dienstag, den 05.10.2010, 10:50 +0300 schrieb Juha Manninen (gmail):
> On Tuesday 05 October 2010 01:00:19 Willibald Krenn wrote:
> > Hi,
> >
> > I just tried and can reproduce this with fpc rev. 16078 on win64.
>
> Same thing here on Linux , AMD64, few days old FPC trunk version.
Thank
On 05 Oct 2010, at 11:38, Johann Glaser wrote:
Thank you for trying and confirming. Should I submit a bug report?
Somebody else already did: http://bugs.freepascal.org/view.php?id=17546
Jonas
___
fpc-devel maillist - fpc-devel@lists.freepascal.o