[fpc-pascal] Strange exception

Peter Vreman peter at freepascal.org
Fri Oct 29 07:16:02 CEST 2004


> I have 1.9.5 installed on a second computer.  When I compile using
> the newer version, I get a slightly different error message:
>
> An unhandled exception occurred at 0x0807498D :
> ERangeError : Range check error
>   $0807498D  SVDCMP2,  line 337 of lsa2.pas
>   $00000001
>
>> I compiled a program using -gl with FPC 1.9.4 on Linux and I get
>> this
>> run-time-error when running the program:
>>
>> An unhandled exception occurred at 0x080742B2 :
>> ERangeError : Range check error
>>   $080742B2  SVDCMP2,  line 337 of lsa2.pas
>>   $BFFFF924  P$LSA2_finalize_implicit,  line 692 of lsa2.pas
>>
>> What makes it strange is that line 337 is the final end statement
>> of
>> the procedure SVDCMP2 and line 692 is the final end statement of
>> the
>> program lsa2.  Any ideas what might cause this or what to do?

There is a variable that needs to be finalized since it contains
refcounted types.

What the reason is is impossible to tell without the source code.

Peter





More information about the fpc-pascal mailing list