After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 645966 - gtk-demo leaks a GtkSizeGroup
gtk-demo leaks a GtkSizeGroup
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
2.18.x
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2011-03-28 16:05 UTC by Morten Welinder
Modified: 2014-07-20 06:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Leak tool for objects (9.09 KB, text/plain)
2011-03-28 16:05 UTC, Morten Welinder
Details

Description Morten Welinder 2011-03-28 16:05:25 UTC
Created attachment 184473 [details]
Leak tool for objects

The size group demo in gtk-demo leaks a GtkSizeGroup.

That's not important by itself, but I am seeing a GtkSizeGroup in Gnumeric
that I am hard pressed at explaining given that the code in question does
not explicitly do anything with size groups.

Note: "leak" here means that the object is allocated, but never finalized.
At exit it has ref_count==1 and has no widgets in its list.

I will attach a tool that helps in debugging this kind of thing.
Run it as...

    LD_PRELOAD=.../gobject-list/libgobject-list.so  gtk-demo

Double-click on "Size Groups" and close both windows.