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

petr.kristan at epos.cz petr.kristan at epos.cz
Thu Jun 2 10:30:25 CEST 2005


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

-- 
Ing. Petr Kristan
.
EPOS PRO s.r.o., Bozeny Nemcove 2625, 530 02 Pardubice
tel: +420 466335223    Czech Republic (Eastern Europe) 
fax: +420 466510709




More information about the fpc-devel mailing list