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

2005-06-02 Thread petr . kristan

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 466335223Czech Republic (Eastern Europe) 
fax: +420 466510709

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


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

2005-06-02 Thread Tomas Hajny
Date sent:  Thu, 2 Jun 2005 10:30:25 +0200
From:   [EMAIL PROTECTED]
To: fpc-devel@lists.freepascal.org
Subject:[fpc-devel] Range check error in cthreads (make debug)
Send reply to:  FPC developers' list fpc-devel@lists.freepascal.org
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]


 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

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel