View Issue Details

IDProjectCategoryView StatusLast Update
0026909LazarusLCLpublic2014-10-21 23:10
ReporterReinhard BergerAssigned ToZeljan Rikalo 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformGTK2OSLinuxOS Version12.04
Product Version1.2.7 (SVN)Product Build46393 
Target Version1.2.8Fixed in Version1.3 (SVN) 
Summary0026909: Memory leak in TStaticText
DescriptionON GTK2 there is a memory leak on TSatic Text when the caption of it is empty.
Steps To ReproducePut a TStaticText control on the form and clear the caption property, run and close (exit) form and get memory leak

Additional InformationTested with GTK2 32 bit on ubuntu 12.04

Copy & paste of console output from the demo program :

Heap dump by heaptrc unit
1631 memory blocks allocated : 1663889/1667712
1630 memory blocks freed : 1663885/1667704
1 unfreed memory blocks : 4
True heap size : 622592
True free heap : 622512
Should be : 622520
Call trace for block $B6DF50B0 size 4
  $081AE689
  $081AEB55
  $082B0E0F
  $081F14F7
  $081F66DE
  $081F6081
  $081F4883
  $081F6E14
TagsNo tags attached.
Fixed in Revision46631
LazTarget1.2.8
WidgetsetGTK 2
Attached Files

Activities

Reinhard Berger

2014-10-20 20:58

reporter  

GTK2MemoryLeak.zip (130,565 bytes)

Zeljan Rikalo

2014-10-21 13:54

developer   ~0078461

Please test and close if ok.
Will be merged to 1.2.8

Reinhard Berger

2014-10-21 23:09

reporter   ~0078494

Works fine...
No more memory leaks.
Thanks

Issue History

Date Modified Username Field Change
2014-10-20 20:58 Reinhard Berger New Issue
2014-10-20 20:58 Reinhard Berger File Added: GTK2MemoryLeak.zip
2014-10-21 13:30 Zeljan Rikalo Assigned To => Zeljan Rikalo
2014-10-21 13:30 Zeljan Rikalo Status new => assigned
2014-10-21 13:54 Zeljan Rikalo Fixed in Revision => 46631
2014-10-21 13:54 Zeljan Rikalo LazTarget => 1.2.8
2014-10-21 13:54 Zeljan Rikalo Note Added: 0078461
2014-10-21 13:54 Zeljan Rikalo Status assigned => resolved
2014-10-21 13:54 Zeljan Rikalo Fixed in Version => 1.3 (SVN)
2014-10-21 13:54 Zeljan Rikalo Resolution open => fixed
2014-10-21 13:54 Zeljan Rikalo Target Version => 1.2.8
2014-10-21 23:09 Reinhard Berger Note Added: 0078494
2014-10-21 23:10 Reinhard Berger Status resolved => closed