Unreleased GDIObjects in GTK1 widgetset
Original Reporter info from Mantis: ggeldenhuys
-
Reporter name: Graeme Geldenhuys
Original Reporter info from Mantis: ggeldenhuys
- Reporter name: Graeme Geldenhuys
Description:
I got the latest svn versions of FPC and Lazarus. It seems the LCL-GTK1 widgetset is not releasing or freeing all used objects. This happens in any LCL-GTK1 based applications, so isn't specific to Lazarus IDE or Lazarus Data Desktop.
The error message when the application quits:
When running and then later exiting the Lazarus IDE.
--------------------------
graemeg@graemeg-laptop:/opt/lazarus_svn$ ./lazarus
TMainIDE.ParseCmdLineOptions:
PrimaryConfigPath="/home/graemeg/.lazarus"
SecondaryConfigPath="/etc/lazarus"
Gtk-WARNING **: gtk_signal_disconnect_by_data(): could not find handler containing data (0x8A6BE10)
LAZARUS END - cleaning up ...
[TMainIDE.Destroy] A
[TMainIDE.Destroy] B -> inherited Destroy... TMainIDE
[TMainIDE.Destroy] END
[TGtkWidgetSet.Destroy]
[TGtkWidgetSet.Destroy] GDIOs: B6F9A680 B6F9A9E0 B78795C0 B6F9A980 B6F9BDC0 B6F9C480 B6F9C4E0
[TGtkWidgetSet.Destroy] gdiBitmap: 12
--------------------------
When running and exiting a LCL-GTK1 based application. In this case Lazarus Data Desktop.
--------------------------
graemeg@graemeg-laptop:/opt/lazarus_svn/tools/lazdatadesktop$ ./lazdatadesktop
[TGtkWidgetSet.Destroy] WARNING: There are 2 unreleased GDIObjects, a
detailed dump follows:
[TGtkWidgetSet.Destroy] GDIOs: B78B1220 B78B12E0
[TGtkWidgetSet.Destroy] gdiBitmap: 2
--------------------------
I have not tested GTK2 in this matter.
Mantis conversion info:
- Mantis ID: 11651
- OS: Ubuntu Linux
- OS Build: 7.10
- Build: v0.9.25 r15545M i386-linux-gtk
- Platform: x86
- Version: 0.9.25 (SVN)
- Fixed in version: 0.9.25 (SVN)
- Monitored by: » luizamerico (Luiz Americo)
- Target version: 1.0.0
- LazTarget: 1.0