Bug 18151

Summary: tp_base_connection_dispose asserts if there are two connections to the same account
Product: Telepathy Reporter: Simon McVittie <smcv>
Component: tp-glibAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Simon McVittie 2008-10-21 05:14:09 UTC
PRECONDITIONS: 
Have a connected connection.

STEPS LEADING TO PROBLEM: 
1. Request for 2nd connection with same account data.
2. tp-glib fails to obtain object path for new connection.
3. tp-glib destroys new connection object

EXPECTED OUTCOME:
New connection object disappears.

ACTUAL OUTCOME:
CM crashes.

telepathy-foo[2683]: GLIB DEBUG tp-glib -
tp_base_connection_manager_request_connection: failed: Error acquiring bus name
org.freedesktop.Telepathy.Connection.foo.bar.baz: Connection manager already
has a connection to this account.
**
** tp-glib:ERROR:(base-connection.c:490):tp_base_connection_dispose: assertion
failed: (self->self_handle == 0)
Comment 1 Will Thompson 2008-11-21 05:44:50 UTC
Fixed in master by commit c44ce53a25f0 .

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.