Bug 18361 - Calls methods on HazeConnections which are long gone.
Summary: Calls methods on HazeConnections which are long gone.
Status: RESOLVED FIXED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: haze (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Will Thompson
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-03 15:59 UTC by Will Thompson
Modified: 2009-04-04 03:39 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
backtrace (4.31 KB, text/plain)
2008-11-03 15:59 UTC, Will Thompson
Details

Description Will Thompson 2008-11-03 15:59:19 UTC
Created attachment 20025 [details]
backtrace

Sometimes connection errors seem to fire for PurpleAccounts that no longer correspond to a HazeConnection. In the attached backtrace, the HazeConnection in question is not actually the one we wanted; it was finalized ages ago.

It seems that this might be caused by a combination of:

 * purple_account_new secretly being purple_account_ensure
 * PurpleAccounts being destroyed in idle_disconnected_cb not in haze_connection_finalize
 * crack.

There was lots of

(haze:30884): tp-glib-DEBUG: tp_base_connection_manager_request_connection: failed: Error acquiring bus name org.freedesktop.Telepathy.Connection.haze.msn.vector2uk_40hotmail_2ecom: Connection manager already has a connection to this account

in the debug scrollback which suggests that accounts are disconnecting but not being finalized properly.
Comment 1 Will Thompson 2009-03-25 17:14:19 UTC
I think I know what's happening here, and I have a test case.
Comment 2 Will Thompson 2009-03-25 17:53:37 UTC
Fixed in a branch, awaiting review: http://git.collabora.co.uk/?p=user/wjt/telepathy-haze;a=shortlog;h=refs/heads/crash-on-reconnect
Comment 3 Will Thompson 2009-04-04 03:39:42 UTC
Fixed in 0.3.0.


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.