Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2005-06

Range check error in cthreads (make debug)

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

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

Reply by email

Tomas Hajny
to Unknown author

Date sent: Thu, 2 Jun 2005 10:30:25 +0200
From:
To:
Subject: [fpc-devel] Range check error in cthreads (make debug) Send reply to: FPC developers' list

Show quoted text 9 lines
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

Reply by email