Bug 18151 - tp_base_connection_dispose asserts if there are two connections to the same account
Summary: tp_base_connection_dispose asserts if there are two connections to the same a...
Status: RESOLVED FIXED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: tp-glib (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-21 05:14 UTC by Simon McVittie
Modified: 2008-11-21 05:44 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.