Hello lazarus project,

This error is shown, when I try to SetLength (FItem, 1); where FItem
is defined as:

TYPE TSomeItem = RECORD
                   First :single;
                   Second:Single;
                   Third :integer;

TYPE TSomethingArr = ARRAY OF TSomeItem;

TYPE TMyObject =class
                 private
                   FItem :TSomethingArr;
                 ...

> Program received signal EXC_BAD_ACCESS, Could not access memory.
> Reason: KERN_PROTECTION_FAILURE at address: 0x0000cbe0
> 0x00002890 in SYSTEM_CPUDECLOCKED$LONGINT$$BOOLEAN ()
> (gdb)

I use up-to-date SVN versions of Lazarus/Fpc on MacOSX 10.5 Intel with
Carbon.

What could be a reason?

-- 
Best regards, TRoland
http://www.rotursoft.sk
http://exekutor.rotursoft.sk

_______________________________________________
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to