Gtk2 leaks memory
Original Reporter info from Mantis: luca @olivluca
-
Reporter name: Luca Olivetti
Original Reporter info from Mantis: luca @olivluca
- Reporter name: Luca Olivetti
Description:
The attached project simply updates a label every 5ms. If compiled with gtk1 memory usage is constant, while under gtk2 it grows continuosly. Heaptrc report no leaks (probably the memory is freed when the program ends, but that's of no use to me since my program is supposed to run forever), valgrind chokes on it.
If you check the "test best fit" checkbox, it will try to adapt the size of the text to the available space (which works fine under gtk1 but doesn't work very well with gtk2) and memory usage grows an order of magnitude faster (again, with gtk1 it is stable).
Mantis conversion info:
- Mantis ID: 9259
- OS: Linux
- OS Build: 2.6.17
- Build: 11454
- Platform: i386
- Version: 0.9.23 (SVN)
- Monitored by: » luizamerico (Luiz Americo)
- Target version: 1.2