[fpc-devel] TThread and heaptrc unit problem under Windows

Bogusław Brandys brandys at o2.pl
Wed Mar 15 13:38:23 CET 2006


Hi,


I have problem with tThread and heaptrc unit.Look below:

Summary:                    Exception when using TThread with heaptrc unit
Description:
Application using compiler options:
  -S2cadghi -Ciro -OG1 -TWin32 -g -gl -gh -vewnhi -l
-Fud:\projekty\fpc\fcl\db\sqlite\
-Fu..\..\..\lazarus\components\tdbf\lib\i386-win32\
-Fu..\..\..\lazarus\components\sqldb\lib\i386-win32\
-Fu..\..\..\lazarus\components\sqlite\lib\i386-win32\
-Fu..\..\..\lazarus\ideintf\units\i386-win32\
-Fu..\..\..\lazarus\components\uib\source\lib\
-Fu..\..\..\lazarus\lcl\units\i386-win32\
-Fu..\..\..\lazarus\lcl\units\i386-win32\win32\
-Fu..\..\..\lazarus\packager\units\i386-win32\ -Fu.
-oD:\projekty\flamenco\main\flamenco.exe -dLCL -dLCLwin32


Gives exception,stacktrace below:


[FORMS.PP] ExceptionOccurred
[FORMS.PP] ExceptionOccurred
Marked memory at $000C51A0 invalid
Wrong signature $AAAAAAAA instead of FA030A4C
   $0054A5CB  TRACEFREEMEM,  line 580 of ../inc/heaptrc.pp
   $0054A881  TRACEREALLOCMEM,  line 607 of ../inc/heaptrc.pp
   $00540631  REALLOCMEM,  line 383 of D:/projekty/fpc/rtl/inc/heap.inc
   $0055AEDF  TFPLIST__SETCAPACITY,  line 61 of
D:/projekty/fpc/rtl/objpas/classe
s/lists.inc
   $00559196  TFPLIST__CLEAR,  line 99 of
D:/projekty/fpc/rtl/objpas/classes/list
s.inc
   $0055CE42  TFPLIST__DESTROY,  line 81 of
D:/projekty/fpc/rtl/objpas/classes/li
sts.inc
   $0053F5F9  TOBJECT__FREE,  line 116 of
D:/projekty/fpc/rtl/inc/objpas.inc
   $0054E52F  FREEANDNIL,  line 109 of
D:/projekty/fpc/rtl/objpas/sysutils/sysuti
ls.inc
   $00559519  TLIST__DESTROY,  line 364 of
D:/projekty/fpc/rtl/objpas/classes/lis
ts.inc
An unhandled exception occurred at $00549BAE :
EInOutError :
   $00549BAE  TRACEEXIT,  line 1091 of ../inc/heaptrc.pp
   $00549881  HEAPTRC_finalize,  line 1191 of ../inc/heaptrc.pp
   $00546597  FINALIZEUNITS,  line 631 of
D:/projekty/fpc/rtl/inc/system.inc
   $00543066  INTERNALEXIT,  line 654 of
D:/projekty/fpc/rtl/inc/system.inc
   $0053F1F8  DO_EXIT,  line 669 of D:/projekty/fpc/rtl/inc/system.inc
   $0053F399  HALT,  line 683 of D:/projekty/fpc/rtl/inc/system.inc
   $0054A6FF  TRACEFREEMEMSIZE,  line 467 of ../inc/heaptrc.pp
   $0054A5CB  TRACEFREEMEM,  line 580 of ../inc/heaptrc.pp
   $0054A881  TRACEREALLOCMEM,  line 607 of ../inc/heaptrc.pp
   $00540631  REALLOCMEM,  line 383 of D:/projekty/fpc/rtl/inc/heap.inc
   $0055AEDF  TFPLIST__SETCAPACITY,  line 61 of
D:/projekty/fpc/rtl/objpas/classe
s/lists.inc
   $00559196  TFPLIST__CLEAR,  line 99 of
D:/projekty/fpc/rtl/objpas/classes/list
s.inc
   $0055CE42  TFPLIST__DESTROY,  line 81 of
D:/projekty/fpc/rtl/objpas/classes/li
sts.inc
   $0053F5F9  TOBJECT__FREE,  line 116 of
D:/projekty/fpc/rtl/inc/objpas.inc
   $0054E52F  FREEANDNIL,  line 109 of
D:/projekty/fpc/rtl/objpas/sysutils/sysuti
ls.inc
   $00559519  TLIST__DESTROY,  line 364 of
D:/projekty/fpc/rtl/objpas/classes/lis
ts.inc
   $0053F5F9  TOBJECT__FREE,  line 116 of
D:/projekty/fpc/rtl/inc/objpas.inc

D:\projekty\flamenco\main>

Any comments ?

Best regards
Boguslaw Brandys



More information about the fpc-devel mailing list