Comment 53 for bug 569273

Revision history for this message
Karl Lattimer (karl-qdh) wrote :

Notes from irc log;

(15:01:52) tedg: klattimer, Yeah, so ayan has a small GTK program that creates and destroys menus and causes a leak in GTK...
(15:03:37) tedg: I was talking to hughsie a while back and he was saying it depends on the battery firmware how often it updates.
(15:03:51) tedg: Which probably explains the variation of folks reporting things on the bug.
(15:06:12) tedg: I wonder if there's something of the wrong type so that hashtable isn't getting free'd.
(15:06:28) tedg: In theory dbus-glib should do that... but I don't have a huge amount of faith in it.
(15:06:52) tedg: klattimer, The last entry in the valgrind log. For properties_copy
(15:07:04) tedg: It allocated a hashtable which get's passed to dbus-glib.
(15:08:42) tedg: No, I think that serialze_menu item has a leak of that hashtable....
(15:08:47) tedg: Uhg.

So there are gtkmenu leaks, and libdbusmenu-glib leaks - best thing to do is fix libdbusmenu-glib and upstream the result of ayan's tests to a gtkmenu bug.