[Bug 32184] New: May accidentally release the bus names of active connections
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Dec 7 16:56:58 CET 2010
https://bugs.freedesktop.org/show_bug.cgi?id=32184
Summary: May accidentally release the bus names of active
connections
Product: Telepathy
Version: git master
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: tp-glib
AssignedTo: telepathy-bugs at lists.freedesktop.org
ReportedBy: will.thompson at collabora.co.uk
QAContact: telepathy-bugs at lists.freedesktop.org
With the fix for bug 10613, there's now an exciting bug whereby telepathy-glib
may release the bus name for an active connection. I have a Gabble currently
running with four open connections but only one corresponding bus name.
Here's what I think happened:
• I undocked my laptop. This got rid of the wired connection, but MC doesn't
notice so the connections stayed open.
• I switched to Offline in Empathy. This made MC call Disconnect() on Gabble.
THe connection released its bus name (because tp-glib does this in
change_status(Disconnected)), but stayed alive waiting for some callbacks.
• I switched back to Online. A new connection was made; it claimed the same bus
name.
• Finally the callbacks fired, and thus the old connection was unreffed and
could be disposed. In _dispose(), TpBaseConnection drops its bus name again.
Patch to follow.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list