Following Setup: Ubuntu 8.10 x64 FPC 2.2.3 (latest and greatest) Lazarus (Latest and greatest)
I'm seeing an anomaly with reading/writing to an Array[THandle] of Pointers. TMyStruct=record Index:integer; end; PMyStruct=^TMyStruct; TMyList = Array[THandle] of PMyStruct; If I declare a localized variable procedure Test(); var MyTest:TMyList; hThread:THandle; begin hThread:=getCurrentThreadID; if (MyTest[hThread])=nil then begin // <---- CRASH HERE EXTERNAL SIGBUS end; end; This should not crash here. It should have been nil. Any work being done in this area or should I report another bug? _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal