Summary: | XmppConnection survives when the user goes offline, and Salut segfault | ||
---|---|---|---|
Product: | Telepathy | Reporter: | Alban Crequy <alban.crequy> |
Component: | salut | Assignee: | Sjoerd Simons <sjoerd> |
Status: | RESOLVED WONTFIX | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Alban Crequy
2008-08-15 09:05:51 UTC
This commit fixs the crash: bacc24df0a662a31c9b62bf0da194ec16a8caaa2 in my "tubes" branch. ------------ commit bacc24df0a662a31c9b62bf0da194ec16a8caaa2 Author: Alban Crequy <alban.crequy@collabora.co.uk> Date: Thu Sep 18 15:35:56 2008 +0100 SalutTubesManager: Do not reference objects twice in set_property ------------ When xmpp_connection_manager is released, all XmppConnection are disconnected. xmpp_connection_manager belongs to SalutConnection (it is unref in salut_connection_dispose). Channel managers (text channel manager and tube channel manager) keep a reference on it. When disconnecting the SalutConnection, all channels are closed (by tp_base_connection_close_all_channels) and all channel managers are unreferenced (by tp_base_connection_dispose). The bug was SalutTubesManager keeped 2 references on the xmpp_connection_manager, so the XmppConnection were not disconnected. I keep the bug open because we should check this is done correctly as stated in the bug report: "stop listening on the socket first to avoid new stream with other contacts, and close all xmpp connections". Comment #1 was mostly bs. Commit bacc24df is bad. XmppConnection is gone forever! |
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.