[Lazarus] memleaks, laz trunk r37392...

waldo kitty wkitty42 at windstream.net
Tue May 22 21:36:11 CEST 2012


just updated yesterday to FPC 2.6.0 release... lazarus trunk... made a few svn 
updates yesterday and today... laz runs with no problem that i can see... i 
always build a debug version of lazarus with heaptrace...

today, i pulled and compiled r37392... just starting and exiting laz causes the 
heaptrace to spit and shout... i don't know how to capture the windows that 
heaptrace puts up or i'd post them here... i don't think multiple graphics is 
the proper way... i'll transcribe the first box...

Heap dump by heaptrc unit
578898 memory blocks allocated : 61000727/62715760
578880 memory blocks freed   : 61000619/62715616
18 unfreed memory blocks : 108
True heap size : 6029312 (128 used in System startup)
True free heap : 6157680
Should be : 6027888
Call trace for block $089B5020 size 6
  $00798F3E line 1037 of compileroptions.pp
  $00BF2AA5 line 1624 of codetoolscfgscript.pas
  $00BF3A0F line 1995 of codetoolscfgscript.pas
  $00BF2518 line 1523 of codetoolscfgscript.pas
  $00BF1C78 line 1376 of codetoolscfgscript.pas
  $00BF1E87 line 1422 of codetoolscfgscript.pas
  $00BF1B8D line 1356 of codetoolscfgscript.pas
  $00BF20E3 line 1456 of codetoolscfgscript.pas
Call trace for block $0BB495D8 size 6
  $00798E0F line 1029 of compileroptions.pp
  $00BF2AA5 line 1624 of codetoolscfgscript.pas
  $00BF3A0F line 1995 of codetoolscfgscript.pas
  $00BF2016 line 1443 of codetoolscfgscript.pas
  $00BF1BB2 line 1361 of codetoolscfgscript.pas
  $00BF1E87 line 1422 of codetoolscfgscript.pas
  $

second box

  $00BF1B8D line 1356 of codetoolscfgscript.pa $00BF20E3 line 1456 of 
codetoolscfgscript.pas
Call trace for block $0B9A4EE0 size 6
  $00798F3E line 1037 of compileroptions.pp
  $00BF2AA5 line 1624 of codetoolscfgscript.pas
  $00BF3A0F line 1995 of codetoolscfgscript.pas
  $00BF2518 line 1523 of codetoolscfgscript.pas
  $00BF1C78 line 1376 of codetoolscfgscript.pas
  $00BF1E87 line 1422 of codetoolscfgscript.pas
  $00BF1B8D line 1356 of codetoolscfgscript.pas
  $00BF20E3 line 1456 of codetoolscfgscript.pas
Call trace for block $0BB443A8 size 6
  $00798E0F line 1029 of compileroptions.pp
  $00BF2AA5 line 1624 of codetoolscfgscript.pas
  $00BF3A0F line 1995 of codetoolscfgscript.pas
  $00BF2016 line 1443 of codetoolscfgscript.pas
  $00BF1BB2 line 1361 of codetoolscfgscript.pas
  $00BF1E87 line 1422 of codetoolscfgscript.pas
  $00BF1B8D line 1356 of codetoolscfgscript.pas
  $00BF20E3 line 1456 of codetoolscfgscript.pas
Call trace for block $0B9A3200 size 6
  $00798F3E line 1037 of compileropt

third box

  $00798F $00BF2AA5 line 1624 of codetoolscfgscript.pas
  $00BF3A0F line 1995 of codetoolscfgscript.pas
  $00BF2518 line 1523 of codetoolscfgscript.pas
  $00BF1C78 line 1376 of codetoolscfgscript.pas
  $00BF1E87 line 1422 of codetoolscfgscript.pas
  $00BF1B8D line 1356 of codetoolscfgscript.pas
  $00BF20E3 line 1456 of codetoolscfgscript.pas
Call trace for block $0BB425F8 size 6
  $00798E0F line 1029 of compileroptions.pp
  $00BF2AA5 line 1624 of codetoolscfgscript.pas
  $00BF3A0F line 1995 of codetoolscfgscript.pas
  $00BF2016 line 1443 of codetoolscfgscript.pas
  $00BF1BB2 line 1361 of codetoolscfgscript.pas
  $00BF1E87 line 1422 of codetoolscfgscript.pas
  $00BF1B8D line 1356 of codetoolscfgscript.pas
  $00BF20E3 line 1456 of codetoolscfgscript.pas
Call trace for block $0B98E838 size 6
  $00798F3E line 1037 of compileroptions.pp
  $00BF2AA5 line 1624 of codetoolscfgscript.pas
  $00BF3A0F line 1995 of codetoolscfgscript.pas
  $00BF2518 line 1523 of codetoolscfgscript.pas
  $00BF1C78 li

that's enough... i also note a definite set of patterns to the above call 
traces... it continues on in the same manner for another 5 popup boxes...

i also want to point out the error at the end and beginning of each box after 
the first one... the last line of output is truncated and the first line of the 
next box doesn't pick up properly and carry on...




More information about the Lazarus mailing list