View Issue Details

IDProjectCategoryView StatusLast Update
0004359JEDI VCL00 JVCL Componentspublic2008-10-29 06:22
ReporterJebtrixAssigned Toobones 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionwon't fix 
Product Version3.33 
Target VersionFixed in Version 
Summary0004359: Memory leak from JvgCheckBox (actual leak is deeper in jvcl of course)
DescriptionUsing Delphi 7.1 with WinXP SP2 (UpToDate)
I finally started using FastMM4 with leak reporting and noticed a leak I traced to JvgCheckbox.

To Reproduce:
FastMM4(v4.78) with full debugmode reporting on.
A Jvgcheckbox on a form (default properties)
Start App then Close it.
*Leak*

Disabling fcoFastDraw doesn't help nor does setting GlyphKind fgkCustom and deleting all glyph {TBitmaps} properties.

Temporary Hack/Fix:

unit JvgCheckBox;

{$I jvcl.inc}
{$I windowsonly.inc} // (ahuser) uses WndProc and Wnd hooks

interface
uses

  //ADD
  {$UNDEF USEJVCL} //Using standard vcl reports no leaks :)

  {$IFDEF USEJVCL}
...


Additional Information
--------------------------------2008/3/13 15:13:30--------------------------------
A memory block has been leaked. The size is: 116

Stack trace of when this block was allocated (return addresses):
402D48
4037CF
403B6A
403804
429B9F
429BB6
429AEC
4290D5
42A799
473003

The block is currently used for an object of class: TBitmapImage

The allocation number is: 662

Current memory dump of 256 bytes starting at pointer address 1140820:
30 31 42 00 01 00 00 00 1D 09 05 A6 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0A 00 00 00
0A 00 00 00 28 00 00 00 01 00 20 00 00 00 00 00 00 00 00 00 0A 00 00 00 0A 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 7E CE 7F F9 00 00 00 00 91 09 14 01
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A5 02 00 00 48 2D 40 00 CF 37 40 00 6A 3B 40 00
04 38 40 00 9F 9B 42 00 B6 9B 42 00 EC 9A 42 00 D5 90 42 00 0D A4 42 00 4C D2 45 00 73 2D 40 00
ED 37 40 00 B5 3B 40 00 87 84 42 00 33 38 40 00 2D 84 42 00 36 8F 42 00 33 38 40 00 71 D8 45 00
92 45 47 00 74 00 00 00 30 31 42 00 45 B6 7F 06 80 DC 47 00 80 80 80 80 80 80 80 80 80 80 80 80
0 1 B . . . . . . . . ¦ . . . . . . . . . . . . . . . . . . . .
. . . . ( . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . ~ Î  ù . . . . ‘ . . .
. . . . . . . . . . . . . . . . ¥ . . . H - @ . Ï 7 @ . j ; @ .
. 8 @ . Ÿ › B . ¶ › B . ì š B . Õ  B . . ¤ B . L Ò E . s - @ .
í 7 @ . µ ; @ . ‡ „ B . 3 8 @ . - „ B . 6  B . 3 8 @ . q Ø E .
’ E G . t . . . 0 1 B . E ¶  . € Ü G . € € € € € € € € € € € €

--------------------------------2008/3/13 15:13:30--------------------------------
A memory block has been leaked. The size is: 100

Stack trace of when this block was allocated (return addresses):
402D48
4037CF
403B6A
428227
41A097
4294A9
47302B
4744F1
449CCE
4437FB

The block is currently used for an object of class: TBitmapCanvas

The allocation number is: 663

Current memory dump of 256 bytes starting at pointer address 1148490:
A0 80 42 00 00 00 00 00 00 00 00 00 10 3E 18 01 88 D2 17 01 20 D3 17 01 00 00 00 00 00 00 00 00
20 00 CC 00 00 00 00 00 34 91 42 00 F0 5C 16 01 10 91 42 00 F0 5C 16 01 00 63 15 00 FF FF FF FF
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 F0 5C 16 01 0F 00 85 01
00 00 00 00 18 D7 4C FC 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
A6 02 00 00 48 2D 40 00 CF 37 40 00 6A 3B 40 00 27 82 42 00 6F A0 41 00 A9 94 42 00 7F D2 45 00
64 95 40 00 73 2D 40 00 ED 37 40 00 73 2D 40 00 ED 37 40 00 B5 3B 40 00 7D 82 42 00 33 38 40 00
3E 8F 42 00 33 38 40 00 71 D8 45 00 92 45 47 00 CE 9C 44 00 64 00 00 00 A0 80 42 00 B4 0B 7D 06
80 DC 47 00 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80
   â‚¬ B . . . . . . . . . . > . . ˆ Ã’ . . Ó . . . . . . . . . .
   . ÃŒ . . . . . 4 ‘ B . ð \ . . . ‘ B . ð \ . . . c . . ÿ ÿ ÿ ÿ
. . . . . . . . . . . . . . . . . . . . . . . . ð \ . . . . … .
. . . . . × L ü . . . . . . . . . . . . . . . . . . . . . . . .
¦ . . . H - @ . Ï 7 @ . j ; @ . ' ‚ B . o A . © ” B .  Ò E .
d • @ . s - @ . í 7 @ . s - @ . í 7 @ . µ ; @ . } ‚ B . 3 8 @ .
>  B . 3 8 @ . q Ø E . ’ E G . Î œ D . d . . . € B . ´ . } .
€ Ü G . € € € € € € € € € € € € € € € € € € € € € € € € € € € €

--------------------------------2008/3/13 15:13:30--------------------------------
A memory block has been leaked. The size is: 68

Stack trace of when this block was allocated (return addresses):
402D48
4234E2
423F44
44154B
4448F9
44A634
449D3B
43C3D4
44D88E
44D9D0

The block is currently used for an object of class: Unknown

The allocation number is: 223

Current memory dump of 256 bytes starting at pointer address 1164D30:
00 00 00 00 01 00 00 00 39 1A 0A EF D0 49 80 80 00 00 00 00 F5 FF FF FF 00 00 01 06 54 61 68 6F
6D 61 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FE B0 AB F9
80 80 80 80 80 80 80 80 00 00 00 00 01 4F 16 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
CD 00 00 00 48 2D 40 00 E2 34 42 00 29 36 42 00 CF 40 42 00 C7 42 42 00 83 9E 43 00 E6 B9 80 7C
05 CE 4B 00 48 CE 4B 00 0E 5A F1 77 73 2D 40 00 F0 35 42 00 33 38 40 00 2A 97 43 00 33 38 40 00
01 D7 44 00 5C D9 44 00 5B 42 40 00 36 45 40 00 4D 53 47 00 3C 00 00 00 00 00 00 00 64 AF 44 FA
80 DC 47 00 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 9B 50 BB 05
. . . . . . . . 9 . . ï Ð I € € . . . . õ ÿ ÿ ÿ . . . . T a h o
m a . . . . . . . . . . . . . . . . . . . . . . . . . . þ ° « ù
€ € € € € € € € . . . . . O . . . . . . . . . . . . . . . . . .
Í . . . H - @ . â 4 B . ) 6 B . Ï @ B . Ç B B . ƒ ž C . æ ¹ € |
. Î K . H Î K . . Z ñ w s - @ . ð 5 B . 3 8 @ . * — C . 3 8 @ .
. × D . \ Ù D . [ B @ . 6 E @ . M S G . < . . . . . . . d ¯ D ú
€ Ü G . € € € € € € € € € € € € € € € € € € € € € € € € € € € €
€ € € € € € € € € € € € € € € € € € € € € € € € € € € € › P » .

--------------------------------2008/3/13 15:13:30--------------------------------
A memory block has been leaked. The size is: 68

Stack trace of when this block was allocated (return addresses):
402D48
4037CF
403B6A
428EC3
472FD0
4744DF
4744F1
449CCE
4437FB
4437FB

The block is currently used for an object of class: TBitmap

The allocation number is: 659

Current memory dump of 256 bytes starting at pointer address 1165CF0:
90 31 42 00 00 00 00 00 ED 92 41 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
01 00 00 00 0E 2D 42 00 20 08 14 01 90 84 14 01 00 00 00 00 00 00 00 20 00 00 00 00 09 AB 43 FC
80 80 80 80 80 80 80 80 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
A2 02 00 00 48 2D 40 00 CF 37 40 00 6A 3B 40 00 C3 8E 42 00 7A D0 4B 00 25 D2 45 00 64 95 40 00
73 2D 40 00 ED 37 40 00 B5 3B 40 00 73 2D 40 00 ED 37 40 00 B5 3B 40 00 55 8F 42 00 33 38 40 00
71 D8 45 00 92 45 47 00 CE 9C 44 00 FB 37 44 00 FB 37 44 00 3C 00 00 00 90 31 42 00 6E 2D 8C 06
80 DC 47 00 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 91 D2 73 F9
 1 B . . . . . í ’ A . . . . . . . . . . . . . . . . . . . . .
. . . . . - B . . . .  „ . . . . . . . . . . . . . . « C ü
€ € € € € € € € . . . . . . . . . . . . . . . . . . . . . . . .
¢ . . . H - @ . Ï 7 @ . j ; @ . Ã Ž B . z Ð K . % Ò E . d • @ .
s - @ . í 7 @ . µ ; @ . s - @ . í 7 @ . µ ; @ . U  B . 3 8 @ .
q Ø E . ’ E G . Î œ D . û 7 D . û 7 D . < . . .  1 B . n - Œ .
€ Ü G . € € € € € € € € € € € € € € € € € € € € € € € € € € € €
€ € € € € € € € € € € € € € € € € € € € € € € € € € € € ‘ Ò s ù

--------------------------------2008/3/13 15:13:30--------------------------------
A memory block has been leaked. The size is: 28

Stack trace of when this block was allocated (return addresses):
402D48
4037CF
403B6A
424456
424A5E
428236
4294A9
47302B
4744F1
449CCE

The block is currently used for an object of class: TPen

The allocation number is: 665

Current memory dump of 256 bytes starting at pointer address 117D288:
48 2A 42 00 00 00 00 00 70 54 42 00 90 84 14 01 90 2C 18 01 C8 84 14 01 04 00 00 00 35 D3 4A FC
00 00 00 00 70 A5 17 01 00 00 00 00 00 00 00 00 FF FF FF FF 00 00 00 00 9A 02 00 00 48 2D 40 00
CF 37 40 00 6A 3B 40 00 22 47 42 00 7F 4A 42 00 36 82 42 00 A9 94 42 00 2B 30 47 00 F1 44 47 00
CE 9C 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 18 00 00 00 00 00 00 00 4C 30 B5 03 48 2B 42 00 00 00 00 00
90 54 42 00 90 84 14 01 50 3A 18 01 C8 84 14 01 B3 CF 4A FC 80 80 80 80 00 00 00 00 E1 D3 17 01
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A9 02 00 00 48 2D 40 00 CF 37 40 00 6A 3B 40 00
22 47 42 00 7F 4A 42 00 36 82 42 00 A9 94 42 00 7F D2 45 00 64 95 40 00 73 2D 40 00 73 2D 40 00
H * B . . . . . p T B .  „ . .  , . . È „ . . . . . . 5 Ó J ü
. . . . p ¥ . . . . . . . . . . ÿ ÿ ÿ ÿ . . . . š . . . H - @ .
Ï 7 @ . j ; @ . " G B .  J B . 6 ‚ B . © ” B . + 0 G . ñ D G .
ÃŽ Å“ D . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . L 0 µ . H + B . . . . .
 T B .  „ . . P : . . È „ . . ³ Ï J ü € € € € . . . . á Ó . .
. . . . . . . . . . . . . . . . © . . . H - @ . Ï 7 @ . j ; @ .
" G B .  J B . 6 ‚ B . © ” B .  Ò E . d • @ . s - @ . s - @ .

--------------------------------2008/3/13 15:13:30--------------------------------
A memory block has been leaked. The size is: 28

Stack trace of when this block was allocated (return addresses):
402D48
4037CF
403B6A
424722
424A7F
428236
4294A9
47302B
4744F1
449CCE

The block is currently used for an object of class: TBrush

The allocation number is: 666

Current memory dump of 256 bytes starting at pointer address 117D320:
48 2B 42 00 00 00 00 00 90 54 42 00 90 84 14 01 50 3A 18 01 C8 84 14 01 B3 CF 4A FC 80 80 80 80
00 00 00 00 E1 D3 17 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A9 02 00 00 48 2D 40 00
CF 37 40 00 6A 3B 40 00 22 47 42 00 7F 4A 42 00 36 82 42 00 A9 94 42 00 7F D2 45 00 64 95 40 00
73 2D 40 00 73 2D 40 00 ED 37 40 00 B5 3B 40 00 77 47 42 00 33 38 40 00 08 4B 42 00 72 82 42 00
33 38 40 00 3E 8F 42 00 33 38 40 00 18 00 00 00 48 2B 42 00 85 CD 75 06 80 DC 47 00 80 80 80 80
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 7A 32 8A F9 80 80 80 80 00 00 00 00 01 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A8 02 00 00 48 2D 40 00 CF 37 40 00 6A 3B 40 00
56 44 42 00 5E 4A 42 00 36 82 42 00 A9 94 42 00 7F D2 45 00 64 95 40 00 73 2D 40 00 73 2D 40 00
H + B . . . . .  T B .  „ . . P : . . È „ . . ³ Ï J ü € € € €
. . . . á Ó . . . . . . . . . . . . . . . . . . © . . . H - @ .
Ï 7 @ . j ; @ . " G B .  J B . 6 ‚ B . © ” B .  Ò E . d • @ .
s - @ . s - @ . í 7 @ . µ ; @ . w G B . 3 8 @ . . K B . r ‚ B .
3 8 @ . >  B . 3 8 @ . . . . . H + B . … Í u . € Ü G . € € € €
€ € € € € € € € € € € € € € € € z 2 Š ù € € € € . . . . . . . .
. . . . . . . . . . . . . . . . ¨ . . . H - @ . Ï 7 @ . j ; @ .
V D B . ^ J B . 6 ‚ B . © ” B .  Ò E . d • @ . s - @ . s - @ .

--------------------------------2008/3/13 15:13:30--------------------------------
A memory block has been leaked. The size is: 36

Stack trace of when this block was allocated (return addresses):
402D48
4234E2
424469
424A5E
44A640
449D3B
43C3D4
44D88E
44D9D0
4042CB

The block is currently used for an object of class: Unknown

The allocation number is: 232

Current memory dump of 256 bytes starting at pointer address 1182C90:
00 00 00 00 01 00 00 00 A1 0F 30 E0 08 00 80 80 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00
6F E5 49 FC 80 80 80 80 00 00 00 00 81 2B 18 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
EE 00 00 00 48 2D 40 00 E2 34 42 00 29 36 42 00 6F 48 42 00 E7 48 42 00 78 80 44 00 FB 37 44 00
1F E2 90 7C BD B9 80 7C E6 B9 80 7C 73 2D 40 00 F0 35 42 00 6C 47 42 00 33 38 40 00 8B 4A 44 00
92 A6 44 00 33 38 40 00 F3 C3 43 00 80 2B 43 00 7F C2 40 00 20 00 00 00 00 00 00 00 F0 23 12 7B
80 DC 47 00 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80
0F DC ED 84 80 80 80 80 00 00 00 00 01 2E 18 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0B 01 00 00 48 2D 40 00 EB 9A 91 7C CF 37 40 00 31 60 40 00 6A 3B 40 00 EB 9A 91 7C 3E 0C 43 00
. . . . . . . . ¡ . 0 à . . € € . . . . . . . . . . . . . . . .
o å I ü € € € € . . . .  + . . . . . . . . . . . . . . . . . .
î . . . H - @ . â 4 B . ) 6 B . o H B . ç H B . x € D . û 7 D .
. ⠐ | ½ ¹ € | æ ¹ € | s - @ . ð 5 B . l G B . 3 8 @ . ‹ J D .
’ ¦ D . 3 8 @ . ó Ã C . € + C .  Â @ . . . . . . . . ð # . {
€ Ü G . € € € € € € € € € € € € € € € € € € € € € € € € € € € €
. Ü í „ € € € € . . . . . . . . . . . . . . . . . . . . . . . .
. . . . H - @ . ë š ‘ | Ï 7 @ . 1 ` @ . j ; @ . ë š ‘ | > . C .

--------------------------------2008/3/13 15:13:30--------------------------------
A memory block has been leaked. The size is: 36

Stack trace of when this block was allocated (return addresses):
402D48
4234E2
423629
42486F
4248E7
448078
43629E
4437FB
77DD880A [SystemFunction036]
77DD8867 [SystemFunction036]

The block is currently used for an object of class: Unknown

The allocation number is: 514

Current memory dump of 256 bytes starting at pointer address 1183A50:
00 00 00 00 01 00 00 00 FA 1A 10 BB 80 F8 80 80 00 00 00 00 0F 00 00 FF 00 00 00 00 00 00 00 00
D3 6E 17 0D 80 80 80 80 00 00 00 00 C1 3B 18 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
43 02 00 00 48 2D 40 00 CF 37 40 00 6A 3B 40 00 2A 3F 42 00 FF 9E 80 7C 3D 4A 42 00 04 9C 44 00
E3 AD 45 00 CF 39 47 00 C8 EA 41 00 73 2D 40 00 ED 37 40 00 B5 3B 40 00 93 3F 42 00 33 38 40 00
F8 4A 42 00 FE 0E 44 00 33 38 40 00 59 9C 44 00 E2 3B 47 00 24 00 00 00 CC 28 42 00 57 20 C9 82
80 DC 47 00 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80
80 80 80 80 A8 DF 36 7D 00 00 00 00 81 3A 18 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
46 02 00 00 48 2D 40 00 E2 34 42 00 35 47 42 00 7F 4A 42 00 04 9C 44 00 E3 AD 45 00 CF 39 47 00
. . . . . . . . ú . . » € ø € € . . . . . . . ÿ . . . . . . . .
Ó n . . € € € € . . . . Á ; . . . . . . . . . . . . . . . . . .
C . . . H - @ . Ï 7 @ . j ; @ . * ? B . ÿ ž € | = J B . . œ D .
ã ­ E . Ï 9 G . È ê A . s - @ . í 7 @ . µ ; @ . “ ? B . 3 8 @ .
ø J B . þ . D . 3 8 @ . Y œ D . â ; G . $ . . . Ì ( B . W É ‚
€ Ü G . € € € € € € € € € € € € € € € € € € € € € € € € € € € €
€ € € € ¨ ß 6 } . . . .  : . . . . . . . . . . . . . . . . . .
F . . . H - @ . â 4 B . 5 G B .  J B . . œ D . ã ­ E . Ï 9 G .

--------------------------------2008/3/13 15:13:30--------------------------------
A memory block has been leaked. The size is: 36

Stack trace of when this block was allocated (return addresses):
402D48
4037CF
403B6A
423F2A
7C809EFF [InitializeCriticalSection]
424A3D
428236
4294A9
47302B
4744F1

The block is currently used for an object of class: TFont

The allocation number is: 664

Current memory dump of 256 bytes starting at pointer address 1183E10:
CC 28 42 00 00 00 00 00 50 54 42 00 90 84 14 01 30 4D 16 01 C8 84 14 01 08 00 00 FF 60 00 00 00
00 00 00 00 C2 6A 0E 80 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
A7 02 00 00 48 2D 40 00 CF 37 40 00 6A 3B 40 00 2A 3F 42 00 FF 9E 80 7C 3D 4A 42 00 36 82 42 00
A9 94 42 00 7F D2 45 00 64 95 40 00 73 2D 40 00 ED 37 40 00 B5 3B 40 00 93 3F 42 00 33 38 40 00
F8 4A 42 00 72 82 42 00 33 38 40 00 3E 8F 42 00 33 38 40 00 24 00 00 00 CC 28 42 00 69 97 B6 82
80 DC 47 00 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80
80 80 80 80 96 68 49 7D 00 00 00 00 41 3E 18 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
AA 02 00 00 48 2D 40 00 E2 34 42 00 29 36 42 00 6F 48 42 00 E7 48 42 00 8A D2 45 00 64 95 40 00
Ì ( B . . . . . P T B .  „ . . 0 M . . È „ . . . . . ÿ ` . . .
. . . . Â j . € . . . . . . . . . . . . . . . . . . . . . . . .
§ . . . H - @ . Ï 7 @ . j ; @ . * ? B . ÿ ž € | = J B . 6 ‚ B .
© ” B .  Ò E . d • @ . s - @ . í 7 @ . µ ; @ . “ ? B . 3 8 @ .
ø J B . r ‚ B . 3 8 @ . >  B . 3 8 @ . $ . . . Ì ( B . i — ¶ ‚
€ Ü G . € € € € € € € € € € € € € € € € € € € € € € € € € € € €
€ € € € – h I } . . . . A > . . . . . . . . . . . . . . . . . .
ª . . . H - @ . â 4 B . ) 6 B . o H B . ç H B . Š Ò E . d • @ .

--------------------------------2008/3/13 15:13:30--------------------------------
This application has leaked memory. The small block leaks are (excluding expected leaks registered by pointer):

21 - 28 bytes: TBrush x 1, TPen x 1
29 - 36 bytes: TFont x 1, Unknown x 2
53 - 68 bytes: TBitmap x 1, Unknown x 1
85 - 100 bytes: TBitmapCanvas x 1
101 - 116 bytes: TBitmapImage x 1

Note: Memory leak detail is logged to a text file in the same folder as this application. To disable this memory leak check, undefine "EnableMemoryLeakReporting".
TagsNo tags attached.

Activities

2008-03-13 13:36

 

Project1_MemoryManager_EventLog.txt (22,822 bytes)
--------------------------------2008/3/13 15:33:36--------------------------------
A memory block has been leaked. The size is: 116

Stack trace of when this block was allocated (return addresses):
402D48 [system.pas][System][@GetMem][2439]
4037D7 [system.pas][System][TObject.NewInstance][8360]
403B72 [system.pas][System][@ClassCreate][9019]
40380C [system.pas][System][TObject.Create][8375]
42C84F [Graphics.pas][Graphics][TBitmap.NewImage][5798]
42C866 [Graphics.pas][Graphics][TBitmap.NewImage][5800]
42C79C [Graphics.pas][Graphics][TBitmap.NewImage][5780]
42BD85 [Graphics.pas][Graphics][TBitmap.CopyImage][5344]
42D449 [Graphics.pas][Graphics][TBitmap.SetWidth][6290]
4767F7 [JvJVCLUtils.pas][JvJVCLUtils][ChangeBitmapColor][2013]

The block is currently used for an object of class: TBitmapImage

The allocation number is: 662

Current memory dump of 256 bytes starting at pointer address 1140820:
E0 5D 42 00 01 00 00 00 62 1B 05 21 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0A 00 00 00
0A 00 00 00 28 00 00 00 01 00 20 00 00 00 00 00 00 00 00 00 0A 00 00 00 0A 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 BB 7D 82 F9 00 00 00 00 91 09 14 01
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A5 02 00 00 48 2D 40 00 D7 37 40 00 72 3B 40 00
0C 38 40 00 4F C8 42 00 66 C8 42 00 9C C7 42 00 85 BD 42 00 BD D0 42 00 CC 09 46 00 73 2D 40 00
F5 37 40 00 BD 3B 40 00 37 B1 42 00 3B 38 40 00 DD B0 42 00 E6 BB 42 00 3B 38 40 00 F1 0F 46 00
86 7D 47 00 74 00 00 00 E0 5D 42 00 A1 EF 81 06 80 0C 48 00 80 80 80 80 80 80 80 80 80 80 80 80
�  ]  B  .  .  .  .  .  b  .  .  !  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
.  .  .  .  (  .  .  .  .  .     .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
.  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
.  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  �  }  �  �  .  .  .  .  �  .  .  .
.  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  �  .  .  .  H  -  @  .  �  7  @  .  r  ;  @  .
.  8  @  .  O  �  B  .  f  �  B  .  �  �  B  .  �  �  B  .  �  �  B  .  �  .  F  .  s  -  @  .
�  7  @  .  �  ;  @  .  7  �  B  .  ;  8  @  .  �  �  B  .  �  �  B  .  ;  8  @  .  �  .  F  .
�  }  G  .  t  .  .  .  �  ]  B  .  �  �  �  .  �  .  H  .  �  �  �  �  �  �  �  �  �  �  �  �

--------------------------------2008/3/13 15:33:36--------------------------------
A memory block has been leaked. The size is: 100

Stack trace of when this block was allocated (return addresses):
402D48 [system.pas][System][@GetMem][2439]
4037D7 [system.pas][System][TObject.NewInstance][8360]
403B72 [system.pas][System][@ClassCreate][9019]
42AED7 [Graphics.pas][Graphics][TBitmapCanvas.Create][4696]
41B089 [classes.pas][Classes][Bounds][1657]
42C159 [Graphics.pas][Graphics][TBitmap.GetCanvas][5491]
47681F [JvJVCLUtils.pas][JvJVCLUtils][ChangeBitmapColor][2015]
477CE5 [JvgCheckBox.pas][JvgCheckBox][TJvgCheckBox.Paint][550]
4409F6 [Controls.pas][Controls][TGraphicControl.WMPaint][8574]
43A523 [Controls.pas][Controls][TControl.WndProc][4645]

The block is currently used for an object of class: TBitmapCanvas

The allocation number is: 663

Current memory dump of 256 bytes starting at pointer address 1148490:
50 AD 42 00 00 00 00 00 00 00 00 00 10 3E 18 01 88 D2 17 01 20 D3 17 01 00 00 00 00 00 00 00 00
20 00 CC 00 00 00 00 00 E4 BD 42 00 F0 5C 16 01 C0 BD 42 00 F0 5C 16 01 E8 2B 15 00 FF FF FF FF
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 F0 5C 16 01 0F 00 85 01
00 00 00 00 7E 23 4D FC 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
A6 02 00 00 48 2D 40 00 D7 37 40 00 72 3B 40 00 D7 AE 42 00 5D B0 41 00 59 C1 42 00 FF 09 46 00
A4 96 40 00 73 2D 40 00 F5 37 40 00 73 2D 40 00 F5 37 40 00 BD 3B 40 00 2D AF 42 00 3B 38 40 00
EE BB 42 00 3B 38 40 00 F1 0F 46 00 86 7D 47 00 F6 09 44 00 64 00 00 00 50 AD 42 00 A6 10 7E 06
80 0C 48 00 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80
P  �  B  .  .  .  .  .  .  .  .  .  .  >  .  .  �  �  .  .     �  .  .  .  .  .  .  .  .  .  .
   .  �  .  .  .  .  .  �  �  B  .  �  \  .  .  �  �  B  .  �  \  .  .  �  +  .  .  �  �  �  �
.  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  �  \  .  .  .  .  �  .
.  .  .  .  ~  #  M  �  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
�  .  .  .  H  -  @  .  �  7  @  .  r  ;  @  .  �  �  B  .  ]  �  A  .  Y  �  B  .  �  .  F  .
�  �  @  .  s  -  @  .  �  7  @  .  s  -  @  .  �  7  @  .  �  ;  @  .  -  �  B  .  ;  8  @  .
�  �  B  .  ;  8  @  .  �  .  F  .  �  }  G  .  �  .  D  .  d  .  .  .  P  �  B  .  �  .  ~  .
�  .  H  .  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �

--------------------------------2008/3/13 15:33:36--------------------------------
A memory block has been leaked. The size is: 68

Stack trace of when this block was allocated (return addresses):
402D48 [system.pas][System][@GetMem][2439]
426192 [Graphics.pas][Graphics][TResourceManager.AllocResource][1140]
426BF4 [Graphics.pas][Graphics][TFont.Create][1473]
438273 [Controls.pas][Controls][TControl.Create][3208]
43B621 [Controls.pas][Controls][TWinControl.Create][5367]
44135C [Controls.pas][Controls][TCustomControl.Create][8893]
440A63 [Controls.pas][Controls][THintWindow.Create][8592]
458DA4 [Forms.pas][Forms][TApplication.SetShowHint][7172]
4445B6 [Controls.pas][Controls][InitControls][10925]
4446F8 [Controls.pas][Controls][Controls][10943]

The block is currently used for an object of class: Unknown

The allocation number is: 250

Current memory dump of 256 bytes starting at pointer address 1164D30:
00 00 00 00 01 00 00 00 83 1B 0A 7A D0 49 80 80 00 00 00 00 F5 FF FF FF 00 00 01 06 54 61 68 6F
6D 61 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0B DE A9 F9
80 80 80 80 80 80 80 80 00 00 00 00 01 4F 16 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
E8 00 00 00 48 2D 40 00 92 61 42 00 D9 62 42 00 7F 6D 42 00 77 6F 42 00 53 68 45 00 05 CE 4B 00
48 CE 4B 00 0E 5A F1 77 7A D0 4B 00 73 2D 40 00 A0 62 42 00 3B 38 40 00 FA 60 45 00 3B 38 40 00
29 44 44 00 84 46 44 00 63 42 40 00 3E 45 40 00 41 8B 47 00 3C 00 00 00 00 00 00 00 87 4B 13 7E
80 0C 48 00 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 78 B4 EC 81
.  .  .  .  .  .  .  .  �  .  .  z  �  I  �  �  .  .  .  .  �  �  �  �  .  .  .  .  T  a  h  o
m  a  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  �  �  �
�  �  �  �  �  �  �  �  .  .  .  .  .  O  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
�  .  .  .  H  -  @  .  �  a  B  .  �  b  B  .    m  B  .  w  o  B  .  S  h  E  .  .  �  K  .
H  �  K  .  .  Z  �  w  z  �  K  .  s  -  @  .  �  b  B  .  ;  8  @  .  �  `  E  .  ;  8  @  .
)  D  D  .  �  F  D  .  c  B  @  .  >  E  @  .  A  �  G  .  <  .  .  .  .  .  .  .  �  K  .  ~
�  .  H  .  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �
�  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  x  �  �  �

--------------------------------2008/3/13 15:33:36--------------------------------
A memory block has been leaked. The size is: 68

Stack trace of when this block was allocated (return addresses):
402D48 [system.pas][System][@GetMem][2439]
4037D7 [system.pas][System][TObject.NewInstance][8360]
403B72 [system.pas][System][@ClassCreate][9019]
42BB73 [Graphics.pas][Graphics][TBitmap.Create][5283]
4767C4 [JvJVCLUtils.pas][JvJVCLUtils][ChangeBitmapColor][2008]
477CD3 [JvgCheckBox.pas][JvgCheckBox][TJvgCheckBox.Paint][550]
477CE5 [JvgCheckBox.pas][JvgCheckBox][TJvgCheckBox.Paint][550]
4409F6 [Controls.pas][Controls][TGraphicControl.WMPaint][8574]
43A523 [Controls.pas][Controls][TControl.WndProc][4645]
43A523 [Controls.pas][Controls][TControl.WndProc][4645]

The block is currently used for an object of class: TBitmap

The allocation number is: 659

Current memory dump of 256 bytes starting at pointer address 1165CF0:
40 5E 42 00 00 00 00 00 B1 A2 41 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
01 00 00 00 BE 59 42 00 20 08 14 01 90 84 14 01 00 00 00 00 00 00 00 20 00 00 00 00 F5 8E 44 FC
80 80 80 80 80 80 80 80 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
A2 02 00 00 48 2D 40 00 D7 37 40 00 72 3B 40 00 73 BB 42 00 7A D0 4B 00 A5 09 46 00 A4 96 40 00
73 2D 40 00 F5 37 40 00 BD 3B 40 00 73 2D 40 00 F5 37 40 00 BD 3B 40 00 05 BC 42 00 3B 38 40 00
F1 0F 46 00 86 7D 47 00 F6 09 44 00 23 A5 43 00 23 A5 43 00 3C 00 00 00 40 5E 42 00 62 A3 8B 06
80 0C 48 00 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 9D 5C 74 F9
@  ^  B  .  .  .  .  .  �  �  A  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
.  .  .  .  �  Y  B  .     .  .  .  �  �  .  .  .  .  .  .  .  .  .     .  .  .  .  �  �  D  �
�  �  �  �  �  �  �  �  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
�  .  .  .  H  -  @  .  �  7  @  .  r  ;  @  .  s  �  B  .  z  �  K  .  �  .  F  .  �  �  @  .
s  -  @  .  �  7  @  .  �  ;  @  .  s  -  @  .  �  7  @  .  �  ;  @  .  .  �  B  .  ;  8  @  .
�  .  F  .  �  }  G  .  �  .  D  .  #  �  C  .  #  �  C  .  <  .  .  .  @  ^  B  .  b  �  �  .
�  .  H  .  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �
�  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  \  t  �

--------------------------------2008/3/13 15:33:36--------------------------------
A memory block has been leaked. The size is: 28

Stack trace of when this block was allocated (return addresses):
402D48 [system.pas][System][@GetMem][2439]
4037D7 [system.pas][System][TObject.NewInstance][8360]
403B72 [system.pas][System][@ClassCreate][9019]
427106 [Graphics.pas][Graphics][TPen.Create][1685]
42770E [Graphics.pas][Graphics][TCanvas.Create][2006]
42AEE6 [Graphics.pas][Graphics][TBitmapCanvas.Create][4697]
42C159 [Graphics.pas][Graphics][TBitmap.GetCanvas][5491]
47681F [JvJVCLUtils.pas][JvJVCLUtils][ChangeBitmapColor][2015]
477CE5 [JvgCheckBox.pas][JvgCheckBox][TJvgCheckBox.Paint][550]
4409F6 [Controls.pas][Controls][TGraphicControl.WMPaint][8574]

The block is currently used for an object of class: TPen

The allocation number is: 665

Current memory dump of 256 bytes starting at pointer address 117D288:
F8 56 42 00 00 00 00 00 20 81 42 00 90 84 14 01 30 2D 18 01 C8 84 14 01 04 00 00 00 55 43 4A FC
00 00 00 00 70 A5 17 01 00 00 00 00 00 00 00 00 FF FF FF FF 00 00 00 00 9A 02 00 00 48 2D 40 00
D7 37 40 00 72 3B 40 00 D2 73 42 00 2F 77 42 00 E6 AE 42 00 59 C1 42 00 1F 68 47 00 E5 7C 47 00
F6 09 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 18 00 00 00 00 00 00 00 2C C0 B5 03 F8 57 42 00 00 00 00 00
40 81 42 00 90 84 14 01 50 3A 18 01 C8 84 14 01 D3 3F 4A FC 80 80 80 80 00 00 00 00 E1 D3 17 01
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A9 02 00 00 48 2D 40 00 D7 37 40 00 72 3B 40 00
D2 73 42 00 2F 77 42 00 E6 AE 42 00 59 C1 42 00 FF 09 46 00 A4 96 40 00 73 2D 40 00 73 2D 40 00
�  V  B  .  .  .  .  .     �  B  .  �  �  .  .  0  -  .  .  �  �  .  .  .  .  .  .  U  C  J  �
.  .  .  .  p  �  .  .  .  .  .  .  .  .  .  .  �  �  �  �  .  .  .  .  �  .  .  .  H  -  @  .
�  7  @  .  r  ;  @  .  �  s  B  .  /  w  B  .  �  �  B  .  Y  �  B  .  .  h  G  .  �  |  G  .
�  .  D  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
.  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  ,  �  �  .  �  W  B  .  .  .  .  .
@  �  B  .  �  �  .  .  P  :  .  .  �  �  .  .  �  ?  J  �  �  �  �  �  .  .  .  .  �  �  .  .
.  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  �  .  .  .  H  -  @  .  �  7  @  .  r  ;  @  .
�  s  B  .  /  w  B  .  �  �  B  .  Y  �  B  .  �  .  F  .  �  �  @  .  s  -  @  .  s  -  @  .

--------------------------------2008/3/13 15:33:36--------------------------------
A memory block has been leaked. The size is: 28

Stack trace of when this block was allocated (return addresses):
402D48 [system.pas][System][@GetMem][2439]
4037D7 [system.pas][System][TObject.NewInstance][8360]
403B72 [system.pas][System][@ClassCreate][9019]
4273D2 [Graphics.pas][Graphics][TBrush.Create][1835]
42772F [Graphics.pas][Graphics][TCanvas.Create][2009]
42AEE6 [Graphics.pas][Graphics][TBitmapCanvas.Create][4697]
42C159 [Graphics.pas][Graphics][TBitmap.GetCanvas][5491]
47681F [JvJVCLUtils.pas][JvJVCLUtils][ChangeBitmapColor][2015]
477CE5 [JvgCheckBox.pas][JvgCheckBox][TJvgCheckBox.Paint][550]
4409F6 [Controls.pas][Controls][TGraphicControl.WMPaint][8574]

The block is currently used for an object of class: TBrush

The allocation number is: 666

Current memory dump of 256 bytes starting at pointer address 117D320:
F8 57 42 00 00 00 00 00 40 81 42 00 90 84 14 01 50 3A 18 01 C8 84 14 01 D3 3F 4A FC 80 80 80 80
00 00 00 00 E1 D3 17 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A9 02 00 00 48 2D 40 00
D7 37 40 00 72 3B 40 00 D2 73 42 00 2F 77 42 00 E6 AE 42 00 59 C1 42 00 FF 09 46 00 A4 96 40 00
73 2D 40 00 73 2D 40 00 F5 37 40 00 BD 3B 40 00 27 74 42 00 3B 38 40 00 B8 77 42 00 22 AF 42 00
3B 38 40 00 EE BB 42 00 3B 38 40 00 18 00 00 00 F8 57 42 00 AD 98 77 06 80 0C 48 00 80 80 80 80
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 52 67 88 F9 80 80 80 80 00 00 00 00 01 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A8 02 00 00 48 2D 40 00 D7 37 40 00 72 3B 40 00
06 71 42 00 0E 77 42 00 E6 AE 42 00 59 C1 42 00 FF 09 46 00 A4 96 40 00 73 2D 40 00 73 2D 40 00
�  W  B  .  .  .  .  .  @  �  B  .  �  �  .  .  P  :  .  .  �  �  .  .  �  ?  J  �  �  �  �  �
.  .  .  .  �  �  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  �  .  .  .  H  -  @  .
�  7  @  .  r  ;  @  .  �  s  B  .  /  w  B  .  �  �  B  .  Y  �  B  .  �  .  F  .  �  �  @  .
s  -  @  .  s  -  @  .  �  7  @  .  �  ;  @  .  '  t  B  .  ;  8  @  .  �  w  B  .  "  �  B  .
;  8  @  .  �  �  B  .  ;  8  @  .  .  .  .  .  �  W  B  .  �  �  w  .  �  .  H  .  �  �  �  �
�  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  R  g  �  �  �  �  �  �  .  .  .  .  .  .  .  .
.  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  �  .  .  .  H  -  @  .  �  7  @  .  r  ;  @  .
.  q  B  .  .  w  B  .  �  �  B  .  Y  �  B  .  �  .  F  .  �  �  @  .  s  -  @  .  s  -  @  .

--------------------------------2008/3/13 15:33:36--------------------------------
A memory block has been leaked. The size is: 36

Stack trace of when this block was allocated (return addresses):
402D48 [system.pas][System][@GetMem][2439]
426192 [Graphics.pas][Graphics][TResourceManager.AllocResource][1140]
427119 [Graphics.pas][Graphics][TPen.Create][1686]
42770E [Graphics.pas][Graphics][TCanvas.Create][2006]
441368 [Controls.pas][Controls][TCustomControl.Create][8894]
440A63 [Controls.pas][Controls][THintWindow.Create][8592]
458DA4 [Forms.pas][Forms][TApplication.SetShowHint][7172]
4445B6 [Controls.pas][Controls][InitControls][10925]
4446F8 [Controls.pas][Controls][Controls][10943]
4042D3 [system.pas][System][InitUnits][10845]

The block is currently used for an object of class: Unknown

The allocation number is: 259

Current memory dump of 256 bytes starting at pointer address 1182D30:
00 00 00 00 01 00 00 00 04 09 30 70 08 00 80 80 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00
2C E0 49 FC 80 80 80 80 00 00 00 00 21 2C 18 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
09 01 00 00 48 2D 40 00 92 61 42 00 D9 62 42 00 1F 75 42 00 97 75 42 00 A0 ED 43 00 23 A5 43 00
1F E2 90 7C BD B9 80 7C E6 B9 80 7C 73 2D 40 00 A0 62 42 00 1C 74 42 00 3B 38 40 00 B3 B7 43 00
BA 13 44 00 3B 38 40 00 C3 8D 45 00 50 F5 44 00 DB C3 40 00 20 00 00 00 00 00 00 00 77 7A 14 7B
80 0C 48 00 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80
88 85 EB 84 80 80 80 80 00 00 00 00 A1 2E 18 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
31 01 00 00 48 2D 40 00 AD 46 40 00 D8 46 40 00 9E 64 40 00 E4 41 91 7C BE 6A 92 7C E9 CD 96 7C
.  .  .  .  .  .  .  .  .  .  0  p  .  .  �  �  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
,  �  I  �  �  �  �  �  .  .  .  .  !  ,  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
.  .  .  .  H  -  @  .  �  a  B  .  �  b  B  .  .  u  B  .  �  u  B  .  �  �  C  .  #  �  C  .
.  �  �  |  �  �  �  |  �  �  �  |  s  -  @  .  �  b  B  .  .  t  B  .  ;  8  @  .  �  �  C  .
�  .  D  .  ;  8  @  .  �  �  E  .  P  �  D  .  �  �  @  .     .  .  .  .  .  .  .  w  z  .  {
�  .  H  .  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �
�  �  �  �  �  �  �  �  .  .  .  .  �  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
1  .  .  .  H  -  @  .  �  F  @  .  �  F  @  .  �  d  @  .  �  A  �  |  �  j  �  |  �  �  �  |

--------------------------------2008/3/13 15:33:36--------------------------------
A memory block has been leaked. The size is: 36

Stack trace of when this block was allocated (return addresses):
402D48 [system.pas][System][@GetMem][2439]
426192 [Graphics.pas][Graphics][TResourceManager.AllocResource][1140]
4262D9 [Graphics.pas][Graphics][TResourceManager.ChangeResource][1199]
42751F [Graphics.pas][Graphics][TBrush.SetData][1875]
427597 [Graphics.pas][Graphics][TBrush.SetColor][1907]
43EDA0 [Controls.pas][Controls][TWinControl.CMColorChanged][7327]
452C6E [Forms.pas][Forms][TCustomForm.CMColorChanged][3503]
43A523 [Controls.pas][Controls][TControl.WndProc][4645]
77DD8867 [SystemFunction036]
7C91B686 [wcsncat]

The block is currently used for an object of class: Unknown

The allocation number is: 514

Current memory dump of 256 bytes starting at pointer address 1183A50:
00 00 00 00 01 00 00 00 AF 0C 10 13 80 F8 80 80 00 00 00 00 0F 00 00 FF 00 00 00 00 00 00 00 00
77 E9 61 08 80 80 80 80 00 00 00 00 C1 3B 18 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
43 02 00 00 48 2D 40 00 D7 37 40 00 72 3B 40 00 DA 6B 42 00 FF 9E 80 7C ED 76 42 00 2C 09 44 00
FB E3 45 00 C3 71 47 00 50 0D 42 00 73 2D 40 00 F5 37 40 00 BD 3B 40 00 43 6C 42 00 3B 38 40 00
A8 77 42 00 26 7C 43 00 3B 38 40 00 81 09 44 00 D6 73 47 00 24 00 00 00 7C 55 42 00 F7 0F C9 82
80 0C 48 00 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80
80 80 80 80 08 F0 36 7D 00 00 00 00 81 3A 18 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
46 02 00 00 48 2D 40 00 92 61 42 00 E5 73 42 00 2F 77 42 00 2C 09 44 00 FB E3 45 00 C3 71 47 00
.  .  .  .  .  .  .  .  �  .  .  .  �  �  �  �  .  .  .  .  .  .  .  �  .  .  .  .  .  .  .  .
w  �  a  .  �  �  �  �  .  .  .  .  �  ;  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
C  .  .  .  H  -  @  .  �  7  @  .  r  ;  @  .  �  k  B  .  �  �  �  |  �  v  B  .  ,  .  D  .
�  �  E  .  �  q  G  .  P  .  B  .  s  -  @  .  �  7  @  .  �  ;  @  .  C  l  B  .  ;  8  @  .
�  w  B  .  &  |  C  .  ;  8  @  .  �  .  D  .  �  s  G  .  $  .  .  .  |  U  B  .  �  .  �  �
�  .  H  .  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �
�  �  �  �  .  �  6  }  .  .  .  .  �  :  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
F  .  .  .  H  -  @  .  �  a  B  .  �  s  B  .  /  w  B  .  ,  .  D  .  �  �  E  .  �  q  G  .

--------------------------------2008/3/13 15:33:36--------------------------------
A memory block has been leaked. The size is: 36

Stack trace of when this block was allocated (return addresses):
402D48 [system.pas][System][@GetMem][2439]
4037D7 [system.pas][System][TObject.NewInstance][8360]
403B72 [system.pas][System][@ClassCreate][9019]
426BDA [Graphics.pas][Graphics][TFont.Create][1471]
7C809EFF [InitializeCriticalSection]
4276ED [Graphics.pas][Graphics][TCanvas.Create][2003]
42AEE6 [Graphics.pas][Graphics][TBitmapCanvas.Create][4697]
42C159 [Graphics.pas][Graphics][TBitmap.GetCanvas][5491]
47681F [JvJVCLUtils.pas][JvJVCLUtils][ChangeBitmapColor][2015]
477CE5 [JvgCheckBox.pas][JvgCheckBox][TJvgCheckBox.Paint][550]

The block is currently used for an object of class: TFont

The allocation number is: 664

Current memory dump of 256 bytes starting at pointer address 1183E10:
7C 55 42 00 00 00 00 00 00 81 42 00 90 84 14 01 30 4D 16 01 C8 84 14 01 08 00 00 FF 60 00 00 00
00 00 00 00 0A 48 0D 80 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
A7 02 00 00 48 2D 40 00 D7 37 40 00 72 3B 40 00 DA 6B 42 00 FF 9E 80 7C ED 76 42 00 E6 AE 42 00
59 C1 42 00 FF 09 46 00 A4 96 40 00 73 2D 40 00 F5 37 40 00 BD 3B 40 00 43 6C 42 00 3B 38 40 00
A8 77 42 00 22 AF 42 00 3B 38 40 00 EE BB 42 00 3B 38 40 00 24 00 00 00 7C 55 42 00 91 62 B8 82
80 0C 48 00 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80
80 80 80 80 6E 9D 47 7D 00 00 00 00 41 3E 18 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
AA 02 00 00 48 2D 40 00 92 61 42 00 D9 62 42 00 1F 75 42 00 97 75 42 00 0A 0A 46 00 A4 96 40 00
|  U  B  .  .  .  .  .  .  �  B  .  �  �  .  .  0  M  .  .  �  �  .  .  .  .  .  �  `  .  .  .
.  .  .  .  .  H  .  �  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
�  .  .  .  H  -  @  .  �  7  @  .  r  ;  @  .  �  k  B  .  �  �  �  |  �  v  B  .  �  �  B  .
Y  �  B  .  �  .  F  .  �  �  @  .  s  -  @  .  �  7  @  .  �  ;  @  .  C  l  B  .  ;  8  @  .
�  w  B  .  "  �  B  .  ;  8  @  .  �  �  B  .  ;  8  @  .  $  .  .  .  |  U  B  .  �  b  �  �
�  .  H  .  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �  �
�  �  �  �  n  �  G  }  .  .  .  .  A  >  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
�  .  .  .  H  -  @  .  �  a  B  .  �  b  B  .  .  u  B  .  �  u  B  .  .  .  F  .  �  �  @  .

--------------------------------2008/3/13 15:33:36--------------------------------
This application has leaked memory. The small block leaks are (excluding expected leaks registered by pointer):

21 - 28 bytes: TBrush x 1, TPen x 1
29 - 36 bytes: TFont x 1, Unknown x 2
53 - 68 bytes: TBitmap x 1, Unknown x 1
85 - 100 bytes: TBitmapCanvas x 1
101 - 116 bytes: TBitmapImage x 1

Note: Memory leak detail is logged to a text file in the same folder as this application. To disable this memory leak check, undefine "EnableMemoryLeakReporting".

Jebtrix

2008-03-13 13:38

reporter   ~0014291

Leak report failed to have detailed info..whoops.
Attached file is the correct leak report.

Jebtrix

2008-03-13 14:14

reporter   ~0014292

Last edited: 2008-03-13 20:37

After checking all calls to ChangeBitmapColor in JVCL I finally realize the root problem. Its in the uses clause:

This problem actually affects JvgCheckBox.pas, JvgButton.pas, and JvgLabel.pas

-----------------------------------------------------------
uses
  {$IFDEF USEJVCL}
  {$IFDEF UNITVERSIONING}
  JclUnitVersioning,
  {$ENDIF UNITVERSIONING}
  {$ENDIF USEJVCL}
  Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls, ExtCtrls,
  {$IFDEF USEJVCL}
  JvComponent,
  {$ENDIF USEJVCL}
  JvgTypes, JvgCommClasses, JvgUtils;

..
implementation

{$IFDEF USEJVCL}
uses
  Math,
  JvThemes, JvJVCLUtils;
{$ELSE}
uses
  Math;
{$ENDIF USEJVCL}

-----------------------------------------------------------

JvJVCLUtils.pas has its own ChangeBitmapColor as:
function ChangeBitmapColor(Bitmap: TBitmap; Color, NewColor: TColor): TBitmap;

JvgUtils.pas is:
procedure ChangeBitmapColor(Bitmap: TBitmap; FromColor, ToColor: TColor);

So with {USEJVCL} defined its using the function from JvJVCLUtils instead of the procedure from JvgUtils.
Nothing implemented to handle a returned Tbitmap object thus creating the leaks.

Not sure on what the 'best' way to fix it is but for minimum impact/changes im just going to use JvgUtils.ChangeBitmapColor for
all calls in Jvgxxxx components.

List of affected code:
  JvgButton.pas(616)
  JvgButton.pas(619)
  JvgButton.pas(625)
  JvgButton.pas(628)
  JvgButton.pas(863)
  JvgButton.pas(905)
  JvgButton.pas(923)
  JvgButton.pas(940)
  JvgButton.pas(959)
  JvgButton.pas(978)
  JvgButton.pas(996)
  JvgButton.pas(1023)
  JvgButton.pas(1040)
  JvgButton.pas(1061)
  JvgButton.pas(1079)
  JvgCheckBox.pas(532)
  JvgCheckBox.pas(547)
  JvgCheckBox.pas(550)
  JvgLabel.pas(881)
  JvgLabel.pas(883)

obones

2008-03-14 04:26

administrator   ~0014295

Maybe you are not aware of this, but we are phasing out the Globus components because they are not of the quality we expected them to be when we integrated them. Therefore we encourage users to migrate to regular JVCL components. Further to this, any fix to them will not be applied immediately as the components themselves will most likely disappear.

obones

2008-10-29 06:22

administrator   ~0014930

No news, closing the issue. As indicated, no action will be taken as we are phasing out the globus components

Issue History

Date Modified Username Field Change
2008-03-13 13:32 Jebtrix New Issue
2008-03-13 13:36 Jebtrix File Added: Project1_MemoryManager_EventLog.txt
2008-03-13 13:38 Jebtrix Note Added: 0014291
2008-03-13 14:14 Jebtrix Note Added: 0014292
2008-03-13 14:52 Jebtrix Note Edited: 0014292
2008-03-13 18:14 Jebtrix Note Edited: 0014292
2008-03-13 18:27 Jebtrix Note Edited: 0014292
2008-03-13 18:28 Jebtrix Note Edited: 0014292
2008-03-13 18:31 Jebtrix Note Edited: 0014292
2008-03-13 18:34 Jebtrix Note Edited: 0014292
2008-03-13 20:29 Jebtrix Note Edited: 0014292
2008-03-13 20:35 Jebtrix Note Edited: 0014292
2008-03-13 20:37 Jebtrix Note Edited: 0014292
2008-03-14 04:26 obones Note Added: 0014295
2008-03-14 04:26 obones Status new => acknowledged
2008-10-29 06:22 obones Status acknowledged => resolved
2008-10-29 06:22 obones Resolution open => won't fix
2008-10-29 06:22 obones Assigned To => obones
2008-10-29 06:22 obones Note Added: 0014930