[fpc-devel] Range check error in cthreads (make debug)

Tomas Hajny XHajT03 at mbox.vol.cz
Fri Jun 3 06:56:50 CEST 2005


Date sent:      	Thu, 2 Jun 2005 10:30:25 +0200
From:           	petr.kristan at epos.cz
To:             	fpc-devel at lists.freepascal.org
Subject:        	[fpc-devel] Range check error in cthreads (make debug)
Send reply to:  	FPC developers' list <fpc-devel at lists.freepascal.org>
	<mailto:fpc-devel-request at lists.freepascal.org?subject=unsubscribe>
	<mailto:fpc-devel-request at lists.freepascal.org?subject=subscribe>


> If i compile rtl with debug info (make debug), then i get at start of
> my multithreaded app:
> 
> An unhandled exception occurred at $08062B3C :
> ERangeError : Range check error
>   $08062B3C  CGETCURRENTTHREADID,  line 310 of ../unix/cthreads.pp
>   $0805ADAD  GETCURRENTTHREADID,  line 136 of
>   /mnt/progs/devel/fpc/rtl/inc/thread.inc $08140367  COMMONINIT,  line
>   1519 of /mnt/progs/devel/fpc/rtl/objpas/classes/classes.inc

Thank you, should be fixed now.

Tomas




More information about the fpc-devel mailing list