Summary: | Possible ref count bug in mission-control wrt McdAccount | ||
---|---|---|---|
Product: | Telepathy | Reporter: | Giovanni Campagna <scampa.giovanni> |
Component: | mission-control | Assignee: | Telepathy bugs list <telepathy-bugs> |
Status: | RESOLVED MOVED | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Fix DBus paths not disappearing when the account is deleted |
Description
Giovanni Campagna
2012-07-01 16:33:38 UTC
(In reply to comment #0) > since I suppose dbus-glib removes the DBus object registration when the > associated GObject is finalized Yes, it does. In addition to fixing the ref leak, it would be good to not rely on this behaviour, by calling tp_dbus_daemon_unregister_object() when the account is meant to fall off D-Bus. Created attachment 64155 [details] [review] Fix DBus paths not disappearing when the account is deleted Due to a reference leak in McdAccountManager, McdAccounts were never unregistered from DBus, which caused a crash if a different account was later registered with the same path (for example after goa-daemon restarting). Fix the ref leak, and force disposal of deleted accounts. I had to revert this, as it caused problems all around the stack and ultimately made mission-control crash. It would be helpful if a Telepathy developer could look at this bug, and check if the ref leak was real or not. -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-mission-control/issues/61. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.