GNOME Bugzilla – Bug 629052
Memory leak in task_table_constructed()
Last modified: 2011-06-27 12:56:58 UTC
==31478== 10,970 (128 direct, 10,842 indirect) bytes in 2 blocks are definitely lost in loss record 42,689 of 43,070 ==31478== at 0x4A0515D: malloc (vg_replace_malloc.c:195) ==31478== by 0x3D3D645C80: g_malloc (gmem.c:134) ==31478== by 0x3D3D65C796: g_slice_alloc (gslice.c:836) ==31478== by 0x3D3D65CA45: g_slice_alloc0 (gslice.c:848) ==31478== by 0x3D3DE32EA3: g_type_create_instance (gtype.c:1867) ==31478== by 0x3D3DE108DB: g_object_constructor (gobject.c:1482) ==31478== by 0x3D3DE13910: g_object_newv (gobject.c:1266) ==31478== by 0x3D3DE1455B: g_object_new (gobject.c:1178) ==31478== by 0xEC683B3: task_table_constructed (e-task-table.c:423) ==31478== by 0x3D3DE1388F: g_object_newv (gobject.c:1375) ==31478== by 0x3D3DE14310: g_object_new_valist (gobject.c:1463) ==31478== by 0x3D3DE14540: g_object_new (gobject.c:1181)
Fixed for 2.31.92 in: http://git.gnome.org/browse/evolution/commit/?id=76d9c4e8810bdf3cb0c6625b7310505520dbc2a6
Reopening, this introduces, together with a patch from bug #629054 runtime warnings on console when starting in a calendar view: (evolution:2063): Gtk-WARNING **: A floating object was finalized. This means that someone called g_object_unref() on an object that had only a floating reference; the initial floating reference is not owned by anyone and must be removed with g_object_ref_sink(). Reverting these makes it happy.
*** Bug 629054 has been marked as a duplicate of this bug. ***
I fixed the run-time by changing ECell's base class from GtkObject to GObject, so ECells don't use floating references anymore. No idea if that fixed the memory leak though.
Let's David reopen, if not :)