Bug 30399 - Improve reporting of broken CMs
Summary: Improve reporting of broken CMs
Status: RESOLVED MOVED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: tp-spec (show other bugs)
Version: git master
Hardware: Other All
: medium enhancement
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-27 08:30 UTC by David Laban
Modified: 2019-12-03 20:22 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description David Laban 2010-09-27 08:30:49 UTC
One of Telepathy's advantages is the ability to carry on/recover when one of the CMs dies and falls off the bus. Another potential failure mode for a CM is deadlocking. In this case, method calls will fail with a timeout, but most programs (read: Empathy) don't escalate these failures. Also, the CM falling off the bus isn't reported as such in empathy (should I report a bug for this there too?)


Proposal:

Extend Account.ConnectionStatusReason's enum (== Connection's Connection_Status_Reason enum) to include a value Local_Component_Failure

Define an equivalent error for putting in Account.ConnectionError

Have a method Account.Ping() which either succeeds, or [returns an error and] sets the above properties. This way, clients can call this method in response to all timeout failures, and the AccountManager will do the right thing. (or make the AccountManager prod the CMs periodically to check for lockups anyway)

Document that clients should probably not try to kill/restart locked up CMs without user confirmation, because this would make using gdb to debug CM problems impossible.
Comment 1 GitLab Migration User 2019-12-03 20:22:29 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-spec/issues/82.


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.