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
without debug info (make) it is ok.
Linux, fpc from svn
Petr
